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 problem in Google Colab #1169
Comments
@knaaptime this looks like an issue with tobler/quilt dependency? |
Yeah we can remove that dep. on my to do list for this week |
Thanks for the quick replies, awesome guys! |
tobler 0.3.0 removes the dateutil dependency and is live on pip |
unfortunately, we still have that hardcoded in this pysal release, but we'll make sure it's removed for the next |
@knaaptime i missed this in the 2.3.0 release. I'm assuming we can remove the pinning now? |
yeah we can remove it |
Currently, there is an issue with importing
pysal
into a Google Colab notebook.Since
pysal
is not one of the standard packages for Colab, it needs to be installed using!pip install pysal
in the notebook. The installation works fine, but onceimport pysal
is called, the following error comes upContextualVersionConflict: (python-dateutil 2.8.1 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('python-dateutil<=2.8.0'), {'quilt3'})
So apparently, the
python-dateutil
package needs to be downgraded to version2.8.0
, which can be done calling!pip install -U python-dateutil==2.8.0
at the very beginning of the notebook, however this is still an annoying issue that I wanted to make you aware of!The text was updated successfully, but these errors were encountered: