Python version 2.6 required, which was not found in the registry

前端 未结 9 2028
暖寄归人
暖寄归人 2020-12-01 04:24

Can\'t download any python Windows modules and install. I wanted to experiment with scrapy framework and stackless but unable to install due to error \"Python version 2.6 re

9条回答
  •  一个人的身影
    2020-12-01 04:40

    For me this happens on a 32 bit system with activepython installed. It seams that the regs are not in HKEY_CURRENT_USER so here is what I do to fix that.

    1. Export the "Python" section under HKEY_LOCAL_MACHINE -> Software
    2. Open the export in notepad notepad. Replace "LOCAL_MACHINE" with "CURRENT_USER"
    3. Since I have 2.7 installed I also had to replace "2.7" with "2.6" (make sure that you do not affect the path which points to the installation of python).
    4. Over write the reg backup and run it.

    Now if you run the installation of whatever package you needed it will find python. This helped in my case but be aware that it might not work for you.

提交回复
热议问题