关于python安装环境的几个问题,mark一下

1.windows7 64位+Python32位:会发现在pip install时,答复没有可用的版本

解决方案:删除后重装64位python


2.   "Missing required dependencies{0}".format(missing_dependencies))

ImportError: Missingrequired dependencies ['numpy']

一开始搜索stackoverflow告诉我是账户权限问题,删了装,装了删,始终解决不了。

最后这个网页上的一段话告诉了我原因http://www.lfd.uci.edu/~gohlke/pythonlibs/

Many binaries depend on numpy-1.11+mkl and the Microsoft Visual C++ 2008 (x64x86, and SP1 for CPython 2.7), Visual C++ 2010 (x64x86, for CPython 3.4), or the Visual C++ 2015 (x64 and x86 for CPython 3.5 and 3.6) redistributable packages.

Install numpy+mkl before other packages that depend on it.


所以,必须安装numpy+mkl,而不能是简单的numpy.

安装后完美解决。


3.python2/3的问题

之前电脑上同时安装了python2/3,为了使用ipython notebook,调整了N次环境始终无法正确启动。

最终无奈删除python3,只保留python2.

ipython notebook启动成功。



  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值