title: AttributeError: type object 'pandana.cyaccess.cyaccess' has no attribute '__reduce_cython__'
body: <p>I've installed pandana from git:</p>
  
  <p><code>!{sys.executable} -m pip install git+git://github.com/udst/pandana.git</code> </p>
  
  <p>on my jupyterlab: </p>
  
  <p><code>/home/jupyterlab/conda/envs/python/lib/python3.6/site-packages (from fiona-&gt;geopandas&gt;=0.2.1-&gt;osmnet&gt;=0.1.2-&gt;pandana) (7.0)</code></p>
  
  <p>I'm running this code :</p>
  
  <pre><code>import pandana, time, os, pandas as pd, numpy as np
  from pandana.loaders import osm
  
  # define your selected amenities and bounding box
  # configure search at a max distance of 1 km for up to the 10 nearest points-of-interest
  amenities = ['restaurant', 'bar', 'food']
  distance = 1000
  num_pois = 10
  num_categories = len(amenities) + 1 #one for each amenity, plus one extra for all of them combined
  
  # bounding box as a list of llcrnrlat, llcrnrlng, urcrnrlat, urcrnrlng
  # Bounding box for a Edinburgh, Scotland
  west, south, east, north = (-3.449533, 55.818792, -3.074951, 56.004084)
  bbox = [west, south, east, north] #lat-long bounding box for Edinburgh, Scotland
  
  </code></pre>
  
  <p>I'm following this Geoff Boeing's tutorial: andana-accessibility-demo-full.ipynb</p>
  
  <p>When I run the code I get the following error:</p>
  
  <pre><code>---------------------------------------------------------------------------
  AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-183-27bb5991aaa3&gt; in &lt;module&gt;
  ----&gt; 1 import pandana, time, os, pandas as pd, numpy as np
        2 from pandana.loaders import osm
        3 
        4 # define your selected amenities and bounding box
        5 # configure search at a max distance of 1 km for up to the 10 nearest points-of-interest
  
  ~/conda/envs/python/lib/python3.6/site-packages/pandana/__init__.py in &lt;module&gt;
  ----&gt; 1 from .network import Network
        2 
        3 version = __version__ = '0.4.4'
  
  ~/conda/envs/python/lib/python3.6/site-packages/pandana/network.py in &lt;module&gt;
        9 from sklearn.neighbors import KDTree
       10 
  ---&gt; 11 from .cyaccess import cyaccess
       12 from .loaders import pandash5 as ph5
       13 import warnings
  
  src/cyaccess.pyx in init pandana.cyaccess()
  
  AttributeError: type object 'pandana.cyaccess.cyaccess' has no attribute '__reduce_cython__'
  </code></pre>
  
  <p>The <code>reduce_cython</code> error appears a few times when I search in Google but I haven't been able to find something that solves my issue. So far, I've tried updating cython and numpy, which appears to have worked for other people when facing a related issue:</p>
  
  <pre><code>!{sys.executable} -m pip install --upgrade cython
  # Output: Requirement already up-to-date: cython in /home/jupyterlab/conda/envs/python/lib/python3.6/site-packages (0.29.13)
  
  !{sys.executable} -m pip install --upgrade numpy
  # Output: Requirement already up-to-date: numpy in /home/jupyterlab/conda/envs/python/lib/python3.6/site-packages (1.17.2)
  </code></pre>
  
  <p>I have also tried downloading using conda, which seems to have work for some people as well:</p>
  
  <pre><code># Install a conda package in the current Jupyter kernel
  import sys
  !conda install --yes --prefix {sys.prefix} pandana
  </code></pre>
  
  <p>Unfortunately this didn't solve the error for me. </p>
  
  <p>Hope anyone can shed some light? </p>
  
  <p>Thanks so much for your help!</p>