SoFunction
Updated on 2024-11-16

Solve the problem that Pycharm package has been downloaded, but the runtime code prompts that the module cannot be found.

Problems arise:

pycharm→settings→Project interpreter→download matplotlib package

Run the code, the following message appears: Cannot find 'matplotlib' module ModuleNotFoundError: No module named 'matplotlib'

Check the path:

No errors ......

Let's try the following steps:

In the upper right corner, click Edit Configuration.

Find that the Python interpreter path is not the current python file, click Set to default path

Problem solving.

Above this solution Pycharm package has been downloaded, but run the code prompted to find the module is not the problem of all the content that I have shared with you, I hope to be able to give you a reference, and I hope that you support me more.