I install to my home/test/python3.5.0
I install Pycharm via sudo apt-get-repository ppa:mystic-mirage/pycharm
I want to use specific interpreter inside test/python3.5.0's pyhton.exe but give me error like this.
Firstly,
Python packaging tools not found. Install packaging tools.
Then I press it,
Failed to install Python packaging tool
Execute command
/usr/lib/pycharm-community/helpers/packaging_tool.py untar
/usr/lib/pycharm-community/helpers/setuptools-18.1.tar.gz
Error occured
tarfile.ReadError: file could not be opened successfully
How can I solve this problem ?
Create your virtualenv
Go to "Add new interpreter" -> "Add local interpreter" -> "Create new".
The "base python" is the python.exe of your virtual environment, and the "Location" must be a non-existing new folder to where the virtual environment is installed or something. Nobody knows how pycharm works.
Also you might have to repeat these steps every two weeks or so, because when you do not work with pycharm it forgets the interpreter settings. Happend to me the second time already.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With