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

How to install stem via python pip




stem - Stem is a Python controller library that allows applications to interact with Tor (https://www.torproject.org/)., it belongs to Classifiers:

- License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
- Topic :: Security

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



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_stem_env

- Active the virtual environment

test_stem_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_stem_env

- Active the virtual environment

source test_stem_env/bin/active


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

To install stem on Windows(CMD):

py -m pip install stem

To install stem on Unix/macOs:

pip install stem


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

Example:

pip install stem==0.1


Please see the version list below table:

VersionReleased dateCommand
stem 1.8.02019-12-29T23:20:53Windows:

py -m pip install stem==1.8.0

Unix/macOs:

pip install stem==1.8.0

stem 1.7.12018-12-26T23:01:13Windows:

py -m pip install stem==1.7.1

Unix/macOs:

pip install stem==1.7.1

stem 1.7.02018-10-07T23:19:38Windows:

py -m pip install stem==1.7.0

Unix/macOs:

pip install stem==1.7.0

stem 1.6.02017-11-05T20:52:47Windows:

py -m pip install stem==1.6.0

Unix/macOs:

pip install stem==1.6.0

stem 1.5.42017-01-03T18:20:14Windows:

py -m pip install stem==1.5.4

Unix/macOs:

pip install stem==1.5.4

stem 1.5.32016-12-06T03:35:36Windows:

py -m pip install stem==1.5.3

Unix/macOs:

pip install stem==1.5.3

stem 1.5.22016-11-20T19:54:50Windows:

py -m pip install stem==1.5.2

Unix/macOs:

pip install stem==1.5.2

stem 1.4.12015-05-18T19:17:43Windows:

py -m pip install stem==1.4.1

Unix/macOs:

pip install stem==1.4.1

stem 1.4.02015-05-13T15:52:29Windows:

py -m pip install stem==1.4.0

Unix/macOs:

pip install stem==1.4.0

stem 1.3.02014-12-22T00:38:45Windows:

py -m pip install stem==1.3.0

Unix/macOs:

pip install stem==1.3.0

stem 1.2.22014-06-07T18:39:12Windows:

py -m pip install stem==1.2.2

Unix/macOs:

pip install stem==1.2.2

stem 1.2.12014-06-03T15:21:42Windows:

py -m pip install stem==1.2.1

Unix/macOs:

pip install stem==1.2.1

stem 1.2.02014-06-01T20:00:45Windows:

py -m pip install stem==1.2.0

Unix/macOs:

pip install stem==1.2.0

stem 1.1.12013-11-09T19:55:32Windows:

py -m pip install stem==1.1.1

Unix/macOs:

pip install stem==1.1.1

stem 1.1.02013-10-14T01:27:32Windows:

py -m pip install stem==1.1.0

Unix/macOs:

pip install stem==1.1.0

stem 1.0.12013-03-30T21:29:29Windows:

py -m pip install stem==1.0.1

Unix/macOs:

pip install stem==1.0.1

stem 0.12012-12-31T18:53:27Windows:

py -m pip install stem==0.1

Unix/macOs:

pip install stem==0.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_stem_downloaded_file>

On Unix/macOs:

pip install <path_to_stem_downloaded_file>


List distribution:


Project link:

- Homepage