-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hello everyone, I am experiencing a problem in loading tixi3 in my conda virtual environment. In particular, this is the error that i get, does anyone know how to solve this? I followed the procedure reported on Github for installation (conda install dlr-sc::tixi3):
from tixi3 import tixi3wrapper
File "C:\Users\CuozzoC\AppData\Local\anaconda3\envs\my_project_env\Lib\site-packages\tixi3\tixi3wrapper.py", line 173, in
class Tixi3(object):
Traceback (most recent call last):
File "C:\Users\CuozzoC\AppData\Local\anaconda3\envs\my_project_env\Lib\site-packages\tixi3\tixi3wrapper.py", line 183, in Tixi3
lib = ctypes.cdll.LoadLibrary(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CuozzoC\AppData\Local\anaconda3\envs\my_project_env\Lib\ctypes_init_.py", line 454, in LoadLibrary
return self.dlltype(name)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\CuozzoC\AppData\Local\anaconda3\envs\my_project_env\Lib\ctypes_init.py", line 366, in init
if '/' in name or '\' in name:
^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\CuozzoC\Desktop\Exaelia\CPACS_TAW\read_cpacs.py", line 7, in
from tixi3 import tixi3wrapper
File "C:\Users\CuozzoC\AppData\Local\anaconda3\envs\my_project_env\Lib\site-packages\tixi3\tixi3wrapper.py", line 173, in
class Tixi3(object):
File "C:\Users\CuozzoC\AppData\Local\anaconda3\envs\my_project_env\Lib\site-packages\tixi3\tixi3wrapper.py", line 189, in Tixi3
raise Exception("Could not load the tixi3 library. Please check if:\n" +
Exception: Could not load the tixi3 library. Please check if:
- The PATH (Windows) / LD_LIBRARY_PATH (Linux) environment variable points to the library
- The architecture of the library matches the architecture of python (a 32 bit python needs a 32 bit shared library)
I have checked that the PATH environment variable points to the library but I am still getting the error. I don't know if this can be useful, but when i run only "import tixi3" instead of "from tixi3 import tixi3wrapper" it works alright