Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 101.
Hello everyone.
I hva installed Pycharm 2020.1.1 and python 3.8.3 (also 3.6.3 version is installed on my pc)
I try to set project interpreter with 3.8.3 but it gives error
Error: Command '['C:\\Users\\...\\Documents\\Pyhton\\Python38\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 101.
I alos try this from command prompt;
python packaging_tool.py pyvenv C:\Users\....\Documents\Pyhton\Python38
it says the same thing;
Error: Command '['C:\\Users\\....\Documents\\Pyhton\\Python38\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 101.
PS C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\plugins\python-ce\helpers>
if I try with 3.6.3 version, it works,
any idea.
thanks
Please sign in to leave a comment.
Hi, I guess there is an issue with the interpreter. Does it have pip module installed? Try `python -m pip list`. If not, I suggest trying to install it manually (https://pip.pypa.io/en/stable/installing/), or try another interpreter, e.g. Anaconda.
Reinstall python with "install for all users" option.
https://stackoverflow.com/a/62207756