Earlier I had installed Python 3.5 using chocolatey but when I found that libraries that I need to make use only is allowed only for Python version 2 - I uninstalled Python 3.5 and then install Python 2.7.3 from Control Panel.
I ensured that I set the PATH variable correctly for Python -
PATH=....;C:\Python27
but still when I invoke python from prompt I get the below error :
C:\>python
Cannot find file at '..\\lib\python3\tools\python.exe'
(C:\ProgramData\chocolatey\lib\python3\tools\python.exe). This usually
indicates a missing or moved file.
How do I set the chocolatey package manager issue resolved?
I had the same issue after I had run chocolatey uninstall python
and uninstalled in other python versions in control panel. I was able to resolve it by removing the python.exe and pythonw.exe from the chocolatey bin directory (C:\ProgramData\Chocolatey\bin).
del C:\ProgramData\Chocolatey\bin\pytho*.exe
Hope this helps!
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