Re: install on windows
От | Jason Erickson |
---|---|
Тема | Re: install on windows |
Дата | |
Msg-id | CAFpJua3CvdZL1BPwmbWXoUEk8T8vYJPCAhAtctBN8YjTH9qBeg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: install on windows (Daniele Varrazzo <daniele.varrazzo@gmail.com>) |
Ответы |
Re: install on windows
|
Список | psycopg |
Hmm, I can duplicate this issue. But investigating it more, it is not strictly a psycopg2 issue, either.
This change causes a problem for ALL 32bit extension installers on Python 3.5 that use the standard Python stub installer.
Briefly looking at the stub code, I believe the standard Python stub installer only recognizes registry keys in the format <major>.<minor>. The extra '-32' at the end of the registry key makes the installer ignore the key, never finding the Python installation.
Another package that uses the Python stub installer, pycurl, exhibits the same issues:
I'm not suggesting this, but a workaround is to rename the following registry key from:
SOFTWARE\WOW6432Node\Python\PythonCore\3.5-32
to:
SOFTWARE\WOW6432Node\Python\PythonCore\3.5
(ie, remove the '-32')
Install the extension, and then rename the registry back. Don't forget to rename it back!
Another workaround is to use the 64bit version of Python and Extensions.
-jason
On Wed, Mar 23, 2016 at 7:11 AM, Daniele Varrazzo <daniele.varrazzo@gmail.com> wrote:
On Wed, Mar 23, 2016 at 12:06 PM, Levente <leventelist@gmail.com> wrote:
> Ummm...
>
>
> This is on the website:
>
> http://www.stickpeople.com/projects/python/win-psycopg/2.6.1/psycopg2-2.6.1.win32-py3.5.exe
>
> Lev
Ok right: I thought you were trying to use 'pip install'. In this case
I don't know what's going on with your registry; someone else may.
-- Daniele
--
Sent via psycopg mailing list (psycopg@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/psycopg
В списке psycopg по дате отправления: