Giter VIP home page Giter VIP logo

Comments (5)

drufat avatar drufat commented on August 16, 2024 1

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.

LonelyDeer avatar LonelyDeer commented on August 16, 2024

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.

cianwilson avatar cianwilson commented on August 16, 2024

Many thanks @drufat, that fixed my problem (in a much neater way).

from triangle.

cianwilson avatar cianwilson commented on August 16, 2024

Also, thanks to @LonelyDeer.

from triangle.

jesse2013 avatar jesse2013 commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.