question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Google Colab, numpy dependencies...

See original GitHub issue

This issue still persists on google colab, due to dependencies…

ERROR: tensorflow 2.5.0 has requirement numpy~=1.19.2, but you'll have numpy 1.21.0 which is incompatible.
ERROR: tensorflow 2.5.0 has requirement six~=1.15.0, but you'll have six 1.16.0 which is incompatible.
ERROR: google-colab 1.0.0 has requirement pandas~=1.1.0; python_version >= "3.0", but you'll have pandas 1.3.0 which is incompatible.
ERROR: google-colab 1.0.0 has requirement six~=1.15.0, but you'll have six 1.16.0 which is incompatible.
ERROR: datascience 0.10.6 has requirement folium==0.2.1, but you'll have folium 0.8.3 which is incompatible.
ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.
Proceed (y/n)? y
ERROR: tensorflow 2.5.0 has requirement numpy~=1.19.2, but you'll have numpy 1.21.0 which is incompatible.
ERROR: tensorflow 2.5.0 has requirement six~=1.15.0, but you'll have six 1.16.0 which is incompatible.
ERROR: google-colab 1.0.0 has requirement pandas~=1.1.0; python_version >= "3.0", but you'll have pandas 1.3.0 which is incompatible.
ERROR: google-colab 1.0.0 has requirement six~=1.15.0, but you'll have six 1.16.0 which is incompatible.
ERROR: datascience 0.10.6 has requirement folium==0.2.1, but you'll have folium 0.8.3 which is incompatible.
ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.

_Originally posted by @gate27keeper in https://github.com/twopirllc/pandas-ta/issues/324#issuecomment-874944390_

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
UlasTosuncommented, Jul 9, 2021

Hello, I have faced with the same problem. I don’t know the reason, so I can’t help you @twopirllc . However, for those who have faced with this problem on Colab and want to overcome this quickly, I have a suggestion. Using previous version overcomes this problem. Just specify the version while installing Pandas TA. For me, the version below solves the problem: ! pip install pandas_ta==0.2.45b By the way, Pandas TA is one of the best technical libraries, you did a great job @twopirllc . Thank you for all.

1reaction
UlasTosuncommented, Jul 26, 2021

Dear @twopirllc , I have checked it and I have good news. At the moment, preinstalled Numpy version on Colab is 1.19.5 and it works properly with the Pandas-TA version on the development branch. There is no error while importing. So, I think you can update the main branch. Thank you for solving this issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I install Python packages in Google's Colab?
In a project, I have e.g. two different packages, How can I use the setup.py to install these two packages in the Google's...
Read more >
02.00-Introduction-to-NumPy.ipynb - Google Colab
This chapter, along with chapter 3, outlines techniques for effectively loading, storing, and manipulating in-memory data in Python.
Read more >
Introduction to Google Colab and the NumPy library
Introduction to Google Colab and the NumPy library · Work from any computers. All notebooks are saved in Google Drive. · Don't need...
Read more >
Specifying dependencies in Python | Cloud Functions ...
Private dependencies from other repositories · Copy your dependency into a local directory: pip install -t. DIRECTORY DEPENDENCY · Add an empty __init__.py...
Read more >
How to easily install private Python packages in Google Colab
This means that you need to install all the packages you need every single time. For most cases, this isn't a particular issue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found