简体   繁体   中英

PyCharm 2018.3.2 cannot import numpy

I use

Anaconda3-5.3.1-Windows-x86_64

pycharm-professional-2018.3.2

When I run a python code, I get:

"Missing required dependencies {0}".format(missing_dependencies))
ImportError: Missing required dependencies ['numpy']

Could I ask you guys that what is the problem? How to solve it? Thank you very much.

" It is a bug being fixed for PyCharm 2018 " On Windows 10, Pycharm 2018.xx versions, give this dependency error. Some people have reported this error when using pyCharm on Window 7 too.

Here is hack around to resolve this temporarily, until new release fixes this bug.

Solution

  1. Download this EAP from the below website ie PyCharm 2019.1 or higher: https://www.jetbrains.com/pycharm/whatsnew/
  2. Additionally, if your are using Python 3.7, revert back to Python 3.6 so that it works.

Scrrenshot: : Steps showing PyCharm python version control

References:

  1. https://blog.jetbrains.com/pycharm/2019/02/pycharm-2019-1-eap-3/
  2. https://github.com/uber/ludwig/issues/108

Cheers CH

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