如何在Python3.5虚拟环境中安装scipy Windows 10? [英] How to install scipy in Python3.5 virtual env | windows 10?
问题描述
我的Windows 10中有Anaconda(Python 3.6).这包括Scipy.我也在使用虚拟Python 3.5 env支持TensorFlow.现在的问题是,当我在此虚拟环境中时,无法导入Scipy.
I have Anaconda (Python 3.6) in my Windows 10. This includes Scipy. I am also using a virtual Python 3.5 env to support TensorFlow. Now, the problem is that I cannot import Scipy while I'm inside this virtual env.
我尝试过: pip install scipy(无效) 易于安装的scipy(无效) 我还访问了 http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy 寻找要安装的合适软件包,但我不知道该下载哪个numpy + mkl和scipy组合.
I have tried: pip install scipy (didn't work) easy-install scipy (didn't work) I also visited http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy to look for suitable package to install but I could not figure out which numpy+mkl and scipy combination to download.
我将非常感谢您的帮助.我知道在这个问题上已经存在类似的问题.但是我在任何地方都找不到解决我问题的答案.
I'll be grateful for help. I know that there already exist similar questions on this issue. But I could not find answer to my problem anywhere.
推荐答案
一旦进入TensorFlow虚拟环境,请尝试
Once you're inside your virtual environment for TensorFlow, try
conda install -c anaconda scipy=0.19.0
这篇关于如何在Python3.5虚拟环境中安装scipy Windows 10?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!