Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiler required? #6

Open
yivi opened this issue Sep 13, 2014 · 3 comments
Open

compiler required? #6

yivi opened this issue Sep 13, 2014 · 3 comments

Comments

@yivi
Copy link

yivi commented Sep 13, 2014

I thought the idea of this builds was to be able to install without recompiling.

But when I do
pip install git+https://github.com/nwcell/psycopg2-windows.git@win64-py27#egg=psycopg2

I end up getting:

running build
running build_py
running build_ext
building 'psycopg2._psycopg' extension
error: Unable to find vcvarsall.bat

is this the expected behavior, or am I doing something wrong?

(Windows 8, 64bits, Python 2.7)

@yivi
Copy link
Author

yivi commented Sep 13, 2014

Just realized that what seems to be wrong is the readme.
Instead of

pip install git+https://github.com/nwcell/psycopg2-windows.git@win64-py27#egg=psycopg2

I wrote:

pip install git+https://github.com/nwcell/psycopg2-windows.git@win64-py27#egg=psycopg2-windows

And it it seems to have worked perfectly.

@robertlagrant
Copy link

@yivi that's weird, I don't think the egg name should matter at all. I think it's meant to be the same as the standard psycopg2. Having said that, I can't explain what happened when it worked :)

@ryanvalentin
Copy link

Same problem/solution for me - I swear it worked using the regular psycopg2 egg name only a couple of months ago, so I'm not sure why it's different now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants