简体   繁体   中英

Matplotlib will not import even though it is installed. Using visual studio code

Here is a picture of my terminal.

I cannot figure out what is going on, I've spent hours trying to make this import work. Please help

Aside from the obvious of uninstalling and reinstalling matplotlib, I would recommend clicking the bottom left corner of VSCode and make sure it is pointed at your virtual environment. Even though in your terminal you are in a venv, it looks as if VSCode may not be.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM