以前没用过pycharm,现在正在下载,有点慢。
刚才用vscode把解释器路径调到C:\ProgramData\Anaconda3\Python.exe报了以下错误
Exception has occurred: ImportError
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy c-extensions failed.
- Try uninstalling and reinstalling numpy.
- If you have already done that, then:
1. Check that you expected to use Python3.7 from "C:\ProgramData\Anaconda3\python.exe",
and that you have no directories in your PATH or PYTHONPATH that can
interfere with the Python and numpy version "1.18.1" you're trying to use.
2. If (1) looks fine, you can open a new issue at
https://github.com/numpy/numpy/issues. Please include details on:
- how you installed Python
- how you installed numpy
- your operating system
- whether or not you have multiple versions of Python installed
- if you built from source, your compiler versions and ideally a build log
- If you're working with a numpy git repository, try `git clean -xdf`
(removes all files not under version control) and rebuild numpy.
Note: this error has many possible causes, so please don't comment on
an existing issue about this - open a new one instead.
Original error was: DLL load failed: 找不到指定的模块。
File "C:\Users\Administrator\Desktop\新建文本文档.py", line 1, in <module>
import numpy as np
看到一些文件的名字是Python37 应该是3.7版本 ,numpy在路径C:\ProgramData\Anaconda3\Lib\site-packages里也有 |