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
Python CoolProp package doesn't work on Python 3.9.0 (32 bit and 64 bit) #1981
Comments
Simply put we haven't added Python 3.9 support yet. But my guess in this
case is that you have a cython problem, not a CoolProp one.
|
Building CoolProp 6.4.1 works fine for me with Python-3.9.0 on Arch Linux with cython-0.29.21 |
I have gotten similar looking error on MacOSX 10.15 Catalina. Changing python to 3.8 in homebrew fixed the issue. |
Any notion of when Python 3.9 support will happen? |
We have a bountysource for things like this: https://www.bountysource.com/teams/coolprop . CoolProp is developed by a community of volunteers, please consider digging in and helping out. |
Thank you for the tip, Ian. I've added $10 bounty.
Also, thank you for developing and maintaining such great package!
Sent with [ProtonMail](https://protonmail.com/) Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On Thursday, January 7th, 2021 at 8:42 PM, Ian Bell ***@***.***> wrote:
We have a bountysource for things like this: https://www.bountysource.com/teams/coolprop . CoolProp is developed by a community of volunteers, please consider digging in and helping out.
—
You are receiving this because you commented.
Reply to this email directly, [view it on GitHub](#1981 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ABYQ4KVQTQDQ4H47HZLBBZDSYZWI3ANCNFSM4T3DNSSA).
|
I believe bumping up pybind to 2.6.2 might do the trick. https://github.com/pauliacomi/CoolProp/runs/1954861085?check_suite_focus=true |
@pauliacomi The main wrapper for Python is Cython based, rather than pybind11, but you are right that there is also a pybind11 interface in the wrappers folder. Building from source is fine, so all that is required is in theory to make a new release, and that will add wheels for python 3.9. |
@ibell If I understand correctly, when pulling from git and installing, the wrapper is set to use Cython, and when installing from pypi and building from source it uses pybind11. Alternatively, if wheels are available they will be used, but they are built on a private server with buildbot on a release. Is this the gist of it? (I am new to combined cpp/python packaging) |
Had the same problem. My solution was switching back to Python 3.7. Maybe not the best solution, but worked for me. |
As reported before, wheel files are only available up to cp38 @ibell I am happy to click the "new release" button, and just release the current status as 6.4.2 if that is fine for everyone. I read your above comment as this will automatically add cp39 wheels, correct? |
@thorade I am very new to all the 'wheels' and 'wrappers', but I will be very happy with a new release. So for me it is not just fine, it would be great!! |
I have no objection to making the current code 6.4.2, but that will not
make the wheels auto build for python 3.9. What platforms are needed?
Someone might have to build the wheels with the build script and upload the
wheels to somewhere online that pip can find as a "for now" solution
Generally, the testing and deployment is broken, and someone (not me or
Jorrit) needs to step in and invest to keep coolprop going.
What we need is a cloud build of all the build artifacts, perhaps with
github actions.
|
Hi Ian,
They are running it on Linux via AWS.
Regards, Harold
|
Then you need a Linux machine with docker installed, and to run the
scripts in wrappers/python/manylinux
|
many thanks, the issue is fixed! |
Description
As describe here CoolProp python package does not work on python 3.9.0.
I report here the error message displayed in my case.
Steps to Reproduce
Expected behavior:
Actual behavior:
Versions
CoolProp Version: 6.4.1
Operating System and Version: Windows 10
The text was updated successfully, but these errors were encountered: