简体   繁体   中英

Anaconda installed but Python in Visual Studio does not recognize Numpy

我在 Windows 7 上安装了 Anacoda 和 Visual Studio,如下所述: https ://docs.continuum.io/anaconda/ide_integration#python-tools-for-visual-studio-ptvs 但我的 Visual Studio 无法识别 Numpy 和其他一些模块...我该怎么办?

Did you check the list of available python packages from the solutions explorer? If already inside a project, you can right-click on the Python2.7(global environment) and try 'install package' and enter 'numpy' and install from 'pip' or 'conda'. (See ImageLink at the end of this paragraph). This should install numpy. ImageLink

You have to add to this PATH in the enviroment variables:

yourAnacondaPath/Library/bin

it worked for me.

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