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
I installed gdsfactory and ran the following code without any errors:
import sys
print(sys.version)
print(sys.executable)
import gdsfactory as gf
gf.config.print_version_plugins()
Then, I installed the plugins using: pip install "gdsfactory[full]" --upgrade. After running the same code mentioned above, I received the error shown below. Is it a bug? Should I ignore this error?
Searching DEVSIM_MATH_LIBS="libopenblas.dll;liblapack.dll;libblas.dll"
Loading "libopenblas.dll": MISSING DLL
Loading "liblapack.dll": MISSING DLL
Loading "libblas.dll": MISSING DLL
Error loading math libraries. Please install a suitable BLAS/LAPACK library and set DEVSIM_MATH_LIBS. Alternatively, install the Intel MKL.
Could not find Intel MKL. The maximum tested version is "mkl_rt.2.dll"
Windows returned error 126 while trying to load "libopenblas.dll"
Windows returned error 126 while trying to load "liblapack.dll"
Windows returned error 126 while trying to load "libblas.dll"
RuntimeError Traceback (most recent call last)
Cell In[1], line 6
3 print(sys.executable) # path to python.exe
5 import gdsfactory as gf
----> 6 gf.config.print_version_plugins() # determine gdsfactory version and installed plugins
I installed gdsfactory and ran the following code without any errors:
import sys
print(sys.version)
print(sys.executable)
import gdsfactory as gf
gf.config.print_version_plugins()
Then, I installed the plugins using: pip install "gdsfactory[full]" --upgrade. After running the same code mentioned above, I received the error shown below. Is it a bug? Should I ignore this error?
Searching DEVSIM_MATH_LIBS="libopenblas.dll;liblapack.dll;libblas.dll"
Loading "libopenblas.dll": MISSING DLL
Loading "liblapack.dll": MISSING DLL
Loading "libblas.dll": MISSING DLL
Error loading math libraries. Please install a suitable BLAS/LAPACK library and set DEVSIM_MATH_LIBS. Alternatively, install the Intel MKL.
Could not find Intel MKL. The maximum tested version is "mkl_rt.2.dll"
Windows returned error 126 while trying to load "libopenblas.dll"
Windows returned error 126 while trying to load "liblapack.dll"
Windows returned error 126 while trying to load "libblas.dll"
RuntimeError Traceback (most recent call last)
Cell In[1], line 6
3 print(sys.executable) # path to python.exe
5 import gdsfactory as gf
----> 6 gf.config.print_version_plugins() # determine gdsfactory version and installed plugins
File ~\AppData\Local\miniconda3\envs\gdsfactory\Lib\site-packages\gdsfactory\config.py:129, in print_version_plugins()
127 for plugin in plugins:
128 try:
--> 129 m = importlib.import_module(plugin)
130 try:
131 table.add_row(plugin, str(m.version), str(m.path))
File ~\AppData\Local\miniconda3\envs\gdsfactory\Lib\importlib_init_.py:126, in import_module(name, package)
124 break
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
File :1204, in _gcd_import(name, package, level)
File :1176, in find_and_load(name, import)
File :1147, in find_and_load_unlocked(name, import)
File :690, in _load_unlocked(spec)
File :940, in exec_module(self, module)
File :241, in _call_with_frames_removed(f, *args, **kwds)
File ~\AppData\Local\miniconda3\envs\gdsfactory\Lib\site-packages\devsim_init_.py:8
3 #TODO:
4 #https://stackoverflow.com/questions/6677424/how-do-i-import-variable-packages-in-python-like-using-variable-variables-i
5 #imported = getattr(import(package, fromlist=[name]), name)
7 if sys.version_info[0] == 3:
----> 8 from .devsim_py3 import *
9 from .devsim_py3 import version
10 else:
RuntimeError: Issues initializing DEVSIM.
The text was updated successfully, but these errors were encountered: