data_scientologist
data_scientologist

Reputation: 3

Can't install python libraries, common solutions aren't working

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).

Upvotes: 0

Views: 143

Answers (1)

Andrei Vechar
Andrei Vechar

Reputation: 50

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.

Upvotes: 1

Related Questions