0
Question related to PIP
When I use the “pip install *” command, my MacBook automatically locates to the Anaconda folder instead of the original independent python folder, so I cannot install a module for IDLE. For example, when I type “pip install numpy,” the result was “Requirement already satisfied;” However, I can import numpy only in Jupyter Notebook but not in IDLE. Meanwhile, I’m new to MacOS, which means I don’t know where is and how to locate the correct folder. Please help. Thanks.
3 odpowiedzi
0
Check configured environment variables perhaps? For IdLE as well as your shell. Maybe pip install --user numpy might work? Just some things to try. I do not know MacOS at all except that it is similar to BSD.
0
ρү૨œdԌ૨ × Thanks, but it doesn’t work. And I don’t know how to check configured environment variables in MacOS.
0
Well at this point I would check stackoverflow or google how to set python env variables macos. I've learned the first thing in debugging, lol, is to use a search engine. Hope that helps mate.