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
portray errors when i run portray serve and it looks to be caused by the recent numpy update.
Using:
Python 3.11.4
portray==1.8.0
I see this error
$ portray server
Traceback (most recent call last):
File "/home/vscode/.local/bin/portray", line 5, in <module>
from portray.cli import __hug__
File "/home/vscode/.local/lib/python3.11/site-packages/portray/cli.py", line 14, in <module>
import hug
File "/home/vscode/.local/lib/python3.11/site-packages/hug/__init__.py", line 36, in <module>
from hug import (
File "/home/vscode/.local/lib/python3.11/site-packages/hug/output_format.py", line 145, in <module>
@json_convert(str, numpy.unicode_)
^^^^^^^^^^^^^^
File "/home/vscode/.local/lib/python3.11/site-packages/numpy/__init__.py", line 397, in __getattr__
raise AttributeError(
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use `np.str_` instead.
Thanks
Pete
The text was updated successfully, but these errors were encountered:
Hello,
Hope you can help,
portray errors when i run
portray serve
and it looks to be caused by the recent numpy update.Using:
Python 3.11.4
portray==1.8.0
I see this error
Thanks
Pete
The text was updated successfully, but these errors were encountered: