Migrating Python Setuptools

I get an error when trying to use Pyinstaller. After some research, I believe that the error was caused by an error in the latest version of setuptools (19.3). It seems that the fix comes down to installing setuptools version 19.2. My problem is with the demotion itself. My question is, how is one downgrade setuptools in Ubuntu 15.04?

+6
source share
1 answer

Just specify the version using pip :

 pip install setuptools==19.2 

If you are installing globally, you will obviously need sudo.

 ~$ sudo pip install setuptools==19.2 Collecting setuptools==19.2 Downloading setuptools-19.2-py2.py3-none-any.whl (463kB) 100% |████████████████████████████████| 466kB 486kB/s Installing collected packages: setuptools Found existing installation: setuptools 19.1 Uninstalling setuptools-19.1: Successfully uninstalled setuptools-19.1 Successfully installed setuptools-19.2 ~$ sudo pip install setuptools==19.1 Collecting setuptools==19.1 Downloading setuptools-19.1-py2.py3-none-any.whl (463kB) 100% |████████████████████████████████| 466kB 377kB/s Installing collected packages: setuptools Found existing installation: setuptools 19.2 Uninstalling setuptools-19.2: Successfully uninstalled setuptools-19.2 Successfully installed setuptools-19.1 
+6
source

All Articles