-
Notifications
You must be signed in to change notification settings - Fork 561
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
install fails under python 3.11 on Windows #1109
Comments
The FH4 option appeared only in VS 2019. https://github.com/mkleehammer/pyodbc/blob/master/setup.py#L179 Looks like the option should only be added if the compiler version is new enough. |
If you are having difficulty getting pyodbc to install from source on Windows you could try one of these unofficial wheels: (Files removed. See below.) |
AppVeyor deployed new Windows images with Python 3.11 support, see appveyor/ci#3844. Therefore, it is in principle possible to use it to build win wheels for pyodbc (py3.11) |
The unofficial wheels given by GordThompson above cause an issue with creating sqlalchemy engines. sqlalchemy assumes that the version scheme is all integers, but the above version is 4.0.dev0, and so when creating an engine with sqlalchemy you get |
Yes @scotscotmcc , those wheels should not be labelled 4.0.dev0, even if they are unofficial. I'm working on a fix, shouldn't take too long. Watch this space. |
@keitherskine, the wheel in that download you have above appears to work just fine. Thanks a bunch! |
Thanks to an amazing job by @keitherskine, new releases build official wheels now. There is an official 4.0.35 wheel available. |
Please first make sure you have looked at:
OS: Windows 10 64 bit
Python: 3.11.0
The text was updated successfully, but these errors were encountered: