No Python at 'C:UsersPCAppDataLocalMicrosoftWindowsAppsPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0python.exe'

Question:

i install pycharm and try to run

 pip3 install python-binance

it show error

No Python at 'C:UsersPCAppDataLocalMicrosoftWindowsAppsPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0python.exe'

how can fix that ,
i have pip in

C:UsersPCAppDataLocalProgramsPythonPython310Scripts

i uninstalled previous python version and pycharm .
and reinstall now anf this error happen
how can fix

Asked By: user18003087

||

Answers:

your python is installed in this directory C:UsersPCAppDataLocalProgramsPythonPython310.Add this directory to your PATH environment variable.Refer this link https://www.pythonpool.com/default-python-path/#:~:text=How%20to%20set%20up%20a%20default%20python%20path,python%20path%20Press%20on%20the%20start%20menu.%20

Alternatively you can set PATH from command line using setx PATH "C:UsersPCAppDataLocalProgramsPythonPython310;%PATH%" from windows cmd. This will set the python path permanently.Restart your CMD after that.Then you can call python and pip directly from command line

Answered By: Kiran S

solved, delete old pycharm project folder where had venv , and create new project folder from pycharm .

Answered By: user18003087

I just deleted all of the python stuff from the venv/Scripts and then when i ran it, it reinstalled and fixed it

Answered By: firewry
Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.