Git Product home page Git Product logo

Comments (8)

dpinte avatar dpinte commented on August 14, 2024

I can replicate the issue on a Debian box running Python 2.6. Investigating

from pyql.

dpinte avatar dpinte commented on August 14, 2024

It sounds like the version of distribute you use might be the issue. On my debian box, I had to upgrade distribute to distribute 0.6.14 to make it work.

I haven't digged into the root cause of the issue but it seems that Cython is not called properly and does not generate the cpp files, and even if the language=c++ is forced on the extension, it tries to build c files.

Can you try upgrading distribute ?

pip install --upgrade distribute

from pyql.

davidia avatar davidia commented on August 14, 2024

output from: pip freeze -- user
Cython==0.16
distribute==0.6.30

Same error

Thanks for investigating. I'm not experienced with cython but I'll try figure out what's going on too...

from pyql.

dpinte avatar dpinte commented on August 14, 2024

Here is my output (my pip version does not support --user) . I have Cython 0.17.1. This seems to be the only difference

dpinte@debian:~$ pip freeze
Axiom==0.6.0
BeautifulSoup==3.1.0.1
Brlapi==0.5.5
ClientForm==0.2.10
Coherence==0.6.6.2
Cython==0.17.1
Epsilon==0.6.0
GnuPGInterface==0.3.2
Louie==1.1
Mako==0.3.4
MarkupSafe==0.9.2
Nevow==0.10.0
PAM==0.4.2
PIL==1.1.7
PyOpenGL==3.0.1b2
Twisted-Conch==10.1.0
Twisted-Core==10.1.0
Twisted-Web==10.1.0
apt-xapian-index==0.41
chardet==2.0.1
configobj==4.7.2
cups==1.0
distribute==0.6.30
feedparser==4.1
gdata==2.0.8
gnome-app-install==0.4.7-nmu1
httplib2==0.6.0
louis==2.0.0
mechanize==0.1.11
numpy==1.4.1
pexpect==2.3
pyOpenSSL==0.10
pyasn1==0.0.11a
pycrypto==2.1.0
pyserial==2.3
pysqlite==2.6.0
python-apt==0.7.100.1-squeeze1
python-debian==0.1.18-squeeze1
pyxdg==0.19
rdflib==2.4.2
reportbug==4.12.6
tagpy==0.94.7
uTidylib==0.2
unattended-upgrades==0.1
wsgiref==0.1.2
zope.interface==3.5.3

from pyql.

davidia avatar davidia commented on August 14, 2024

I've upgrade to cython 0.17 - same result. There maybe a difference in that some of my modules are installed under .local instead of the system (made sure I'm loading the correct ones!) I'm going to spend a couple of hours digging today and will report back.

from pyql.

davidia avatar davidia commented on August 14, 2024

If I remove

from setuptools import setup, find_packages

cythonize springs into action. Checked setuptools version and it's 0.6c11 - the latest

from pyql.

dpinte avatar dpinte commented on August 14, 2024

The issue is that you should be using distribute and not setuptools. Not sure why your setuptools install has not been properly replaced setuptools but it should.

from pyql.

davidia avatar davidia commented on August 14, 2024

Correct, problem with my paths meant I was picking up the system version. Thanks for your help and my apologies for distracting you with such a trivial issue.

from pyql.

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.