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
When importing the package, I encounter the following error:
>>> import pyuniprot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/mypath/miniconda3/envs/treva/lib/python3.11/site-packages/pyuniprot/__init__.py", line 15, in <module>
from . import manager
File "/mypath/miniconda3/envs/treva/lib/python3.11/site-packages/pyuniprot/manager/__init__.py", line 7, in <module>
from . import database
File "/mypath/miniconda3/envs/treva/lib/python3.11/site-packages/pyuniprot/manager/database.py", line 41, in <module>
sqltypes.Text: np.unicode,
^^^^^^^^^^
File "/mypath/miniconda3/envs/treva/lib/python3.11/site-packages/numpy/__init__.py", line 333, in __getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'unicode'. Did you mean: 'unicode_'?
The text was updated successfully, but these errors were encountered:
My enviroment:
Python 3.11.5
pyuniprot 0.0.10
numpy 1.26.1
The issue:
When importing the package, I encounter the following error:
The text was updated successfully, but these errors were encountered: