Skip to content Skip to sidebar Skip to footer

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:

  1. Go to your conda terminal, activate the virtual environment.
  2. pip install <your package name>.
  3. Now go to your editor where you're running this code. (like pycharm or Sublime)
  4. 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"