Home > Enterprise >  Can't install python libraries, common solutions aren't working
Can't install python libraries, common solutions aren't working

Time:10-28

I know this is a common problem and I've tried the solutions, but I'm stuck.

I want to install gazpacho, I do pip3 install <library-name> which works, but in my IDE I still get the No module named 'gazpacho' error. This happens with any library, not just gazpacho.

I've tried python -m pip3 install <library-name> but I get the error command not found: python? I'm guessing it has something to do with pip3 installing to a different place from where Python is looking? How should I solve this? I'm new to using command prompt.

I'm using iOS 12.6, M1 chip, PyCharm IDE (free version).

CodePudding user response:

In PyCharm there is a terminal(cmd) too. Just install it using a built-in terminal. Because in PyCharm with default settings every project has a virtual environment.

  • Related