简体   繁体   中英

Matplotlib not installing in PyCharm with no error

Image of the console

I'm setting up my virtual environment and need the Matplotlib library. But when i try installing it using pip install matplotlib(or through the PyCharm IDE or by downloading the latest matplotlib.whl file) it says 'processing matplotlib.....' and exits the installation. I have been struggling with it since few months. And even tried with different laptops. Same problem.

PyCharm 2019.1.3 (Community Edition) Build #PC-191.7479.30, built on May 29, 2019 Windows 10 10.0

Python 3.7

Thanks.

在PyCharm上安装matplotlib或者其他lib可以到这个路径,首先到这个路径file->settings->project interpreter-> find matplotlib然后选择project interpreter和安装包成功。

You may try the following steps:

  1. Restore to default settings (optional)

    To restore the PyCharm default settings, you can remove the configuration directory idea.config.path when the IDE is not running. The directory is located in: SYSTEM DRIVE\\Users\\USER ACCOUNT NAME\\.PRODUCT VERSION

  2. Then run this command in command prompt

    C:\\Windows\\System32>pip install matplotlib

    (considering default directory) I think this will install matplotlib SUCCESSFULLY!

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