-
Notifications
You must be signed in to change notification settings - Fork 181
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
Cannot install under Python 3.10 #1009
Comments
I've also noticed that, see GitHub Actions run on my fork. Builds on Linux and macOS are fine. Only builds on Windows 10 with Python 3.10 produce these strange syntax errors. Same with the |
Seems like a missing include. I see other projects have hit this. Not sure why we would be getting this now. Mostly likely Python changes their includes and something we assumed was included is now missing. |
I converted all the ssize_t to Py_ssize_t which should fix this compiler issue. It will be included in the next release. |
You missed a spot. jpype/native/python/include/jp_pythontypes.h Line 284 in 9c210eb
But then it builds with Python 3.10 on Windows. |
same issue here. any ideas how to solve that? |
Just waiting on the PR to go through. You can get the fix from the PR. |
* `core.cc` no longer compiles correctly under Windows with Python 3.10 * jpype-project/jpype#1009
* `core.cc` no longer compiles correctly under Windows with Python 3.10 * jpype-project/jpype#1009
* `core.cc` no longer compiles correctly under Windows with Python 3.10 * jpype-project/jpype#1009
Still getting this issue in Windows 11, Python 3.10 while trying to install JayDeBeApi. Output attached. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, I should have read the whole thread. We have replaced ssize_t with Py_ssize_t a long time ago. Is Jaydebe using an outdated version of JPype? |
The latest release, JPype 1.3.0, does not contain the fix discussed here, @marscher. |
Right, but is fixed on master, so we need another release to get Python-3.10 working. |
Yep. Tis why I have been trying to get the issues closed out. Hopefully this weekend, if work will let up. |
I have the same your issue, and I solved it by steps:
Hope this help |
When attempting to
pip install JPype1
under Windows 10 I get:Python 3.9 used to work just fine.
The text was updated successfully, but these errors were encountered: