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
{{ message }}
This repository was archived by the owner on Jan 18, 2024. It is now read-only.
line 333, in
_add_aliases()
File "/data/user/0/org.qpython.qpy/files/lib/pyt hon3.11/site-packages/numpy/core/numerictypes.py", line 310, in _add_aliases
if base[-3:] == 'int' or char[0] in 'ui':
~~~~^^^
IndexError: string index out of range
Hello there!
I installed qpython3 from qpython_os_2023-02-04_ol.apk
Then installed numpy using QPYPI/AIPY package and then attempted to run next code
import numpy as np
arr = np.array([1, 2, 3, 4, 5])
print(arr)
print(type(arr))
It raised exception some where deep in numpy core
line 333, in
_add_aliases()
File "/data/user/0/org.qpython.qpy/files/lib/pyt hon3.11/site-packages/numpy/core/numerictypes.py", line 310, in _add_aliases
if base[-3:] == 'int' or char[0] in 'ui':
~~~~^^^
IndexError: string index out of range