-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Import failing due to breaking change in numpy lib #804
Comments
Hello @MysticMith, Some Bug Reporting Points Worth Reading Which version are you running? The lastest version is on Github. Pip is for major releases. import pandas_ta as ta
print(ta.version) Do you have TA Lib also installed in your environment? $ pip list Have you tried the development version? Did it resolve the issue? $ pip install -U git+https://github.com/twopirllc/pandas-ta.git@development Describe the bug To Reproduce Expected behavior Screenshots Additional context Thanks for using Pandas TA! |
Is this issue fixed making a simple change of:
|
It is one way to resolve. But Pandas TA version 0.3.14b will not be supporting numpy 2.0. Use the last numpy version of 1.6.x. Some of this discussed already in Issue #799 with PRs #800 & #801. If you absolutely need numpy 2.x, you should be using the development branch after those have been applied. Kind Regards, |
Hi,
I am using major release from pip. running it inside container.
I understand the temporary fix but i will wait for the fix in the major
release.
This is the first time i am reporting a bug on Github, so let me know what
to do next.
Thanks!
Mithilesh
…On Fri, Jun 28, 2024 at 11:49 PM Kevin Johnson ***@***.***> wrote:
*Which version are you running? The lastest version is on Github. Pip is
for major releases.*
import pandas_ta as taprint(ta.version)
*Do you have TA Lib also installed in your environment?*
$ pip list
*Have you tried the development version? Did it resolve the issue?*
$ pip install -U ***@***.***
*Describe the bug*
A clear and concise description of what the bug is.
*To Reproduce*
Provide sample code.
*Expected behavior*
A clear and concise description of what you expected to happen.
*Screenshots*
If applicable, add screenshots to help explain your problem.
*Additional context*
Add any other context about the problem here.
Thanks for using Pandas TA!
—
Reply to this email directly, view it on GitHub
<#804 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUXQ4IFF3QPY3OUVCXBV3FLZJWSLJAVCNFSM6AAAAABKBCNRI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXGQZDKMBTGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards,
Mithilesh
|
You can wait, but the development version is much better in many ways than the major release you are using.
I figured that out since you deleted all the bug report questions and just dumped your stack trace of the issue with no other context. Thus I provided a link to help you learn how to describe your issue so you and others can be helped more quickly. KJ |
I can see this as "completed" but I'm still facing this issue. Just use "pip install pandas_ta". |
Looks like numpy has changed NaN to nan.
The text was updated successfully, but these errors were encountered: