How to add Python to Windows registry

前端 未结 6 975
一个人的身影
一个人的身影 2020-12-01 09:21

I\'ve downloaded Enthought Canopy EPD Free (now Canopy Express) from https://www.enthought.com/products/epd/free/ and want to install SciKit Learn (http://sourceforge.net/pr

6条回答
  •  爱一瞬间的悲伤
    2020-12-01 10:01

    I faced to the same problem. I solved it by

    1. navigate to HKEY_CURRENT_USER\Software\Python\PythonCore\3.4\InstallPath and edit the default key with the output of C:\> where python.exe command.
    2. navigate to HKEY_CURRENT_USER\Software\Python\PythonCore\3.4\InstallPath\InstallGroup and edit the default key with Python 3.4

    Note: My python version is 3.4 and you need to replace 3.4 with your python version.

    Normally you can find Registry entries for Python in HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\. You just need to copy those entries to HKEY_CURRENT_USER\Software\Python\PythonCore\

提交回复
热议问题