Comments (5)
Try upgrading setuptools. I am using version 23.1.0
On 7/20/16 8:48 AM, Cian Wilson wrote:
I'm trying to build on a cluster where I'm having to manually install
everything from source. When I run:
|python setup.py install --prefix=...|
I get the error:|building 'triangle.core' extension error: unknown file type '.pyx' (from
'triangle/core.pyx') |I'm using:
- python version 2.7.2
- numpy version 1.6.2
- setuptools version 18.4
- cython version 0.24.1
Using the first answer here
http://stackoverflow.com/questions/32528560/using-setuptools-to-create-a-cython-package-calling-an-external-c-library
I modified |setup.py| with the attached patch
https://github.com/drufat/triangle/files/374096/triangle-cythonize.txt
and it worked. I'm not familiar with python setup so can't comment on
why this is necessary but wanted to flag it in case it's useful to
anyone else.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#13, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABVdvodRVvHgZqFTQ1v0COeLO6Tr70MRks5qXkNFgaJpZM4JQ7Ag.
from triangle.
Hello @cianwilson. I've had such problem. Issue #12 is all about problems with installation. You sould use this advice. from @sinback (thank you, @sinback, again and again). It helped me, I think it will help you.
from triangle.
Many thanks @drufat, that fixed my problem (in a much neater way).
from triangle.
Also, thanks to @LonelyDeer.
from triangle.
I met the same problem when I was installing rfoo. I upgrade setuptools to 40.2.0, still have the problem.
python version 2.7.5
numpy verson 1.15.1
setuptools version 40.2.0
cython version 0.28.5
from triangle.
Related Issues (20)
- Issue with License / conda forge submission HOT 1
- Wheels for Python 3.9 / 3.10 on PyPI HOT 7
- triangle/core.c:19390:5: error: lvalue required as increment operand HOT 1
- i cannot establish a restrictive triangulation network HOT 2
- "a" option for maximum area ignored if smaller than 0.00001 HOT 1
- i can't install triangle in mac M1 HOT 2
- pip install fails with python 3.10 HOT 1
- Build wheel for Python 3.10 and Apple M1 HOT 5
- Pip install of latest version fails for intel mac with python 3.9 HOT 2
- 0xC0000005 error HOT 4
- [Feature Request] Make a new release HOT 5
- Segmentation fault while doing multiple loop in ubuntu. HOT 2
- access segments including attribute HOT 1
- Could not build wheels for triangle HOT 1
- Broken intall for python 3.11 HOT 2
- "c1: fatal error C1083: Cannot open source file: 'c/triangle.c': No such file or directory" error while building from source HOT 2
- Error: Ran out of precision at HOT 1
- Refine mesh HOT 1
- Add docs here? HOT 1
- No Response when Triangulating Section
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from triangle.