Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

numpy from AIPY doesn't work #89

@yuriiy23

Description

@yuriiy23

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions