一半君的总结纸

听话只听一半君

安装某些precompiled python package的时候找不到python安装路径怎么办(x64)?

pylzma 死活自己pip install 不了,见这里

只好搜了个precompiled binary版本安装,结果安装时提示如下(无法继续)
python64

搜索后得知解决方案

  1. 导出registry branch HKEY_LOCAL_MACHINE\SOFTWARE\Python
  2. 搜索替换\SOFTWARE\为\SOFTWARE\Wow6432Node\ 也就是说最后都换成了这样 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python
  3. 导入.reg文件 这次就好了

其实用 .msi installer装python就不会这样了吧大概,没试验

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: