fuzzylogician / gmpy

Automatically exported from code.google.com/p/gmpy
GNU Lesser General Public License v3.0
0 stars 0 forks source link

gmpy windows installer does not recognize enthought python distribution #71

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Tried to install gmpy-1.15.win-amd64-py2.7.exe on Windows 7

After the .exe file is launched I get a screen that says that there are no 
python installations on my system according to the registry.

I have the Enthought Python Distribution v 7.3.2 installed.

I cannot proceed beyond this screen.

Original issue reported on code.google.com by G.G.S...@gmail.com on 14 Apr 2013 at 3:48

GoogleCodeExporter commented 8 years ago
Please try a 32-bit version of gmpy (or gmpy2). IIRC, the Enthought Python 
Distribution uses a 32-bit version of Python.

This is also covered in the documentation for gmpy2.

https://gmpy2.readthedocs.org/en/latest/intro.html#installing-gmpy2-on-windows

Original comment by casevh on 14 Apr 2013 at 5:49

GoogleCodeExporter commented 8 years ago
I manually edited the registry.  The installer now recognizes my python 
installation.

Both amd64 and win32 versions of the installer fail.  I'll provide additional 
information if you someone can tell me how to collect it.

Original comment by G.G.S...@gmail.com on 14 Apr 2013 at 6:32

GoogleCodeExporter commented 8 years ago
It sounds like Enthought installs their version of Python differently than the 
python.org provided version.

What registry key did you need to edit and what were the before/after values?

Original comment by casevh on 14 Apr 2013 at 6:39

GoogleCodeExporter commented 8 years ago
OK, I got gmpy2-2.0.0.win-amd64-py2.7.exe to correctly install.  Here is the 
windows reg file I created to provide the proper registry entries:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Python]

[HKEY_CURRENT_USER\Software\Python\Pythoncore]

[HKEY_CURRENT_USER\Software\Python\Pythoncore\2.7]

[HKEY_CURRENT_USER\Software\Python\Pythoncore\2.7\InstallPath]
@="C:\\Users\\nom\\AppData\\Local\\Enthought\\Canopy\\User"

[HKEY_CURRENT_USER\Software\Python\Pythoncore\2.7\PythonPath]
@="C:\\Users\\nom\\AppData\\Local\\Enthought\\Canopy\\User;C:\\Users\\nom\\AppDa
ta\\Local\\Enthought\\Canopy\\User\\Scripts;C:\\Users\\nom\\AppData\\Local\\Enth
ought\\Canopy\\User\\Lib;C:\\Users\\nom\\AppData\\Local\\Enthought\\Canopy\\User
\\Include"

Original comment by G.G.S...@gmail.com on 14 Apr 2013 at 7:02

GoogleCodeExporter commented 8 years ago
Thanks for providing the registry entries. Hopefully it will help others in the 
future.

Original comment by casevh on 28 Jul 2013 at 4:59