Comments (8)
I can replicate the issue on a Debian box running Python 2.6. Investigating
from pyql.
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.
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.
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.
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.
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.
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.
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)
- test a examples file failed HOT 3
- Calls to CreditDefaultSwap.fair_upfront crash Python HOT 7
- def file generation HOT 2
- Test results with QuantLib 1.10
- compilation error HOT 3
- Problem with Python examples - american_option HOT 3
- testing pyql - errors HOT 2
- Odd issue with Period HOT 4
- Cython error + compilation error HOT 1
- Compilation Error on MacOS High Sierra HOT 15
- Cython version issue
- commit 27e9d9bf2 breaks compatibility with Quantlib < 1.13
- Adding OISRateHelpers HOT 13
- Building issue Win10x64 Python3.7.1 / x64 / VS2017 / QL1.15 / Boost 1.69 HOT 18
- Building on x64
- Build error error: ‘Microsecond’ is not a member of ‘QuantLib’ HOT 2
- install pyql in mac HOT 1
- error: ‘RelativePriceError’ is not a member of ‘QuantLib::CalibrationHelper’ HOT 4
- pyql/examples/data/df_libor.pkl cannot be loaded
- Pain point: Not enough documentation HOT 2
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 pyql.