I\'ve installed pandana from git:
!{sys.executable} -m pip install git+git://github.com/udst/pandana.git
on my jupyterlab:
/home
Thanks @DavidW. Here's what I did and it fixed the problem:
First, since I am using Collaboratory, I just re-started my session for pandana to uninstall.
I then upgraded Cython:
import sys
!{sys.executable} -m pip install --upgrade cython
# Output:
Collecting cython
Downloading https://files.pythonhosted.org/packages/45/f2/a7101b3457561e57f5abcd6f5ac13190054fecd7370f58f36fe2d6574742/Cython-0.29.13-cp36-cp36m-manylinux1_x86_64.whl (2.1MB)
|████████████████████████████████| 2.1MB 1.9MB/s eta 0:00:01
Installing collected packages: cython
Successfully installed cython-0.29.13
Only then, I installed pandana:
!{sys.executable} -m pip install pandana
And is now working just fine.
So it seems @ead's link to this github-issue makes sense. The cython implemented package was built with the incorrect Cython version to begin with. Had to uninstall, then upgrade Cython and only then, install pandana.