Closed patrick-nicodemus closed 1 year ago
Hi! Thanks for posting this. This error is happening because there is no matching precompiled binary wheel available for your system (see the list here https://pypi.org/project/potpourri3d/#files). So it is falling back on trying to compile on your local machine.
We could try to debug why it's failing to compile on your local machine, but really the solution is I should generate wheels for Python 3.11 so you don't have to :) I will try to do that real quick.
The builds are churning here: https://github.com/nmwsharp/potpourri3d/actions/runs/5614088468/job/15211471662
Best case (if I didn't mess anything up), it'll be ~2hrs before they percolate to pypi. Then pip install
should fetch the wheel on your machines and 'just work'.
Ok, new builds are uploaded, installing the latest version from a binary wheel should 'just work'. Be sure you are getting version >= 1.0.0. Please reopen if it still doesn't work.
I really appreciate it, many thanks. 👍
I am unable to install this program on either Windows or Linux using Python 3.11.
In windows, I get the following error. The most relevant part seems to be:
The error is more specifically:
There may be problems with my installation of Microsoft Visual Studio 2022 or configuration of CMake but after much googling I cannot figure out how I should configure CMake to get this to work, and I think it might be the Python install script. The precompiled binaries work out of the box for Python 3.9 and Python 3.10 so I have not experimented with CMake there.
Full error:
I am also not able to install it on Linux. The error message here seems much more likely to be a Python 3.11 compatibility issue, perhaps due to a change in the C API? This is on Ubuntu 22.04 (running in WSL2). I have also tried it in a Docker container.