Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install ton via python pip




ton - Python client for The Open Network, it belongs to Classifiers:

- License :: OSI Approved :: MIT License
- Operating System :: OS Independent

When you know about this project and you want to new install ton to support your project or you get trouble as ModuleNotFoundError: No module named "ton" or ImportError: cannot import name "ton" in your project, let follow this tutorial to install ton



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_ton_env

- Active the virtual environment

test_ton_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_ton_env

- Active the virtual environment

source test_ton_env/bin/active


Step 2: OK, now, let flow below content to start the installation ton

To install ton on Windows(CMD):

py -m pip install ton

To install ton on Unix/macOs:

pip install ton


Step 3: If you want to install a specific ton version, add ==<ton version> to the end command line

Example:

pip install ton==0.1                                                                          yanked


Please see the version list below table:

VersionReleased dateCommand
ton 0.222022-08-13T14:58:15Windows:

py -m pip install ton==0.22

Unix/macOs:

pip install ton==0.22

ton 0.212022-08-05T13:03:30Windows:

py -m pip install ton==0.21

Unix/macOs:

pip install ton==0.21

ton 0.202022-08-05T12:35:36Windows:

py -m pip install ton==0.20

Unix/macOs:

pip install ton==0.20

ton 0.192022-06-23T17:58:25Windows:

py -m pip install ton==0.19

Unix/macOs:

pip install ton==0.19

ton 0.182022-06-23T16:52:16Windows:

py -m pip install ton==0.18

Unix/macOs:

pip install ton==0.18

ton 0.162022-05-28T10:56:05Windows:

py -m pip install ton==0.16

Unix/macOs:

pip install ton==0.16

ton 0.152022-05-25T12:06:33Windows:

py -m pip install ton==0.15

Unix/macOs:

pip install ton==0.15

ton 0.142022-05-11T09:36:37Windows:

py -m pip install ton==0.14

Unix/macOs:

pip install ton==0.14

ton 0.132022-03-30T18:02:52Windows:

py -m pip install ton==0.13

Unix/macOs:

pip install ton==0.13

ton 0.122022-03-30T17:38:58Windows:

py -m pip install ton==0.12

Unix/macOs:

pip install ton==0.12

ton 0.112022-03-06T14:10:47Windows:

py -m pip install ton==0.11

Unix/macOs:

pip install ton==0.11

ton 0.102022-02-25T23:15:40Windows:

py -m pip install ton==0.10

Unix/macOs:

pip install ton==0.10

ton 0.92022-02-21T09:52:50Windows:

py -m pip install ton==0.9

Unix/macOs:

pip install ton==0.9

ton 0.82022-02-21T02:15:21Windows:

py -m pip install ton==0.8

Unix/macOs:

pip install ton==0.8

ton 0.7 yanked2022-02-21T02:03:39Windows:

py -m pip install ton==0.7                                                                          yanked

Unix/macOs:

pip install ton==0.7                                                                          yanked

ton 0.6 yanked2022-02-21T00:02:32Windows:

py -m pip install ton==0.6                                                                          yanked

Unix/macOs:

pip install ton==0.6                                                                          yanked

ton 0.5 yanked2022-02-20T23:45:33Windows:

py -m pip install ton==0.5                                                                          yanked

Unix/macOs:

pip install ton==0.5                                                                          yanked

ton 0.4 yanked2022-02-20T21:01:05Windows:

py -m pip install ton==0.4                                                                          yanked

Unix/macOs:

pip install ton==0.4                                                                          yanked

ton 0.3 yanked2022-02-20T20:56:55Windows:

py -m pip install ton==0.3                                                                          yanked

Unix/macOs:

pip install ton==0.3                                                                          yanked

ton 0.1 yanked2022-01-25T23:50:56Windows:

py -m pip install ton==0.1                                                                          yanked

Unix/macOs:

pip install ton==0.1                                                                          yanked


Step 4: Otherwise, you can install ton from local archives:

Download the distribution file from ton-0.22.tar.gz or the specific ton version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_ton_downloaded_file>

On Unix/macOs:

pip install <path_to_ton_downloaded_file>


List distribution:


Project link:

- Homepage