Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'numpy._core.numeric' #842

Open
ewan777 opened this issue Oct 26, 2024 · 3 comments
Open

No module named 'numpy._core.numeric' #842

ewan777 opened this issue Oct 26, 2024 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ewan777
Copy link

ewan777 commented Oct 26, 2024

I installed the development version to resolve the NaN as npNaN bug.

TA_LIB not installed

With the development version I encountered the following error:

An error occurred while loading the file: No module named 'numpy._core.numeric

Installing numpy==2.0.0 seemed to resolve this issue (is this safe?)

NB: Also I had to install setuptools to get pandas_ta to work.

@ewan777 ewan777 added the bug Something isn't working label Oct 26, 2024
@twopirllc twopirllc added the duplicate This issue or pull request already exists label Oct 26, 2024
@twopirllc twopirllc removed their assignment Oct 26, 2024
@Philip030601
Copy link

Philip030601 commented Oct 26, 2024

Hi Ewan, I got rid of that NaN as npNan bug. thanks for posting how to get rid of it. Hopefully, I dont have to do the rest of the things you did to get it to work. lol

@twopirllc twopirllc added help wanted Extra attention is needed bug Something isn't working and removed bug Something isn't working duplicate This issue or pull request already exists labels Oct 27, 2024
@twopirllc
Copy link
Owner

Hello @ewan777 and @Philip030601,

NB: Also I had to install setuptools to get pandas_ta to work.

Python 3.12 removed setuptools, hence it is required for installation. Furthermore, it is listed in the development requirements.txt.

With the development version I encountered the following error:
An error occurred while loading the file: No module named 'numpy._core.numeric
&
Installing numpy==2.0.0 seemed to resolve this issue (is this safe?)

Ok. But you also haven't provided the minimal necessary details requested from you in the Bug Report so somone can isolate and replicate and potentially fix (if possible). 🤷🏼‍♂️

Furthermore, perhaps you should open a bug report with numpy and ask them about error and about safety.

@twopirllc twopirllc reopened this Oct 27, 2024
@twopirllc
Copy link
Owner

Doh! 🤦🏼‍♂️ (Accidently "closed" issue by mistake.)

Also if numpy 2.x is not working, then try the last 1.x. release. There are several numpy 2 issues here suggesting that if you absolutely do not need 2.x now. 😓

Kind Regards,
KJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants