PIP Install Packages But Some Not Found
Some pip installs don't work on a computer, since recently I changed to Python 3. for example, pywinauto I used CMD: C:\Users\NAME\AppData\Local\Programs\Python\Python37-32\Scripts
Solution 1:
- Go to your conda terminal, activate the virtual environment.
- pip install <your package name>.
- Now go to your editor where you're running this code. (like pycharm or Sublime)
- select your python interpreter as venv (Anaconda). Usually this option is available in project setting. Run your code, it should work now.
Solution 2:
Seems the problem relates to Anaconda.
Problem solved by run CMD:
C:\Users\NAME\AppData\Local\Programs\Python\Python37-32\Scripts>pip instsall pywinauto
Then manually moved the 2 folders "pywinauto" and "pywinauto-0.6.8.dist-info" from:
C:\Users\NAME\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\
To:
C:\Users\NAME\AppData\Local\Continuum\anaconda3
The package functions normally.
Post a Comment for "PIP Install Packages But Some Not Found"