Home > other >  On a chart in python can't use the matplotlib problem
On a chart in python can't use the matplotlib problem

Time:11-20

Want to ask the bosses, I already through PIP install matplotlib orders well matplotlib and numpy library and have prompt success and also exists in the list, but in the run the program, he could not find module fault, restart is invalid, what could be the cause

CodePudding user response:

A virtual environment, running environment and install matplotlib environment is not the same

CodePudding user response:

reference 1st floor tianfang response:
virtual environment, the environment is not the same of the running environment and install matplotlib

Can you specific

CodePudding user response:

refer to the second floor m0_49118561 response:
Quote: refer to 1st floor tianfang response:
virtual environment, the environment is not the same of the running environment and install matplotlib

Can be some specific


How do you run programs? In which environment

CodePudding user response:

reference tianfang reply: 3/f
Quote: refer to the second floor m0_49118561 response:
Quote: refer to 1st floor tianfang response:
virtual environment, the environment is not the same of the running environment and install matplotlib

Can be some specific


How do you run programs? In which environment

The best way to how to deal with the detailed steps

CodePudding user response:

Virtual environment

https://docs.python.org/zh-cn/3/tutorial/venv.html

https://zhuanlan.zhihu.com/p/60647332

CodePudding user response:

Please refer to the
Python beginners small white common errors and problems

The:
Describe the factors clearly, Python beginners small white common errors and problems
Go to
Learn to map and post code - CSDN, BBS BBS Python beginner, small white common errors and problems
That is:
Post code (formatted)
Post screenshots

Others to help you
  • Related