|
From: Teddy O <tm...@ho...> - 2020-11-17 14:03:49
|
When I run it in the powershell it says 64bit. "Import Quantlib" also gives me the same error when I run it here as well. Python 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32Type "help", "copyright", "credits" or "license" for more information. Sent from Outlook<http://aka.ms/weboutlook> ________________________________ From: Luigi Ballabio <lui...@gm...> Sent: Tuesday, November 17, 2020 8:09 AM To: Teddy O <tm...@ho...> Cc: qua...@li... <qua...@li...> Subject: Re: [Quantlib-users] DLL Load Failed >From the file names and paths, it seems you have the 64-bit version of QuantLib installed but spyder is using 32-bit python. May you check that? Luigi On Tue, Nov 17, 2020 at 3:52 AM Teddy O <tm...@ho...<mailto:tm...@ho...>> wrote: I installed quantlib using "pip install QuantLib" and now I'm getting the below error. I'm using windows 10 and Spyder IDE. I don't see any dll file called _QuantLib, only _QuantLib.cp37-win_amd64.pyd. File "C:\Conda\lib\site-packages\QuantLib\QuantLib.py", line 13, in from . import _QuantLib ImportError: DLL load failed: The specified module could not be found. These are my path variables: C:\Conda\python38.zip C:\Conda\DLLs C:\Conda\lib C:\Conda C:\Conda\lib\site-packages C:\Conda\lib\site-packages\win32 C:\Conda\lib\site-packages\win32\lib C:\Conda\lib\site-packages\Pythonwin C:\Conda\lib\site-packages\IPython\extensions C:\Users\name t\.ipython Has anyone experienced a similar problem? Thanks Sent from Outlook<http://aka.ms/weboutlook> _______________________________________________ QuantLib-users mailing list Qua...@li...<mailto:Qua...@li...> https://lists.sourceforge.net/lists/listinfo/quantlib-users |