Pass the path of the imported python module

How to solve when the imported python module cannot be installed

--Memorandum. I don't know what it is, but I could do it in various ways, so how to do it

  1. Open user / .bash_profile with vscode
  2. Add the following to the end of the file --The path came out in the terminal with ``` pip3 show ` ``
export PYTHONPATH="/usr/local/lib/python3.7/site-packages"
  1. Do the following in the terminal
source ~/.bash_profile

Recommended Posts

Pass the path of the imported python module
Check the path of the Python imported module
(Note) How to pass the path of your own module
the zen of Python
[Python] A rough understanding of the logging module
Try using the collections module (ChainMap) of python3
Towards the retirement of Python2
[Python] Get the official file path of the shortcut file (.lnk)
About the Python module venv
Automatic update of Python module
[python] Get the list of classes defined in the module
About the ease of Python
Let's use the Python version of the Confluence API module.
How to access the global variable of the imported module
About the features of Python
The Power of Pandas: Python
Make the display of Python module exceptions easier to understand
View using the python module of Nifty Cloud mobile backend
Hook to the first import of the module and print the module path
What is the default TLS version of the python requests module?
2015-11-26 python> Display the function list of the module> import math> dir (math)
Test the version of the argparse module
The story of Python and the story of NaN
[Python] The stumbling block of import
First Python 3 ~ The beginning of repetition ~
Get the desktop path in Python
Existence from the viewpoint of Python
pyenv-change the python version of virtualenv
Get the script path in Python
Change the Python version of Homebrew
[Python] Understanding the potential_field_planning of Python Robotics
Review of the basics of Python (FizzBuzz)
Get the desktop path in Python
Try using the Python Cmd module
About the basics list of Python basics
Master the weakref module in Python
Learn the basics of Python ① Beginners
The story of making a module that skips mail with python
Create a compatibility judgment program with the random module of python.
Change the length of Python csv strings
Check the behavior of destructor in Python
[Python3] Understand the basics of Beautiful Soup
Comparison of Japanese conversion module in Python3
The story of making Python an exe
Learning notes from the beginning of Python 1
Check the existence of the file with python
About the virtual environment of python version 3.7
Make a relation diagram of Python module
[Python] Understand the content of error messages
[Python3] Rewrite the code object of the function
I didn't know the basics of Python
The result of installing python in Anaconda
[Python] Try pydash of the Python version of lodash
[python] Checking the memory consumption of variables
[Python] Import the module one level higher
The story of manipulating python global variables
[python] [meta] Is the type of python a type?
The basics of running NoxPlayer in Python
Pandas of the beginner, by the beginner, for the beginner [Python]
The Python project template I think of.
In search of the fastest FizzBuzz in Python