|
From: Luigi B. <lui...@gm...> - 2020-11-24 08:14:59
|
Nathaniel,
I second Jack's suggestion to use "pip install QuantLib".
Anyway: the error you're getting (can't find the library) suggest that
either:
- you didn't compile QuantLib, which is unlikely but I'll list it for
completeness;
- there's a mismatch, such as if the library was compiled in Debug
configuration and the wrappers are being compiled in Release, or 32-bits vs
64-bits;
- the library path for the compiler doesn't include the location where the
library is.
Hope this helps,
Luigi
On Tue, Nov 24, 2020 at 7:10 AM Jack G <jac...@gm...> wrote:
> Hi Nathaniel,
>
> Is your use case just to use QuantLib in python? In that case, a simple
> 'pip install QuantLib' should get you the most recent release.
>
> If you want to build it from source in Windows but *don't* plan to develop
> the C++ source code in VS, (ie. if you are just using visual studio as a
> compiler), would you consider building inside s Windows docker container
> running Linux and a jupyter server instead? If you do that we can
> completely control the environment inside your container and help you debug
> the precise problem.
>
> Sorry if I've missed what you're trying to do here.
>
> Best,
> Jack
>
>
> On Tue, 24 Nov 2020, 02:57 Nathaniel Liffick, <na...@co...> wrote:
>
>> Hello All,
>>
>>
>>
>> My name is Nathaniel Liffick.
>>
>>
>>
>> Hope everyone is staying safe during this time.
>>
>>
>>
>> I am trying to install QuantLib-Python for windows, however, I keep
>> getting a fatal error when trying to build and install QuantLib. The fatal
>> error is attached. If anyone can provide guidance that would be great. I
>> have tried everything, uninstall visual studios to try to get visual
>> studios 14 alone but Microsoft automatically installs the newest version of
>> it and when I try to install Build tools 2015 it reverts back to 2019.
>>
>>
>>
>> Also to note, I use Anaconda and Jupyter notebook which the library
>> install was successful however when trying import QuantLib as ql it fails
>> and gives the error Module not found.
>>
>>
>>
>> Any information would be great, thank you community.
>>
>>
>>
>> Best Regards,
>>
>>
>>
>> Nathaniel Liffick
>>
>>
>> _______________________________________________
>> QuantLib-users mailing list
>> Qua...@li...
>> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>>
> _______________________________________________
> QuantLib-users mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
|