on a Mac, I have pip3'd installed a few libraries in python. When I try to 'import', for example, seaborn, I receive a "module not found error." How can connect to the proper path? What is the "PATH" referred to in screenshot?
the issues appears to be synching library with proper path. Already installed libraries, but they will NOT import under python import command, says the following
PATH
is the environment variable on your system where all programs and scripts are located, which can be directly executed from the terminal/cmd/shell.
If you had a program called myProgram.exe
in C:\\Users\\Me\\Desktop\\
, you could add C:\\Users\\Me\\Desktop\\
to the PATH
variable and execute the program using
myProgram
in the terminal. Otherwise, you would have to include the path like:
C:\Users\Me\Desktop\myProgram.exe
You can edit this variable like described with nice pictures here
To execute python and pip from the console, you should have C:\\Users\\...\\AppData\\Local\\Programs\\Python\\Python37
(or wherever you installed Python to) in your path variable :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.