-
Notifications
You must be signed in to change notification settings - Fork 549
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
Not working on windows 11 #1413
Comments
It works after I run |
Nice work @NoahELE, you solved your own problem 🎉 . :) In fact, we have a binary requirement for the Windows platform specified here: Lines 31 to 32 in 69dcceb
I wonder why things didn't work for you. Did you install |
In fact I install pgcli with However, when I test installation on a fresh venv, the
|
Well, that is interesting. Does your
|
|
I had the same problem that was fixed by installing |
@j-bennet : I did not look into why exactly we require install_requirements = [
"pgspecial>=2.0.0",
# ... do NOT include "psycopg" here
]
if platform.system() == "Windows":
install_requirements.append("psycopg-binary >= 3.0.14")
else:
install_requirements.append("psycopg >= 3.0.14") Or, more simply: install_requires = [
"psycopg >= 3.0.14; sys_platform != 'win32'"
"psycopg-binary >= 3.0.14; sys_platform == 'win32'",
] (See here for a list of |
Yes, this makes sense. We don't need to install both. |
I hit the same issue trying to install in Windows10 and also on WSL FWIW.
|
* Fix Issue #1413, win32 psycopg * Fix Issue #1413, win32 psycopg * fixing syntax error * black fix to a test --------- Co-authored-by: Irina Truong <637013 [email protected]>
Just hit this problem trying to install pgcli on MacOS via pipx.
This fix works:
|
Had the same issue with the same fix working on Linux (openSUSE Tumbleweed). |
Description
Your environment
Window 11 with Python 3.11.4
pgcli
fails with all args, so I cannot see its version, but it should be the latest version.pip freeze
command.The text was updated successfully, but these errors were encountered: