-
Notifications
You must be signed in to change notification settings - Fork 8
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
longintrepr.h file not found #138
Comments
What version of Python are you using? If you're using 3.11 can you try 3.10 as well? |
I am running 3.11.8Newbie question - is there an easy way to switch python versions in an active conda environment or should I just start a new one for 3.10?Sent from my iPhoneOn Mar 7, 2024, at 9:55 AM, Soroosh Mani ***@***.***> wrote:
What version of Python are you using? If you're using 3.11 can you try 3.10 as well?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I switched python version to 3.10. Build of triangle still failed, but with different errors. I had to scroll back through the log to find them -- I believe this is the relevant portion:
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/gbsmith/.conda/envs/schimpy/include -arch arm64 -fPIC -O2 -isystem /Users/gbsmith/.conda/envs/schimpy/include -arch arm64 -DVOID=void -DREAL=double -DNO_TIMER=1 -DTRILIBRARY=1 -DANSI_DECLARATORS=1 -Ic -I/Users/gbsmith/.conda/envs/schimpy/include/python3.10 -c triangle/core.c -o build/temp.macosx-11.0-arm64-cpython-310/triangle/core.o
triangle/core.c:19390:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
triangle/core.c:19392:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
triangle/core.c:19701:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
triangle/core.c:19703:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
triangle/core.c:19951:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
triangle/core.c:19953:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
triangle/core.c:22901:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
.
.
.
13 warnings and 6 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for triangle
Running setup.py clean for triangle
Failed to build triangle
ERROR: Could not build wheels for triangle, which is required to install pyproject.toml-based projects
… Never mind, I figured it out and will let you know.
On Mar 7, 2024, at 10:04 AM, Geoffrey Smith ***@***.***> wrote:
I am running 3.11.8
Newbie question - is there an easy way to switch python versions in an active conda environment or should I just start a new one for 3.10?
Sent from my iPhone
> On Mar 7, 2024, at 9:55 AM, Soroosh Mani ***@***.***> wrote:
>
>
> What version of Python are you using? If you're using 3.11 can you try 3.10 as well?
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry to bother you here, but I wasn't sure where to reach out.
Building on macOS 14 I get the following error:
triangle/core.c:196:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.
error: Setup script exited with error: command '/usr/bin/clang' failed with exit code 1
(schimpy) gbsmith@plato ocsmesh %
I updated my active Conda environment with the OCSMesh environment.yml file, jigsaw installs correctly.
I tried using the Conda instructions first, and that failed with the same error. I then tried using the git instructions, and again, failed at same place.
The text was updated successfully, but these errors were encountered: