2

I was trying to install cx_Freeze module and it gives me the could not locate network location error along with a non existent path name(supposedly pointing to python? but it wasnt). Then I tried installing another module py2exe, this time the installer was a bit more user friendly and informed that I got two mentions of Python in my registry. One pointing to the correct Python directory, the other pointing to the same wrong one.

My question is how or is it possible to delete the wrong mention of Python from my registry or another way around it? I wanted to install cx_Freeze. Thanks

4

1 回答 1

3

我刚刚解决了它,但不确定这是否是正确的方法。这就是我所做的,

在 cmd 框中,键入regedit,然后单击“确定”,您将拥有注册表编辑器。右键单击键名 HKEY_LOCAL_MACHINE并搜索一直显示的错误路径名。几秒钟后,它会将您带到注册表中该路径的位置。我确实看到两次提到 Python。不难找出错误的路径(不正确的路径)并删除它而没有任何副作用。

在此之后,我立即能够完美地安装这些模块。

于 2013-10-08T10:54:54.913 回答