You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Nick, thank you very much for building this Python package, it definitely appears very promising!
I installed the latest version of numbalsoda (0.3.4) via pip and the installation was successful. I am using Python 3.9.7 and conda version 22.9.0.
However, when trying to import it, I get the following error:
'The procedure entry point ZSt28__throw_bad_array_new_lengthv could not be located in the dynamic link library C:\Users...\numbalsoda\liblsoda.dll'
Installing numbalsoda via conda (conda install -c conda-forge numbalsoda) solves the issue and the package is successfully imported into the Python script. Conda installs version 0.3.2, and thus I was wondering if the difference in the versions may play a role in this issue.
Thank you very much!
The text was updated successfully, but these errors were encountered:
Hello!
I ran into a similar problem when installing from pip (numbalsoda v0.3.4) . When I go to import I get this error:
FileNotFoundError: Could not find module 'C:\<path to conda environment>\Lib\site-packages\numbalsoda\liblsoda.dll' (or one of its dependencies). Try using the full path with constructor syntax.
When I go into the directory I do see liblsoda.dll at the correct path. So it must be something it depends on?
I am on windows 10, python 3.9.15,
Like @kf120 found, I don't get this error if I use conda install for numbalsoda v0.3.2.
I also tried to install via pip forcing it to recompile rather than use the pre-built wheel. pip install numbalsoda>=0.3.4 --no-binary="numbalsoda"
It installs okay but then I get the following error when I go to import,
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\ProgramData\Anaconda3\envs\tpy39\lib\site-packages\numbalsoda\__init__.py", line 1, in <module>
from .driver import lsoda_sig, lsoda, address_as_void_pointer
File "C:\ProgramData\Anaconda3\envs\tpy39\lib\site-packages\numbalsoda\driver.py", line 21, in <module>
liblsoda = ct.CDLL(rootdir+name)
File "C:\ProgramData\Anaconda3\envs\tpy39\lib\ctypes\__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
Hi Nick, thank you very much for building this Python package, it definitely appears very promising!
I installed the latest version of numbalsoda (0.3.4) via pip and the installation was successful. I am using Python 3.9.7 and conda version 22.9.0.
However, when trying to import it, I get the following error:
'The procedure entry point ZSt28__throw_bad_array_new_lengthv could not be located in the dynamic link library C:\Users...\numbalsoda\liblsoda.dll'
Installing numbalsoda via conda (conda install -c conda-forge numbalsoda) solves the issue and the package is successfully imported into the Python script. Conda installs version 0.3.2, and thus I was wondering if the difference in the versions may play a role in this issue.
Thank you very much!
The text was updated successfully, but these errors were encountered: