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
>>> import xswap
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/dhimmel/anaconda3/envs/xswap/lib/python3.7/site-packages/xswap/__init__.py", line 1, in <module>from xswap import network_formats
File "/home/dhimmel/anaconda3/envs/xswap/lib/python3.7/site-packages/xswap/network_formats.py", line 3, in <module>import numpy
ModuleNotFoundError: No module named 'numpy'
I think we wanted users without numpy to be able to use the package, right? So we should probably just make the numpy import lazy.
Also you may want to specify extras_require in setup.py for users who want to install the extra dependencies.
The text was updated successfully, but these errors were encountered:
I think we wanted users without numpy to be able to use the package, right? So we should probably just make the numpy import lazy.
Also you may want to specify
extras_require
insetup.py
for users who want to install the extra dependencies.The text was updated successfully, but these errors were encountered: