Comments (19)
@david-wolf it should work fine as 1.7 did not had major changes. If you can repot specific warnings or errors, that would help.
from pyql.
FAILED (failures=4, errors=1, skipped=1)
from pyql.
Fixed the error in the test case. Warnings but it passed. Would like to know reason for the failures.
from pyql.
I'll look into the details. From a quick review, can you confirm you build the QL DLL as explained in the doc? In particular the point 1 in this section https://github.com/enthought/pyql/blob/master/docs/source/getting_started.rst#installation-from-source-on-windows
from pyql.
Yes I did. Those steps seem to guarantee that if followed correctly the program will run - not its program correctness.
I had some issues initially with the DEF file which prevented compilation but I went back and fixed that.
from pyql.
Note I used QL 1.7.1, MSVC 14 and Anaconda latest version with Python 3.5.
Those settings have some issues too. First you are not updating a settings.py file you are updating a C++ file. Second you require Cygwin to be installed specifically with NM which is part of binutils.
from pyql.
Full build output.
build_output.txt
from pyql.
Thanks @dave-fl for the report. I'll investigate asap.
from pyql.
I got the similar output as @dave-fl, But I failed the comiling. The error log is listed in the txt file.
I used the nm from the mingw, maybe this is the reason, or should I try cygwin?
from pyql.
I think we should investigate the https://github.com/enthought/pyql/blob/master/scripts/generate_symbols.py and check if it does its job correctly. It has been designed on Python 2.7 and known to work with Python 3.3. Python 3.5. is using a new Visual Studio version that might do things in a different way ...
from pyql.
I used cygwin. Took a while to get the build going and then we had failed unit test cases.
from pyql.
Hi @dpinte I use Python27 and vs2015, the .def file generated is just about 15mb. So I agree with you, Maybe something wrong with https://github.com/enthought/pyql/blob/master/scripts/generate_symbols.py
from pyql.
Hi @bigtan , it may be something to do with fact that Python27 is compiled using vs2008, and you are using vs2015. I can compile PyQl on WinPython3.5 but not on Python2.7 and I think this was my 2.7 issue. See [https://blog.ionelmc.ro/2014/12/21/compiling-python-extensions-on-windows/].
So while I don't have much experience in this, all downstream modules would also need to be compiled in vs2008.
from pyql.
@ceaza I will try it on my laptop, and give the feedback here.
from pyql.
@bigtan I confirme what @ceaza says. You must use the compatible MSVC version for the target Python. Python 2.7 means MSVC 2008.
from pyql.
@bigtan another comment: it is expected that the def file is a big file...
from pyql.
@dpinte I have finished the compiling for python 35 with MSVC2015, it works well.
I am now trying to compiling it for python 27 with MSVC2008
from pyql.
Is this active at all?
from pyql.
@dave-fl I don't have much bandwidth at the moment. If you have some pressing needs and want to consider other options than contributor's free time, ping me by e-mail.
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.