-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Amazing work! But i couldn't figure out why i met the problem "RuntimeError: Numpy is not available" after using "streamlit run DeepSNUPI.py ". (i have checked that the package numpy is already installed in the enviroment DeepSNUPI). Could u plz help me with the problem? thanks a lot!!!
the complete error is shown below:
RuntimeError: Numpy is not available
File "C:\Users\ls\anaconda3\envs\DeepSNUPI\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in _run_script exec(code, module.dict )
File "C:\Users\ls\Desktop\DeepSNUPI\DeepSNUPI.py", line 160, in fig_init = draw_DnaOrigami(dna, dna.x[:,0:6], SE_init, EE_init)
File "C:\Users\ls\Desktop\DeepSNUPI\src\visual.py", line 59, in draw_DnaOrigami trace_edges = go.Scatter3d( x=x_edges,
File "C:\Users\ls\anaconda3\envs\DeepSNUPI\lib\site-packages\plotly\graph_objs_scatter3d.py", line 2758, in init self["x"] = _v
File "C:\Users\ls\anaconda3\envs\DeepSNUPI\lib\site-packages\plotly\basedatatypes.py", line 4873, in setitem self._set_prop(prop, value)
File "C:\Users\ls\anaconda3\envs\DeepSNUPI\lib\site-packages\plotly\basedatatypes.py", line 5212, in _set_prop val = validator.validate_coerce(val)
File "C:\Users\ls\anaconda3\envs\DeepSNUPI\lib\site-packages_plotly_utils\basevalidators.py", line 401, in validate_coerce v = to_scalar_or_list(v)
File "C:\Users\ls\anaconda3\envs\DeepSNUPI\lib\site-packages_plotly_utils\basevalidators.py", line 41, in to_scalar_or_list return [to_scalar_or_list(e) for e in v]
File "C:\Users\ls\anaconda3\envs\DeepSNUPI\lib\site-packages_plotly_utils\basevalidators.py", line 41, in return [to_scalar_or_list(e) for e in v]
File "C:\Users\ls\anaconda3\envs\DeepSNUPI\lib\site-packages_plotly_utils\basevalidators.py", line 49, in to_scalar_or_list return to_scalar_or_list(np.array(v))
File "C:\Users\ls\anaconda3\envs\DeepSNUPI\lib\site-packages\torch_tensor.py", line 970, in array return self.numpy()