Skip to content
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

osm.get_network() returning None type after one use #180

Open
hulsiejames opened this issue Apr 25, 2022 · 5 comments
Open

osm.get_network() returning None type after one use #180

hulsiejames opened this issue Apr 25, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@hulsiejames
Copy link

I think there may be a bug or at least issue within the OSM.get_network() function?

For reproducibility, this error has occurred on a system running Windows 10 (10.0.18363 Build 18363) with 16GB Ram and a i5-10310U Processor running python within a conda environment with the following packages installed.

(OSMforPython) C:\>conda list
# packages in environment at C:\Users\medjjch\Anaconda3\envs\OSMforPython:
#
# Name                    Version                   Build  Channel
alabaster                 0.7.12             pyhd3eb1b0_0
appdirs                   1.4.4              pyhd3eb1b0_0
argon2-cffi               21.3.0             pyhd3eb1b0_0
argon2-cffi-bindings      21.2.0           py38h2bbff1b_0
arrow                     1.2.2              pyhd3eb1b0_0
astroid                   2.6.6            py38haa95532_0
asttokens                 2.0.5              pyhd3eb1b0_0
atomicwrites              1.4.0                      py_0
attrs                     21.4.0             pyhd3eb1b0_0
autopep8                  1.6.0              pyhd3eb1b0_0
aws-c-common              0.4.57               ha925a31_1
aws-c-event-stream        0.1.6                hd77b12b_5
aws-checksums             0.1.9                ha925a31_0
aws-sdk-cpp               1.8.185              hd77b12b_0
babel                     2.9.1              pyhd3eb1b0_0
backcall                  0.2.0              pyhd3eb1b0_0
bcrypt                    3.2.0            py38he774522_0
binaryornot               0.4.4              pyhd3eb1b0_1
black                     19.10b0                    py_0
blas                      1.0                         mkl
bleach                    4.1.0              pyhd3eb1b0_0
blosc                     1.21.0               h0e60522_0    conda-forge
boost-cpp                 1.74.0               h9f4b32c_8    conda-forge
bottleneck                1.3.4            py38h080aedc_0
branca                    0.4.2              pyhd8ed1ab_0    conda-forge
brotli                    1.0.9                ha925a31_2
brotlipy                  0.7.0           py38h2bbff1b_1003
bzip2                     1.0.8                he774522_0
ca-certificates           2021.10.8            h5b45459_0    conda-forge
cairo                     1.16.0            h15b3021_1010    conda-forge
certifi                   2021.10.8        py38haa244fe_2    conda-forge
cffi                      1.15.0           py38h2bbff1b_1
cfitsio                   4.1.0                h5a969a9_0    conda-forge
chardet                   4.0.0           py38haa95532_1003
charset-normalizer        2.0.4              pyhd3eb1b0_0
click                     7.1.2              pyhd3eb1b0_0
click-plugins             1.1.1              pyhd3eb1b0_0
cligj                     0.7.2            py38haa95532_0
cloudpickle               2.0.0              pyhd3eb1b0_0
colorama                  0.4.4              pyhd3eb1b0_0
confuse                   1.5.0              pyhd3eb1b0_0
cookiecutter              1.7.3              pyhd3eb1b0_0
cryptography              36.0.0           py38h21b164f_0
curl                      7.82.0               h2bbff1b_0
cycler                    0.11.0             pyhd3eb1b0_0
cykhash                   2.0.0            py38h885f38d_1    conda-forge
cython                    0.29.28          py38h885f38d_2    conda-forge
debugpy                   1.5.1            py38hd77b12b_0
decorator                 5.1.1              pyhd3eb1b0_0
defusedxml                0.7.1              pyhd3eb1b0_0
descartes                 1.1.0                      py_4    conda-forge
diff-match-patch          20200713           pyhd3eb1b0_0
docutils                  0.17.1           py38haa95532_1
entrypoints               0.3                      py38_0
executing                 0.8.3              pyhd3eb1b0_0
expat                     2.4.8                h39d44d4_0    conda-forge
fiona                     1.8.21           py38h19672d5_0    conda-forge
flake8                    3.9.2              pyhd3eb1b0_0
folium                    0.12.1.post1       pyhd8ed1ab_1    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.0               hce3cb01_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.25.0             pyhd3eb1b0_0
freetype                  2.10.4               hd328e21_0
freexl                    1.0.6                h2bbff1b_0
gdal                      3.4.2            py38hf334de5_4    conda-forge
geopandas                 0.9.0                      py_1
geopandas-base            0.9.0                      py_1
geos                      3.10.2               h39d44d4_0    conda-forge
geotiff                   1.7.1                h38b14a8_1    conda-forge
gettext                   0.19.8.1          ha2e2712_1008    conda-forge
hdf4                      4.2.15               h0e5069d_3    conda-forge
hdf5                      1.12.1          nompi_h2a0e4a3_104    conda-forge
htmlmin                   0.1.12             pyhd3eb1b0_1
icc_rt                    2019.0.0             h0cc432a_1
icu                       69.1                 h0e60522_0    conda-forge
idna                      3.3                pyhd3eb1b0_0
imagehash                 4.2.1              pyhd3eb1b0_0
imagesize                 1.3.0              pyhd3eb1b0_0
importlib-metadata        4.11.3           py38haa95532_0
importlib_metadata        4.11.3               hd3eb1b0_0
inflection                0.5.1            py38haa95532_0
intel-openmp              2021.4.0          haa95532_3556
intervaltree              3.1.0              pyhd3eb1b0_0
ipykernel                 6.9.1            py38haa95532_0
ipython                   8.2.0            py38haa95532_0
ipython_genutils          0.2.0              pyhd3eb1b0_1
ipywidgets                7.6.5              pyhd3eb1b0_1
isort                     5.9.3              pyhd3eb1b0_0
jbig                      2.1               h8d14728_2003    conda-forge
jedi                      0.18.1           py38haa95532_1
jinja2                    3.0.3              pyhd3eb1b0_0
jinja2-time               0.2.0              pyhd3eb1b0_3
joblib                    1.1.0              pyhd3eb1b0_0
jpeg                      9e                   h8ffe710_0    conda-forge
jsonschema                3.2.0              pyhd3eb1b0_2
jupyter_client            6.1.12             pyhd3eb1b0_0
jupyter_core              4.9.2            py38haa95532_0
jupyterlab_pygments       0.1.2                      py_0
jupyterlab_widgets        1.0.0              pyhd3eb1b0_1
kealib                    1.4.14               h8995ca9_3    conda-forge
keyring                   23.4.0           py38haa95532_0
kiwisolver                1.3.2            py38hd77b12b_0
krb5                      1.19.2               h5b6d351_0
lazy-object-proxy         1.6.0            py38h2bbff1b_0
lcms2                     2.12                 h2a16943_0    conda-forge
lerc                      3.0                  h0e60522_0    conda-forge
libclang                  13.0.1          default_h81446c8_0    conda-forge
libcurl                   7.82.0               h86230a5_0
libdeflate                1.10                 h8ffe710_0    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libgdal                   3.4.2                h0bdba65_4    conda-forge
libglib                   2.70.2               h3be07f2_4    conda-forge
libiconv                  1.16                 he774522_0    conda-forge
libkml                    1.3.0             h9859afa_1014    conda-forge
libnetcdf                 4.8.1           nompi_h1cc8e9d_101    conda-forge
libpng                    1.6.37               h2a8f88b_0
libpq                     14.2                 hfcc5ef8_0    conda-forge
librttopo                 1.1.0                hb1df466_9    conda-forge
libspatialindex           1.9.3                h6c2663c_0
libspatialite             5.0.1               h36c16d9_15    conda-forge
libssh2                   1.9.0                h7a1dbc1_1
libtiff                   4.3.0                hc4061b1_3    conda-forge
libwebp                   1.2.2                h2bbff1b_0
libwebp-base              1.2.2                h8ffe710_1    conda-forge
libxml2                   2.9.12               h0ad7f3c_0
libxslt                   1.1.34               he774522_0
libzip                    1.8.0                hfed4ece_1    conda-forge
libzlib                   1.2.11            h8ffe710_1014    conda-forge
llvmlite                  0.36.0           py38h34b8924_4
lxml                      4.8.0            py38h1985fb9_0
lz4-c                     1.9.3                h2bbff1b_1
m2w64-expat               2.1.1                         2
m2w64-gcc-libgfortran     5.3.0                         6
m2w64-gcc-libs            5.3.0                         7
m2w64-gcc-libs-core       5.3.0                         7
m2w64-gettext             0.19.7                        2
m2w64-gmp                 6.1.0                         2
m2w64-libiconv            1.14                          6
m2w64-libwinpthread-git   5.0.0.4634.697f757               2
m2w64-xz                  5.2.2                         2
mapclassify               2.4.3              pyhd3eb1b0_0
markupsafe                2.0.1            py38h2bbff1b_0
matplotlib                3.5.1            py38haa95532_1
matplotlib-base           3.5.1            py38hd77b12b_1
matplotlib-inline         0.1.2              pyhd3eb1b0_2
mccabe                    0.6.1                    py38_1
missingno                 0.4.2              pyhd3eb1b0_1
mistune                   0.8.4           py38he774522_1000
mkl                       2021.4.0           haa95532_640
mkl-service               2.4.0            py38h2bbff1b_0
mkl_fft                   1.3.1            py38h277e83a_0
mkl_random                1.2.2            py38hf11a4ad_0
msys2-conda-epoch         20160418                      1
munch                     2.5.0              pyhd3eb1b0_0
munkres                   1.1.4                      py_0
mypy_extensions           0.4.3            py38haa95532_1
nbclient                  0.5.11             pyhd3eb1b0_0
nbconvert                 6.1.0            py38haa95532_0
nbformat                  5.1.3              pyhd3eb1b0_0
nest-asyncio              1.5.1              pyhd3eb1b0_0
networkx                  2.7.1              pyhd3eb1b0_0
notebook                  6.4.8            py38haa95532_0
numba                     0.53.0           py38hf11a4ad_0
numexpr                   2.8.1            py38hb80d3ca_0
numpy                     1.21.5           py38ha4e8547_0
numpy-base                1.21.5           py38hc2deb75_0
numpydoc                  1.2                pyhd3eb1b0_0
openjpeg                  2.4.0                h4fc8c34_0
openssl                   1.1.1n               h8ffe710_0    conda-forge
osmnx                     1.0.1              pyhd3deb0d_0    conda-forge
packaging                 21.3               pyhd3eb1b0_0
pandas                    1.4.1            py38hd77b12b_1
pandas-datareader         0.10.0             pyhd3eb1b0_0
pandas-profiling          2.9.0              pyhd3eb1b0_0
pandocfilters             1.5.0              pyhd3eb1b0_0
paramiko                  2.8.1              pyhd3eb1b0_0
parso                     0.8.3              pyhd3eb1b0_0
pathspec                  0.7.0                      py_0
pcre                      8.45                 h0e60522_0    conda-forge
pexpect                   4.8.0              pyhd3eb1b0_3
phik                      0.11.2             pyhd3eb1b0_1
pickleshare               0.7.5           pyhd3eb1b0_1003
pillow                    9.0.1            py38hdc2b20a_0
pip                       21.2.2           py38haa95532_0
pixman                    0.40.0               h8ffe710_0    conda-forge
pluggy                    1.0.0            py38haa95532_1
poppler                   22.01.0              h24fffdf_2    conda-forge
poppler-data              0.4.11               hd8ed1ab_0    conda-forge
postgresql                14.2                 h1c22c4f_0    conda-forge
poyo                      0.5.0              pyhd3eb1b0_0
proj                      9.0.0                h1cfcee9_1    conda-forge
prometheus_client         0.13.1             pyhd3eb1b0_0
prompt-toolkit            3.0.20             pyhd3eb1b0_0
psutil                    5.8.0            py38h2bbff1b_1
ptyprocess                0.7.0              pyhd3eb1b0_2
pure_eval                 0.2.2              pyhd3eb1b0_0
pycodestyle               2.7.0              pyhd3eb1b0_0
pycparser                 2.21               pyhd3eb1b0_0
pydocstyle                6.1.1              pyhd3eb1b0_0
pyflakes                  2.3.1              pyhd3eb1b0_0
pygeos                    0.12.0           py38h1e1a050_2    conda-forge
pygments                  2.11.2             pyhd3eb1b0_0
pylint                    2.9.6            py38haa95532_1
pyls-spyder               0.4.0              pyhd3eb1b0_0
pynacl                    1.4.0            py38h62dcd97_1
pyopenssl                 22.0.0             pyhd3eb1b0_0
pyparsing                 3.0.4              pyhd3eb1b0_0
pyproj                    3.3.0            py38h3b5edaa_2    conda-forge
pyqt                      5.12.3           py38haa244fe_8    conda-forge
pyqt-impl                 5.12.3           py38h885f38d_8    conda-forge
pyqt5-sip                 4.19.18          py38h885f38d_8    conda-forge
pyqtchart                 5.12             py38h885f38d_8    conda-forge
pyqtwebengine             5.12.1           py38h885f38d_8    conda-forge
pyrobuf                   0.9.3            py38h885f38d_3    conda-forge
pyrosm                    0.6.1            py38h885f38d_1    conda-forge
pyrsistent                0.18.0           py38h196d8e1_0
pysocks                   1.7.1            py38haa95532_0
python                    3.8.13               h6244533_0
python-dateutil           2.8.2              pyhd3eb1b0_0
python-lsp-black          1.0.0              pyhd3eb1b0_0
python-lsp-jsonrpc        1.0.0              pyhd3eb1b0_0
python-lsp-server         1.2.4              pyhd3eb1b0_0
python-rapidjson          1.6              py38h885f38d_0    conda-forge
python-slugify            5.0.2              pyhd3eb1b0_0
python_abi                3.8                      2_cp38    conda-forge
pytz                      2021.3             pyhd3eb1b0_0
pywavelets                1.3.0            py38h2bbff1b_0
pywin32                   302              py38h827c3e9_1
pywin32-ctypes            0.2.0                 py38_1000
pywinpty                  2.0.2            py38h5da7b33_0
pyyaml                    6.0              py38h2bbff1b_1
pyzmq                     22.3.0           py38hd77b12b_2
qdarkstyle                3.0.2              pyhd3eb1b0_0
qstylizer                 0.1.10             pyhd3eb1b0_0
qt                        5.12.9               h556501e_6    conda-forge
qtawesome                 1.0.3              pyhd3eb1b0_0
qtconsole                 5.3.0              pyhd3eb1b0_0
qtpy                      2.0.1              pyhd3eb1b0_0
regex                     2022.3.15        py38h2bbff1b_0
requests                  2.27.1             pyhd3eb1b0_0
rope                      0.22.0             pyhd3eb1b0_0
rtree                     0.9.7            py38h2eaa2aa_1
scikit-learn              1.0.2            py38hf11a4ad_1
scipy                     1.7.3            py38h0a974cb_0
seaborn                   0.11.2             pyhd3eb1b0_0
send2trash                1.8.0              pyhd3eb1b0_1
setuptools                58.0.4           py38haa95532_0
shapely                   1.8.0            py38h1e1a050_6    conda-forge
sip                       4.19.13          py38hd77b12b_0
six                       1.16.0             pyhd3eb1b0_1
snowballstemmer           2.2.0              pyhd3eb1b0_0
sortedcontainers          2.4.0              pyhd3eb1b0_0
sphinx                    4.4.0              pyhd3eb1b0_0
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0
sphinxcontrib-htmlhelp    2.0.0              pyhd3eb1b0_0
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0
sphinxcontrib-serializinghtml 1.1.5              pyhd3eb1b0_0
spyder                    5.1.5            py38haa95532_1
spyder-kernels            2.1.3            py38haa95532_0
sqlite                    3.38.2               h2bbff1b_0
stack_data                0.2.0              pyhd3eb1b0_0
tangled-up-in-unicode     0.1.0              pyhd3eb1b0_0
terminado                 0.13.1           py38haa95532_0
testpath                  0.5.0              pyhd3eb1b0_0
text-unidecode            1.3                pyhd3eb1b0_0
textdistance              4.2.1              pyhd3eb1b0_0
threadpoolctl             2.2.0              pyh0d69192_0
three-merge               0.1.1              pyhd3eb1b0_0
tiledb                    2.7.2                h95dad36_0    conda-forge
tinycss                   0.4             pyhd3eb1b0_1002
tk                        8.6.11               h2bbff1b_0
toml                      0.10.2             pyhd3eb1b0_0
tornado                   6.1              py38h2bbff1b_0
tqdm                      4.63.0             pyhd3eb1b0_0
traitlets                 5.1.1              pyhd3eb1b0_0
typed-ast                 1.4.3            py38h2bbff1b_1
typing-extensions         4.1.1                hd3eb1b0_0
typing_extensions         4.1.1              pyh06a4308_0
ujson                     5.1.0            py38hd77b12b_0
unidecode                 1.2.0              pyhd3eb1b0_0
urllib3                   1.26.8             pyhd3eb1b0_0
vc                        14.2                 h21ff451_1
visions                   0.5.0              pyhd3eb1b0_0
vs2015_runtime            14.27.29016          h5e58377_2
watchdog                  2.1.6            py38haa95532_0
wcwidth                   0.2.5              pyhd3eb1b0_0
webencodings              0.5.1                    py38_1
wheel                     0.37.1             pyhd3eb1b0_0
widgetsnbextension        3.5.2            py38haa95532_0
win_inet_pton             1.1.0            py38haa95532_0
wincertstore              0.2              py38haa95532_2
winpty                    0.4.3                         4
wrapt                     1.12.1           py38he774522_1
xerces-c                  3.2.3                ha925a31_0
xz                        5.2.5                h62dcd97_0
yaml                      0.2.5                he774522_0
yapf                      0.31.0             pyhd3eb1b0_0
zipp                      3.7.0              pyhd3eb1b0_0
zlib                      1.2.11            h8ffe710_1014    conda-forge
zstd                      1.5.2                h6255e5f_0    conda-forge

I have been conducting my analysis in both the Spyder IDE (version: 5.1.5) and jupyter notebook (version: 6.4.8) both running Python 3.8.13.

I have been following along with the basic usage guide from the package documentation step by step and keep running into the same issue with get_network() described below.

As a resident of Leeds, I have been performing my analysis on this dataset as I understand what it should look like, rather than the Helsinki test datasets.

# Load available .osm.pbf datasets from BBBike of Geofrabrik and check desired city is one of them! 

places = pyrosm.data.available

"Leeds" in places[cities]   # Returns True, as expected, and I can see the .osm.pbf folder within my Temp folder

I get the the data and initialise the osm.pbf parser object as per the user guide

# Load the data and initialise the OSM reader
  
file_path = pyrosm.get_data('Leeds')
osm = pyrosm.OSM(file_path)

I am able to successfully obtain and plot the network of leeds using network_type='all' (next, I plan on demonstrating that specific networks i.e. "cycling", "driving" can be obtained by passing these to network_type= rather than "all")

# Here we plot the entire network of Leeds

leeds_total_network = osm.get_network(network_type='all' )
print(leeds_total_network.shape)
leeds_total_network.plot()

(135546, 39) # Clearly a GeoDataFrame is returned consisting 125,546 features.

download

So everything has worked as expected. However, now if I try to plot network_type='driving' exclusively, using the same osm parser object as before, a None type is returned.

# Here we request and plot only driavebale roads with a public right of way.

leeds_driving_network = osm.get_network(network_type='driving')
leeds_driving_network.plot()

returns the error:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Input In [16], in <cell line: 4>()
      1 # Here we request and plot only driavebale roads with a public right of way.
      3 leeds_driving_network = osm.get_network(network_type='driving')
----> 4 print(leeds_driving_network.shape)
      5 leeds_driving_network.plot()

AttributeError: 'NoneType' object has no attribute 'shape'

I have also tried re-initialising the osm parser every time I request a new network, however this still yields the same results

# Here we request and plot ways that are friendly to pedestrians
fp = pyrosm.get_data('Leeds')
osm = pyrosm.OSM(fp)

leeds_walking_network = osm.get_network(network_type='walking')
leeds_walking_network.plot()

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Input In [17], in <cell line: 6>()
      3 osm = pyrosm.OSM(fp)
      5 leeds_walking_network = osm.get_network(network_type='walking')
----> 6 leeds_walking_network.plot()

AttributeError: 'NoneType' object has no attribute 'plot'

Giving up on my analysis within a conda environment I decided I would try using google colab, which has worked exactly as expected and I was able to complete all steps demonstrated within the user guide.

Google colab running Python 3.7.13 (default, Mar 16 2022, 17:37:17) with the following packages installed:

Package                       Version               Location                               Installer
----------------------------- --------------------- -------------------------------------- ---------
absl-py                       1.0.0                 /usr/local/lib/python3.7/dist-packages pip
alabaster                     0.7.12                /usr/local/lib/python3.7/dist-packages pip
albumentations                0.1.12                /usr/local/lib/python3.7/dist-packages pip
altair                        4.2.0                 /usr/local/lib/python3.7/dist-packages pip
anyio                         3.5.0                 /usr/local/lib/python3.7/dist-packages pip
appdirs                       1.4.4                 /usr/local/lib/python3.7/dist-packages pip
argon2-cffi                   21.3.0                /usr/local/lib/python3.7/dist-packages pip
argon2-cffi-bindings          21.2.0                /usr/local/lib/python3.7/dist-packages pip
arviz                         0.12.0                /usr/local/lib/python3.7/dist-packages pip
astor                         0.8.1                 /usr/local/lib/python3.7/dist-packages pip
astropy                       4.3.1                 /usr/local/lib/python3.7/dist-packages pip
astunparse                    1.6.3                 /usr/local/lib/python3.7/dist-packages pip
atari-py                      0.2.9                 /usr/local/lib/python3.7/dist-packages pip
atomicwrites                  1.4.0                 /usr/local/lib/python3.7/dist-packages pip
attrs                         21.4.0                /usr/local/lib/python3.7/dist-packages pip
audioread                     2.1.9                 /usr/local/lib/python3.7/dist-packages pip
autograd                      1.4                   /usr/local/lib/python3.7/dist-packages pip
Babel                         2.9.1                 /usr/local/lib/python3.7/dist-packages pip
backcall                      0.2.0                 /usr/local/lib/python3.7/dist-packages pip
beautifulsoup4                4.11.1                /usr/local/lib/python3.7/dist-packages pip
bleach                        5.0.0                 /usr/local/lib/python3.7/dist-packages pip
blis                          0.4.1                 /usr/local/lib/python3.7/dist-packages pip
bokeh                         2.3.3                 /usr/local/lib/python3.7/dist-packages pip
Bottleneck                    1.3.4                 /usr/local/lib/python3.7/dist-packages pip
bqplot                        0.12.33               /usr/local/lib/python3.7/dist-packages pip
branca                        0.4.2                 /usr/local/lib/python3.7/dist-packages pip
bs4                           0.0.1                 /usr/local/lib/python3.7/dist-packages pip
CacheControl                  0.12.10               /usr/local/lib/python3.7/dist-packages pip
cached-property               1.5.2                 /usr/local/lib/python3.7/dist-packages pip
cachetools                    4.2.4                 /usr/local/lib/python3.7/dist-packages pip
catalogue                     1.0.0                 /usr/local/lib/python3.7/dist-packages pip
certifi                       2021.10.8             /usr/local/lib/python3.7/dist-packages pip
cffi                          1.15.0                /usr/local/lib/python3.7/dist-packages pip
cftime                        1.6.0                 /usr/local/lib/python3.7/dist-packages pip
chardet                       3.0.4                 /usr/local/lib/python3.7/dist-packages pip
charset-normalizer            2.0.12                /usr/local/lib/python3.7/dist-packages pip
click                         7.1.2                 /usr/local/lib/python3.7/dist-packages pip
click-plugins                 1.1.1                 /usr/local/lib/python3.7/dist-packages pip
cligj                         0.7.2                 /usr/local/lib/python3.7/dist-packages pip
cloudpickle                   1.3.0                 /usr/local/lib/python3.7/dist-packages pip
cmake                         3.12.0                /usr/local/lib/python3.7/dist-packages pip
cmdstanpy                     0.9.5                 /usr/local/lib/python3.7/dist-packages pip
colorcet                      3.0.0                 /usr/local/lib/python3.7/dist-packages pip
colorlover                    0.3.0                 /usr/local/lib/python3.7/dist-packages pip
colour                        0.1.5                 /usr/local/lib/python3.7/dist-packages pip
community                     1.0.0b1               /usr/local/lib/python3.7/dist-packages pip
contextlib2                   0.5.5                 /usr/local/lib/python3.7/dist-packages pip
convertdate                   2.4.0                 /usr/local/lib/python3.7/dist-packages pip
coverage                      3.7.1                 /usr/local/lib/python3.7/dist-packages pip
coveralls                     0.5                   /usr/local/lib/python3.7/dist-packages pip
crcmod                        1.7                   /usr/local/lib/python3.7/dist-packages pip
cufflinks                     0.17.3                /usr/local/lib/python3.7/dist-packages pip
cvxopt                        1.2.7                 /usr/local/lib/python3.7/dist-packages pip
cvxpy                         1.0.31                /usr/local/lib/python3.7/dist-packages pip
cycler                        0.11.0                /usr/local/lib/python3.7/dist-packages pip
cykhash                       2.0.0                 /usr/local/lib/python3.7/dist-packages pip
cymem                         2.0.6                 /usr/local/lib/python3.7/dist-packages pip
Cython                        0.29.28               /usr/local/lib/python3.7/dist-packages pip
daft                          0.0.4                 /usr/local/lib/python3.7/dist-packages pip
dask                          2.12.0                /usr/local/lib/python3.7/dist-packages pip
datascience                   0.10.6                /usr/local/lib/python3.7/dist-packages pip
debugpy                       1.0.0                 /usr/local/lib/python3.7/dist-packages pip
decorator                     4.4.2                 /usr/local/lib/python3.7/dist-packages pip
defusedxml                    0.7.1                 /usr/local/lib/python3.7/dist-packages pip
descartes                     1.1.0                 /usr/local/lib/python3.7/dist-packages pip
dill                          0.3.4                 /usr/local/lib/python3.7/dist-packages pip
distributed                   1.25.3                /usr/local/lib/python3.7/dist-packages pip
dlib                          19.18.0               /usr/local/lib/python3.7/dist-packages pip
dm-tree                       0.1.7                 /usr/local/lib/python3.7/dist-packages pip
docopt                        0.6.2                 /usr/local/lib/python3.7/dist-packages pip
docutils                      0.17.1                /usr/local/lib/python3.7/dist-packages pip
dopamine-rl                   1.0.5                 /usr/local/lib/python3.7/dist-packages pip
earthengine-api               0.1.306               /usr/local/lib/python3.7/dist-packages pip
easydict                      1.9                   /usr/local/lib/python3.7/dist-packages pip
ecos                          2.0.10                /usr/local/lib/python3.7/dist-packages pip
editdistance                  0.5.3                 /usr/local/lib/python3.7/dist-packages pip
ee-extra                      0.0.13                /usr/local/lib/python3.7/dist-packages pip
en-core-web-sm                2.2.5                 /usr/local/lib/python3.7/dist-packages pip
entrypoints                   0.4                   /usr/local/lib/python3.7/dist-packages pip
ephem                         4.1.3                 /usr/local/lib/python3.7/dist-packages pip
et-xmlfile                    1.1.0                 /usr/local/lib/python3.7/dist-packages pip
fa2                           0.3.5                 /usr/local/lib/python3.7/dist-packages pip
fastai                        1.0.61                /usr/local/lib/python3.7/dist-packages pip
fastdtw                       0.3.4                 /usr/local/lib/python3.7/dist-packages pip
fastjsonschema                2.15.3                /usr/local/lib/python3.7/dist-packages pip
fastprogress                  1.0.2                 /usr/local/lib/python3.7/dist-packages pip
fastrlock                     0.8                   /usr/local/lib/python3.7/dist-packages pip
fbprophet                     0.7.1                 /usr/local/lib/python3.7/dist-packages
feather-format                0.4.1                 /usr/local/lib/python3.7/dist-packages pip
ffmpeg-python                 0.2.0                 /usr/local/lib/python3.7/dist-packages pip
filelock                      3.6.0                 /usr/local/lib/python3.7/dist-packages pip
Fiona                         1.8.21                /usr/local/lib/python3.7/dist-packages pip
firebase-admin                4.4.0                 /usr/local/lib/python3.7/dist-packages pip
fix-yahoo-finance             0.0.22                /usr/local/lib/python3.7/dist-packages pip
Flask                         1.1.4                 /usr/local/lib/python3.7/dist-packages pip
flatbuffers                   2.0                   /usr/local/lib/python3.7/dist-packages pip
folium                        0.12.1.post1          /usr/local/lib/python3.7/dist-packages pip
fonttools                     4.33.2                /usr/local/lib/python3.7/dist-packages pip
future                        0.16.0                /usr/local/lib/python3.7/dist-packages pip
gast                          0.5.3                 /usr/local/lib/python3.7/dist-packages pip
GDAL                          2.2.2                 /usr/local/lib/python3.7/dist-packages pip
gdown                         4.4.0                 /usr/local/lib/python3.7/dist-packages pip
geeadd                        0.5.5                 /usr/local/lib/python3.7/dist-packages pip
geemap                        0.13.2                /usr/local/lib/python3.7/dist-packages pip
gensim                        3.6.0                 /usr/local/lib/python3.7/dist-packages pip
geocoder                      1.38.1                /usr/local/lib/python3.7/dist-packages pip
geographiclib                 1.52                  /usr/local/lib/python3.7/dist-packages pip
geojson                       2.5.0                 /usr/local/lib/python3.7/dist-packages pip
geopandas                     0.10.2                /usr/local/lib/python3.7/dist-packages pip
geopy                         1.17.0                /usr/local/lib/python3.7/dist-packages pip
gin-config                    0.5.0                 /usr/local/lib/python3.7/dist-packages pip
glob2                         0.7                   /usr/local/lib/python3.7/dist-packages pip
google                        2.0.3                 /usr/local/lib/python3.7/dist-packages pip
google-api-core               1.31.5                /usr/local/lib/python3.7/dist-packages pip
google-api-python-client      1.12.11               /usr/local/lib/python3.7/dist-packages pip
google-auth                   1.35.0                /usr/local/lib/python3.7/dist-packages pip
google-auth-httplib2          0.0.4                 /usr/local/lib/python3.7/dist-packages pip
google-auth-oauthlib          0.4.6                 /usr/local/lib/python3.7/dist-packages pip
google-cloud-bigquery         1.21.0                /usr/local/lib/python3.7/dist-packages pip
google-cloud-bigquery-storage 1.1.1                 /usr/local/lib/python3.7/dist-packages pip
google-cloud-core             1.0.3                 /usr/local/lib/python3.7/dist-packages pip
google-cloud-datastore        1.8.0                 /usr/local/lib/python3.7/dist-packages pip
google-cloud-firestore        1.7.0                 /usr/local/lib/python3.7/dist-packages pip
google-cloud-language         1.2.0                 /usr/local/lib/python3.7/dist-packages pip
google-cloud-storage          1.18.1                /usr/local/lib/python3.7/dist-packages pip
google-cloud-translate        1.5.0                 /usr/local/lib/python3.7/dist-packages pip
google-colab                  1.0.0                 /usr/local/lib/python3.7/dist-packages pip
google-pasta                  0.2.0                 /usr/local/lib/python3.7/dist-packages pip
google-resumable-media        0.4.1                 /usr/local/lib/python3.7/dist-packages pip
googleapis-common-protos      1.56.0                /usr/local/lib/python3.7/dist-packages pip
googledrivedownloader         0.4                   /usr/local/lib/python3.7/dist-packages pip
graphviz                      0.10.1                /usr/local/lib/python3.7/dist-packages pip
greenlet                      1.1.2                 /usr/local/lib/python3.7/dist-packages pip
grpcio                        1.44.0                /usr/local/lib/python3.7/dist-packages pip
gspread                       3.4.2                 /usr/local/lib/python3.7/dist-packages pip
gspread-dataframe             3.0.8                 /usr/local/lib/python3.7/dist-packages pip
gym                           0.17.3                /usr/local/lib/python3.7/dist-packages pip
h5py                          3.1.0                 /usr/local/lib/python3.7/dist-packages pip
HeapDict                      1.0.1                 /usr/local/lib/python3.7/dist-packages pip
hijri-converter               2.2.3                 /usr/local/lib/python3.7/dist-packages pip
holidays                      0.10.5.2              /usr/local/lib/python3.7/dist-packages pip
holoviews                     1.14.8                /usr/local/lib/python3.7/dist-packages pip
html5lib                      1.0.1                 /usr/local/lib/python3.7/dist-packages pip
httpimport                    0.5.18                /usr/local/lib/python3.7/dist-packages pip
httplib2                      0.17.4                /usr/local/lib/python3.7/dist-packages pip
httplib2shim                  0.0.3                 /usr/local/lib/python3.7/dist-packages pip
humanize                      0.5.1                 /usr/local/lib/python3.7/dist-packages pip
hyperopt                      0.1.2                 /usr/local/lib/python3.7/dist-packages pip
ideep4py                      2.0.0.post3           /usr/local/lib/python3.7/dist-packages pip
idna                          2.10                  /usr/local/lib/python3.7/dist-packages pip
imageio                       2.4.1                 /usr/local/lib/python3.7/dist-packages pip
imagesize                     1.3.0                 /usr/local/lib/python3.7/dist-packages pip
imbalanced-learn              0.8.1                 /usr/local/lib/python3.7/dist-packages pip
imblearn                      0.0                   /usr/local/lib/python3.7/dist-packages pip
imgaug                        0.2.9                 /usr/local/lib/python3.7/dist-packages pip
importlib-metadata            4.11.3                /usr/local/lib/python3.7/dist-packages pip
importlib-resources           5.7.0                 /usr/local/lib/python3.7/dist-packages pip
imutils                       0.5.4                 /usr/local/lib/python3.7/dist-packages pip
inflect                       2.1.0                 /usr/local/lib/python3.7/dist-packages pip
iniconfig                     1.1.1                 /usr/local/lib/python3.7/dist-packages pip
intel-openmp                  2022.0.2              /usr/local/lib/python3.7/dist-packages pip
intervaltree                  2.1.0                 /usr/local/lib/python3.7/dist-packages pip
ipyevents                     2.0.1                 /usr/local/lib/python3.7/dist-packages pip
ipyfilechooser                0.6.0                 /usr/local/lib/python3.7/dist-packages pip
ipykernel                     4.10.1                /usr/local/lib/python3.7/dist-packages pip
ipyleaflet                    0.16.0                /usr/local/lib/python3.7/dist-packages pip
ipython                       5.5.0                 /usr/local/lib/python3.7/dist-packages pip
ipython-genutils              0.2.0                 /usr/local/lib/python3.7/dist-packages pip
ipython-sql                   0.3.9                 /usr/local/lib/python3.7/dist-packages pip
ipytree                       0.2.1                 /usr/local/lib/python3.7/dist-packages pip
ipywidgets                    7.7.0                 /usr/local/lib/python3.7/dist-packages pip
itsdangerous                  1.1.0                 /usr/local/lib/python3.7/dist-packages pip
jax                           0.3.4                 /usr/local/lib/python3.7/dist-packages pip
jaxlib                        0.3.2+cuda11.cudnn805 /usr/local/lib/python3.7/dist-packages pip
jedi                          0.18.1                /usr/local/lib/python3.7/dist-packages pip
jieba                         0.42.1                /usr/local/lib/python3.7/dist-packages pip
Jinja2                        3.1.1                 /usr/local/lib/python3.7/dist-packages pip
joblib                        1.1.0                 /usr/local/lib/python3.7/dist-packages pip
jpeg4py                       0.1.4                 /usr/local/lib/python3.7/dist-packages pip
json5                         0.9.6                 /usr/local/lib/python3.7/dist-packages pip
jsonschema                    4.3.3                 /usr/local/lib/python3.7/dist-packages pip
jupyter                       1.0.0                 /usr/local/lib/python3.7/dist-packages pip
jupyter-client                7.2.2                 /usr/local/lib/python3.7/dist-packages pip
jupyter-console               5.2.0                 /usr/local/lib/python3.7/dist-packages pip
jupyter-core                  4.9.2                 /usr/local/lib/python3.7/dist-packages pip
jupyter-server                1.16.0                /usr/local/lib/python3.7/dist-packages pip
jupyterlab                    3.3.4                 /usr/local/lib/python3.7/dist-packages pip
jupyterlab-pygments           0.2.2                 /usr/local/lib/python3.7/dist-packages pip
jupyterlab-server             2.13.0                /usr/local/lib/python3.7/dist-packages pip
jupyterlab-widgets            1.1.0                 /usr/local/lib/python3.7/dist-packages pip
kaggle                        1.5.12                /usr/local/lib/python3.7/dist-packages pip
kapre                         0.3.7                 /usr/local/lib/python3.7/dist-packages pip
keras                         2.8.0                 /usr/local/lib/python3.7/dist-packages pip
Keras-Preprocessing           1.1.2                 /usr/local/lib/python3.7/dist-packages pip
keras-vis                     0.4.1                 /usr/local/lib/python3.7/dist-packages pip
kiwisolver                    1.4.2                 /usr/local/lib/python3.7/dist-packages pip
korean-lunar-calendar         0.2.1                 /usr/local/lib/python3.7/dist-packages pip
libclang                      13.0.0                /usr/local/lib/python3.7/dist-packages pip
librosa                       0.8.1                 /usr/local/lib/python3.7/dist-packages pip
lightgbm                      2.2.3                 /usr/local/lib/python3.7/dist-packages pip
llvmlite                      0.34.0                /usr/local/lib/python3.7/dist-packages pip
lmdb                          0.99                  /usr/local/lib/python3.7/dist-packages pip
logzero                       1.7.0                 /usr/local/lib/python3.7/dist-packages pip
LunarCalendar                 0.0.9                 /usr/local/lib/python3.7/dist-packages pip
lxml                          4.2.6                 /usr/local/lib/python3.7/dist-packages pip
Markdown                      3.3.6                 /usr/local/lib/python3.7/dist-packages pip
MarkupSafe                    2.0.1                 /usr/local/lib/python3.7/dist-packages pip
matplotlib                    3.5.1                 /usr/local/lib/python3.7/dist-packages pip
matplotlib-inline             0.1.3                 /usr/local/lib/python3.7/dist-packages pip
matplotlib-venn               0.11.7                /usr/local/lib/python3.7/dist-packages pip
missingno                     0.5.1                 /usr/local/lib/python3.7/dist-packages pip
mistune                       0.8.4                 /usr/local/lib/python3.7/dist-packages pip
mizani                        0.6.0                 /usr/local/lib/python3.7/dist-packages pip
mkl                           2019.0                /usr/local/lib/python3.7/dist-packages pip
mlxtend                       0.14.0                /usr/local/lib/python3.7/dist-packages pip
more-itertools                8.12.0                /usr/local/lib/python3.7/dist-packages pip
moviepy                       0.2.3.5               /usr/local/lib/python3.7/dist-packages pip
mpmath                        1.2.1                 /usr/local/lib/python3.7/dist-packages pip
msgpack                       1.0.3                 /usr/local/lib/python3.7/dist-packages pip
multiprocess                  0.70.12.2             /usr/local/lib/python3.7/dist-packages pip
multitasking                  0.0.10                /usr/local/lib/python3.7/dist-packages pip
munch                         2.5.0                 /usr/local/lib/python3.7/dist-packages pip
murmurhash                    1.0.6                 /usr/local/lib/python3.7/dist-packages pip
music21                       5.5.0                 /usr/local/lib/python3.7/dist-packages pip
natsort                       5.5.0                 /usr/local/lib/python3.7/dist-packages pip
nbclassic                     0.3.7                 /usr/local/lib/python3.7/dist-packages pip
nbclient                      0.6.0                 /usr/local/lib/python3.7/dist-packages pip
nbconvert                     6.5.0                 /usr/local/lib/python3.7/dist-packages pip
nbformat                      5.3.0                 /usr/local/lib/python3.7/dist-packages pip
nest-asyncio                  1.5.5                 /usr/local/lib/python3.7/dist-packages pip
netCDF4                       1.5.8                 /usr/local/lib/python3.7/dist-packages pip
networkx                      2.6.3                 /usr/local/lib/python3.7/dist-packages pip
nibabel                       3.0.2                 /usr/local/lib/python3.7/dist-packages pip
nltk                          3.2.5                 /usr/local/lib/python3.7/dist-packages pip
notebook                      5.3.1                 /usr/local/lib/python3.7/dist-packages pip
notebook-shim                 0.1.0                 /usr/local/lib/python3.7/dist-packages pip
numba                         0.51.2                /usr/local/lib/python3.7/dist-packages pip
numexpr                       2.8.1                 /usr/local/lib/python3.7/dist-packages pip
numpy                         1.21.6                /usr/local/lib/python3.7/dist-packages pip
nvidia-ml-py3                 7.352.0               /usr/local/lib/python3.7/dist-packages pip
oauth2client                  4.1.3                 /usr/local/lib/python3.7/dist-packages pip
oauthlib                      3.2.0                 /usr/local/lib/python3.7/dist-packages pip
okgrade                       0.4.3                 /usr/local/lib/python3.7/dist-packages pip
opencv-contrib-python         4.1.2.30              /usr/local/lib/python3.7/dist-packages pip
opencv-python                 4.1.2.30              /usr/local/lib/python3.7/dist-packages pip
openpyxl                      3.0.9                 /usr/local/lib/python3.7/dist-packages pip
opt-einsum                    3.3.0                 /usr/local/lib/python3.7/dist-packages pip
osmnx                         1.1.2                 /usr/local/lib/python3.7/dist-packages pip
osqp                          0.6.2.post0           /usr/local/lib/python3.7/dist-packages pip
packaging                     21.3                  /usr/local/lib/python3.7/dist-packages pip
palettable                    3.3.0                 /usr/local/lib/python3.7/dist-packages pip
pandas                        1.3.5                 /usr/local/lib/python3.7/dist-packages pip
pandas-datareader             0.9.0                 /usr/local/lib/python3.7/dist-packages pip
pandas-gbq                    0.13.3                /usr/local/lib/python3.7/dist-packages pip
pandas-profiling              1.4.1                 /usr/local/lib/python3.7/dist-packages pip
pandocfilters                 1.5.0                 /usr/local/lib/python3.7/dist-packages pip
panel                         0.12.1                /usr/local/lib/python3.7/dist-packages pip
param                         1.12.1                /usr/local/lib/python3.7/dist-packages pip
parso                         0.8.3                 /usr/local/lib/python3.7/dist-packages pip
pathlib                       1.0.1                 /usr/local/lib/python3.7/dist-packages pip
patsy                         0.5.2                 /usr/local/lib/python3.7/dist-packages pip
pep517                        0.12.0                /usr/local/lib/python3.7/dist-packages pip
pexpect                       4.8.0                 /usr/local/lib/python3.7/dist-packages pip
pickleshare                   0.7.5                 /usr/local/lib/python3.7/dist-packages pip
Pillow                        7.1.2                 /usr/local/lib/python3.7/dist-packages pip
pip                           21.1.3                /usr/local/lib/python3.7/dist-packages pip
pip-tools                     6.2.0                 /usr/local/lib/python3.7/dist-packages pip
plac                          1.1.3                 /usr/local/lib/python3.7/dist-packages pip
plotly                        5.5.0                 /usr/local/lib/python3.7/dist-packages pip
plotnine                      0.6.0                 /usr/local/lib/python3.7/dist-packages pip
pluggy                        0.7.1                 /usr/local/lib/python3.7/dist-packages pip
pooch                         1.6.0                 /usr/local/lib/python3.7/dist-packages pip
portpicker                    1.3.9                 /usr/local/lib/python3.7/dist-packages pip
prefetch-generator            1.0.1                 /usr/local/lib/python3.7/dist-packages pip
preshed                       3.0.6                 /usr/local/lib/python3.7/dist-packages pip
prettytable                   3.2.0                 /usr/local/lib/python3.7/dist-packages pip
progressbar2                  3.38.0                /usr/local/lib/python3.7/dist-packages pip
prometheus-client             0.14.1                /usr/local/lib/python3.7/dist-packages pip
promise                       2.3                   /usr/local/lib/python3.7/dist-packages pip
prompt-toolkit                1.0.18                /usr/local/lib/python3.7/dist-packages pip
protobuf                      3.17.3                /usr/local/lib/python3.7/dist-packages pip
psutil                        5.4.8                 /usr/local/lib/python3.7/dist-packages pip
psycopg2                      2.7.6.1               /usr/local/lib/python3.7/dist-packages pip
ptyprocess                    0.7.0                 /usr/local/lib/python3.7/dist-packages pip
py                            1.11.0                /usr/local/lib/python3.7/dist-packages pip
pyarrow                       6.0.1                 /usr/local/lib/python3.7/dist-packages pip
pyasn1                        0.4.8                 /usr/local/lib/python3.7/dist-packages pip
pyasn1-modules                0.2.8                 /usr/local/lib/python3.7/dist-packages pip
pycocotools                   2.0.4                 /usr/local/lib/python3.7/dist-packages pip
pycparser                     2.21                  /usr/local/lib/python3.7/dist-packages pip
PyCRS                         1.0.2                 /usr/local/lib/python3.7/dist-packages pip
pyct                          0.4.8                 /usr/local/lib/python3.7/dist-packages pip
pydata-google-auth            1.4.0                 /usr/local/lib/python3.7/dist-packages pip
pydot                         1.3.0                 /usr/local/lib/python3.7/dist-packages pip
pydot-ng                      2.0.0                 /usr/local/lib/python3.7/dist-packages pip
pydotplus                     2.0.2                 /usr/local/lib/python3.7/dist-packages pip
PyDrive                       1.3.1                 /usr/local/lib/python3.7/dist-packages pip
pyemd                         0.5.1                 /usr/local/lib/python3.7/dist-packages pip
pyerfa                        2.0.0.1               /usr/local/lib/python3.7/dist-packages pip
pygeos                        0.12.0                /usr/local/lib/python3.7/dist-packages pip
pyglet                        1.5.0                 /usr/local/lib/python3.7/dist-packages pip
Pygments                      2.6.1                 /usr/local/lib/python3.7/dist-packages pip
pygobject                     3.26.1                /usr/lib/python3/dist-packages
pymc3                         3.11.4                /usr/local/lib/python3.7/dist-packages pip
PyMeeus                       0.5.11                /usr/local/lib/python3.7/dist-packages pip
pymongo                       4.1.1                 /usr/local/lib/python3.7/dist-packages pip
pymystem3                     0.2.0                 /usr/local/lib/python3.7/dist-packages pip
PyOpenGL                      3.1.6                 /usr/local/lib/python3.7/dist-packages pip
pyparsing                     3.0.8                 /usr/local/lib/python3.7/dist-packages pip
pyproj                        3.2.1                 /usr/local/lib/python3.7/dist-packages pip
pyrobuf                       0.9.3                 /usr/local/lib/python3.7/dist-packages pip
pyrosm                        0.6.1                 /usr/local/lib/python3.7/dist-packages pip
pyrsistent                    0.18.1                /usr/local/lib/python3.7/dist-packages pip
pyshp                         2.2.0                 /usr/local/lib/python3.7/dist-packages pip
pysndfile                     1.3.8                 /usr/local/lib/python3.7/dist-packages pip
PySocks                       1.7.1                 /usr/local/lib/python3.7/dist-packages pip
pystan                        2.19.1.1              /usr/local/lib/python3.7/dist-packages pip
pytest                        3.6.4                 /usr/local/lib/python3.7/dist-packages pip
python-apt                    0.0.0                 /usr/local/lib/python3.7/dist-packages
python-box                    6.0.2                 /usr/local/lib/python3.7/dist-packages pip
python-chess                  0.23.11               /usr/local/lib/python3.7/dist-packages pip
python-dateutil               2.8.2                 /usr/local/lib/python3.7/dist-packages pip
python-louvain                0.16                  /usr/local/lib/python3.7/dist-packages pip
python-rapidjson              1.6                   /usr/local/lib/python3.7/dist-packages pip
python-slugify                6.1.1                 /usr/local/lib/python3.7/dist-packages pip
python-utils                  3.1.0                 /usr/local/lib/python3.7/dist-packages pip
pytz                          2022.1                /usr/local/lib/python3.7/dist-packages pip
pyviz-comms                   2.2.0                 /usr/local/lib/python3.7/dist-packages pip
PyWavelets                    1.3.0                 /usr/local/lib/python3.7/dist-packages pip
PyYAML                        3.13                  /usr/local/lib/python3.7/dist-packages pip
pyzmq                         22.3.0                /usr/local/lib/python3.7/dist-packages pip
qdldl                         0.1.5.post2           /usr/local/lib/python3.7/dist-packages pip
qtconsole                     5.3.0                 /usr/local/lib/python3.7/dist-packages pip
QtPy                          2.0.1                 /usr/local/lib/python3.7/dist-packages pip
ratelim                       0.1.6                 /usr/local/lib/python3.7/dist-packages pip
regex                         2019.12.20            /usr/local/lib/python3.7/dist-packages pip
requests                      2.27.1                /usr/local/lib/python3.7/dist-packages pip
requests-oauthlib             1.3.1                 /usr/local/lib/python3.7/dist-packages pip
resampy                       0.2.2                 /usr/local/lib/python3.7/dist-packages pip
rpy2                          3.4.5                 /usr/local/lib/python3.7/dist-packages pip
rsa                           4.8                   /usr/local/lib/python3.7/dist-packages pip
Rtree                         1.0.0                 /usr/local/lib/python3.7/dist-packages pip
sankee                        0.0.7                 /usr/local/lib/python3.7/dist-packages pip
scikit-image                  0.18.3                /usr/local/lib/python3.7/dist-packages pip
scikit-learn                  1.0.2                 /usr/local/lib/python3.7/dist-packages pip
scipy                         1.4.1                 /usr/local/lib/python3.7/dist-packages pip
screen-resolution-extra       0.0.0                 /usr/lib/python3/dist-packages
scs                           3.2.0                 /usr/local/lib/python3.7/dist-packages pip
seaborn                       0.11.2                /usr/local/lib/python3.7/dist-packages pip
semver                        2.13.0                /usr/local/lib/python3.7/dist-packages pip
Send2Trash                    1.8.0                 /usr/local/lib/python3.7/dist-packages pip
setuptools                    57.4.0                /usr/local/lib/python3.7/dist-packages pip
setuptools-git                1.2                   /usr/local/lib/python3.7/dist-packages pip
Shapely                       1.8.1.post1           /usr/local/lib/python3.7/dist-packages pip
simplegeneric                 0.8.1                 /usr/local/lib/python3.7/dist-packages pip
six                           1.15.0                /usr/local/lib/python3.7/dist-packages pip
sklearn                       0.0                   /usr/local/lib/python3.7/dist-packages pip
sklearn-pandas                1.8.0                 /usr/local/lib/python3.7/dist-packages pip
smart-open                    5.2.1                 /usr/local/lib/python3.7/dist-packages pip
sniffio                       1.2.0                 /usr/local/lib/python3.7/dist-packages pip
snowballstemmer               2.2.0                 /usr/local/lib/python3.7/dist-packages pip
sortedcontainers              2.4.0                 /usr/local/lib/python3.7/dist-packages pip
SoundFile                     0.10.3.post1          /usr/local/lib/python3.7/dist-packages pip
soupsieve                     2.3.2.post1           /usr/local/lib/python3.7/dist-packages pip
spacy                         2.2.4                 /usr/local/lib/python3.7/dist-packages pip
Sphinx                        1.8.6                 /usr/local/lib/python3.7/dist-packages pip
sphinxcontrib-serializinghtml 1.1.5                 /usr/local/lib/python3.7/dist-packages pip
sphinxcontrib-websupport      1.2.4                 /usr/local/lib/python3.7/dist-packages pip
SQLAlchemy                    1.4.35                /usr/local/lib/python3.7/dist-packages pip
sqlparse                      0.4.2                 /usr/local/lib/python3.7/dist-packages pip
srsly                         1.0.5                 /usr/local/lib/python3.7/dist-packages pip
statsmodels                   0.10.2                /usr/local/lib/python3.7/dist-packages pip
sympy                         1.7.1                 /usr/local/lib/python3.7/dist-packages pip
tables                        3.7.0                 /usr/local/lib/python3.7/dist-packages pip
tabulate                      0.8.9                 /usr/local/lib/python3.7/dist-packages pip
tblib                         1.7.0                 /usr/local/lib/python3.7/dist-packages pip
tenacity                      8.0.1                 /usr/local/lib/python3.7/dist-packages pip
tensorboard                   2.8.0                 /usr/local/lib/python3.7/dist-packages pip
tensorboard-data-server       0.6.1                 /usr/local/lib/python3.7/dist-packages pip
tensorboard-plugin-wit        1.8.1                 /usr/local/lib/python3.7/dist-packages pip
tensorflow                    2.8.0                 /usr/local/lib/python3.7/dist-packages pip
tensorflow-datasets           4.0.1                 /usr/local/lib/python3.7/dist-packages pip
tensorflow-estimator          2.8.0                 /usr/local/lib/python3.7/dist-packages pip
tensorflow-gcs-config         2.8.0                 /usr/local/lib/python3.7/dist-packages pip
tensorflow-hub                0.12.0                /usr/local/lib/python3.7/dist-packages pip
tensorflow-io-gcs-filesystem  0.24.0                /usr/local/lib/python3.7/dist-packages pip
tensorflow-metadata           1.7.0                 /usr/local/lib/python3.7/dist-packages pip
tensorflow-probability        0.16.0                /usr/local/lib/python3.7/dist-packages pip
termcolor                     1.1.0                 /usr/local/lib/python3.7/dist-packages pip
terminado                     0.13.3                /usr/local/lib/python3.7/dist-packages pip
testpath                      0.6.0                 /usr/local/lib/python3.7/dist-packages pip
text-unidecode                1.3                   /usr/local/lib/python3.7/dist-packages pip
textblob                      0.15.3                /usr/local/lib/python3.7/dist-packages pip
Theano-PyMC                   1.1.2                 /usr/local/lib/python3.7/dist-packages pip
thinc                         7.4.0                 /usr/local/lib/python3.7/dist-packages pip
threadpoolctl                 3.1.0                 /usr/local/lib/python3.7/dist-packages pip
tifffile                      2021.11.2             /usr/local/lib/python3.7/dist-packages pip
tinycss2                      1.1.1                 /usr/local/lib/python3.7/dist-packages pip
tomli                         2.0.1                 /usr/local/lib/python3.7/dist-packages pip
toolz                         0.11.2                /usr/local/lib/python3.7/dist-packages pip
torch                         1.10.0+cu111          /usr/local/lib/python3.7/dist-packages pip
torchaudio                    0.10.0+cu111          /usr/local/lib/python3.7/dist-packages pip
torchsummary                  1.5.1                 /usr/local/lib/python3.7/dist-packages pip
torchtext                     0.11.0                /usr/local/lib/python3.7/dist-packages pip
torchvision                   0.11.1+cu111          /usr/local/lib/python3.7/dist-packages pip
tornado                       6.1                   /usr/local/lib/python3.7/dist-packages pip
tqdm                          4.64.0                /usr/local/lib/python3.7/dist-packages pip
traitlets                     5.1.1                 /usr/local/lib/python3.7/dist-packages pip
traittypes                    0.2.1                 /usr/local/lib/python3.7/dist-packages pip
tweepy                        3.10.0                /usr/local/lib/python3.7/dist-packages pip
typeguard                     2.7.1                 /usr/local/lib/python3.7/dist-packages pip
typing-extensions             4.1.1                 /usr/local/lib/python3.7/dist-packages pip
tzlocal                       1.5.1                 /usr/local/lib/python3.7/dist-packages pip
uritemplate                   3.0.1                 /usr/local/lib/python3.7/dist-packages pip
urllib3                       1.24.3                /usr/local/lib/python3.7/dist-packages pip
vega-datasets                 0.9.0                 /usr/local/lib/python3.7/dist-packages pip
wasabi                        0.9.1                 /usr/local/lib/python3.7/dist-packages pip
wcwidth                       0.2.5                 /usr/local/lib/python3.7/dist-packages pip
webencodings                  0.5.1                 /usr/local/lib/python3.7/dist-packages pip
websocket-client              1.3.2                 /usr/local/lib/python3.7/dist-packages pip
Werkzeug                      1.0.1                 /usr/local/lib/python3.7/dist-packages pip
wheel                         0.37.1                /usr/local/lib/python3.7/dist-packages pip
whitebox                      2.1.2                 /usr/local/lib/python3.7/dist-packages pip
whiteboxgui                   0.7.0                 /usr/local/lib/python3.7/dist-packages pip
widgetsnbextension            3.6.0                 /usr/local/lib/python3.7/dist-packages pip
wordcloud                     1.5.0                 /usr/local/lib/python3.7/dist-packages pip
wrapt                         1.14.0                /usr/local/lib/python3.7/dist-packages pip
xarray                        0.18.2                /usr/local/lib/python3.7/dist-packages pip
xgboost                       0.90                  /usr/local/lib/python3.7/dist-packages pip
xkit                          0.0.0                 /usr/lib/python3/dist-packages
xlrd                          1.1.0                 /usr/local/lib/python3.7/dist-packages pip
xlwt                          1.3.0                 /usr/local/lib/python3.7/dist-packages pip
xyzservices                   2022.4.0              /usr/local/lib/python3.7/dist-packages pip
yellowbrick                   1.4                   /usr/local/lib/python3.7/dist-packages pip
zict                          2.1.0                 /usr/local/lib/python3.7/dist-packages pip
zipp                          3.8.0                 /usr/local/lib/python3.7/dist-packages pip

I'm not too sure why I have been successful with Google colabs but not my local instances - any clarification would be greatly appreciated.
Many thanks

@hulsiejames
Copy link
Author

UPDATE

I have since been provided with a new Ubuntu laptop, thus a fresh install and the problems still persist.

As can be seen below - I can request and plot the initial network request I make (leeds_total_network) however any subsequent requests I make (i.e. leeds_driving_network | leeds_walking_network | leeds_cycling_network etc.)

I can request and plot the intitial network I request however an subsequant requests return a NoneType, however I am still able to perform this analysis within google colab with no issues.

Running my script (courtesy of reprexpy)

import pyrosm
import osmnx 
#import geemap
import folium 

print('Hello World!')
#> Hello World!


# View available places  for analysis
available_places = pyrosm.data.available
available_places.keys()
#> dict_keys(['test_data', 'regions', 'subregions', 'cities'])
'Leeds' in available_places['cities']
#> True

# Gets data from pyrosm providers (BBBike or Geofabrik) and stores in /temp directory - file can be saved to a user specified
# location with additional arguments i.e. get_data(place_name, directory='Desired location to save file')
place_name = 'Leeds'
file_path = pyrosm.get_data(place_name)
print('Data downloaded to:', file_path)
#> Data downloaded to: /tmp/pyrosm/Leeds.osm.pbf

# Initialises the OSM object that parses .osm.pbf files
osm = pyrosm.OSM(file_path)
print('osm type:', type(osm))
#> osm type: <class 'pyrosm.pyrosm.OSM'>

# Obtaining the total network for 'Leeds'
leeds_total_network = osm.get_network(network_type = 'all')
print('Variable shape:',leeds_total_network.shape, 'and type:', type(leeds_total_network))
#> Variable shape: (135779, 39) and type: <class 'geopandas.geodataframe.GeoDataFrame'>


# View all columns of data returned
keys = leeds_total_network.columns
print(keys)
#> Index(['access', 'area', 'bicycle', 'bicycle_road', 'bridge', 'busway',
#>        'cycleway', 'est_width', 'foot', 'footway', 'highway', 'int_ref',
#>        'junction', 'lanes', 'lit', 'maxspeed', 'motorcar', 'motor_vehicle',
#>        'name', 'oneway', 'overtaking', 'psv', 'ref', 'service', 'segregated',
#>        'sidewalk', 'smoothness', 'surface', 'tracktype', 'tunnel', 'turn',
#>        'width', 'id', 'timestamp', 'version', 'tags', 'osm_type', 'geometry',
#>        'length'],
#>       dtype='object')

# Plotting the total network for Leeds
leeds_total_network.plot()
#> <AxesSubplot:>

# Plot the dirving network of Leeds
leeds_driving_network = osm.get_network(network_type='driving')
leeds_driving_network.plot()
#> Traceback (most recent call last):
#> /tmp/ipykernel_463772/2209984829.py in <cell line: 1>()
#> ----> 1 leeds_driving_network.plot()
#> AttributeError: 'NoneType' object has no attribute 'plot'

# Here we request and plot ways that a friendly to pedestrians
leeds_walking_network = osm.get_network(network_type='walking')
leeds_walking_network.plot()
#> Traceback (most recent call last):
#> /tmp/ipykernel_463772/3815383564.py in <cell line: 1>()
#> ----> 1 leeds_walking_network.plot()
#> AttributeError: 'NoneType' object has no attribute 'plot'

# Here we request and plot ways that a friendly to cyclists
leeds_cycling_network = osm.get_network(network_type='cycling')
leeds_cycling_network.plot()
#> Traceback (most recent call last):
#> /tmp/ipykernel_463772/1723449363.py in <cell line: 1>()
#> ----> 1 leeds_cycling_network.plot()
#> AttributeError: 'NoneType' object has no attribute 'plot'

# View the number of rows of each network returned
print('all:', leeds_total_network.shape[0],
     '\ndriving:', leeds_driving_network.shape[0],
     '\nwalking:', leeds_walking_network.shape[0],
     '\ncycling:', leeds_cycling_network.shape[0])
#> Traceback (most recent call last):
#> /tmp/ipykernel_463772/2184378707.py in <cell line: 2>()
#>       1 # View the number of rows of each network returned
#>       2 print('all:', leeds_total_network.shape[0],
#> ----> 3      '\ndriving:', leeds_driving_network.shape[0],
#>       4      '\nwalking:', leeds_walking_network.shape[0],
#>       5      '\ncycling:', leeds_cycling_network.shape[0])
#> AttributeError: 'NoneType' object has no attribute 'shape'

# Here we request and plot the dirivng and Public Service Vehicle network for Leeds
test_driving_and_psv = osm.get_network(network_type='driving_psv')
test_driving_and_psv.plot()
#> Traceback (most recent call last):
#> /tmp/ipykernel_463772/3864397027.py in <cell line: 1>()
#> ----> 1 test_driving_and_psv.plot()
#> AttributeError: 'NoneType' object has no attribute 'plot'

# Here we request and plot the driving + service network for Leeds
test_driving_and_Service = osm.get_network(network_type='driving+service')
test_driving_and_Service.plot()
#> Traceback (most recent call last):
#> /tmp/ipykernel_463772/2877354686.py in <cell line: 1>()
#> ----> 1 test_driving_and_Service.plot()
#> AttributeError: 'NoneType' object has no attribute 'plot'

Environment setup (through terminal):

# Create a new environment with spyder installed!
conda create -n OSM_Python spyder

# Select the newly created environment
conda activate OSM_Python

# Install a number of packages used in our analysis (pyrosm get OSM data)
conda install -c conda-forge pyrosm

# Now we install OSMnx (OSM data getting and network analysis)
conda install -c conda-forge osmnx

# Now we install Geemap (visualisation)
conda install -c conda-forge geemap 

# Now we install folium (visualisation)
conda install -c conda-forge folium

# ERROR | No such comm target registered: ipython.widget | error removed through installation of ipywidgets (https://stackoverflow.com/questions/41743837/no-such-comm-target-registered-error-in-ipython)
conda install ipywidgets


# There is some incorrect text rendering fixable with the following (https://stackoverflow.com/questions/63302911/incorrect-rendering-in-anaconda-spyder-wrong-colours-in-text) 
sudo apt install imagemagick-6.q16

# Followed by running
cd /home/james/anaconda3/envs/OSM_Spyder
mogrify $(find . -name '*.png')

Packages on current conda environment:

# packages in environment at /home/james/anaconda3/envs/OSM_Python:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
affine                    2.3.1              pyhd8ed1ab_0    conda-forge
aiohttp                   3.8.1           py310h5764c6d_1    conda-forge
aiosignal                 1.2.0              pyhd8ed1ab_0    conda-forge
alsa-lib                  1.2.3.2              h166bdaf_0    conda-forge
anyio                     3.5.0           py310hff52083_0    conda-forge
aom                       3.3.0                h27087fc_1    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0          py310h5764c6d_2    conda-forge
asttokens                 2.0.5              pyhd8ed1ab_0    conda-forge
async-timeout             4.0.2              pyhd8ed1ab_0    conda-forge
attrs                     21.4.0             pyhd8ed1ab_0    conda-forge
babel                     2.10.1             pyhd8ed1ab_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.11.1             pyha770c72_0    conda-forge
bleach                    5.0.0              pyhd8ed1ab_0    conda-forge
blosc                     1.21.1               hd32f23e_0    conda-forge
boost-cpp                 1.74.0               h6cacc03_7    conda-forge
bqplot                    0.12.33            pyhd8ed1ab_0    conda-forge
branca                    0.4.2              pyhd8ed1ab_0    conda-forge
brotli                    1.0.9                h166bdaf_7    conda-forge
brotli-bin                1.0.9                h166bdaf_7    conda-forge
brotlipy                  0.7.0           py310h5764c6d_1004    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2022.4.26            h06a4308_0  
cachetools                4.2.4              pyhd8ed1ab_0    conda-forge
cairo                     1.16.0            ha12eb4b_1010    conda-forge
certifi                   2020.6.20          pyhd3eb1b0_3  
cffi                      1.15.0          py310h0fdd8cc_0    conda-forge
cfitsio                   4.1.0                hd9d235c_0    conda-forge
charset-normalizer        2.0.12             pyhd8ed1ab_0    conda-forge
click                     8.1.3           py310hff52083_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
cligj                     0.7.2              pyhd8ed1ab_1    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
colour                    0.1.5                      py_0    conda-forge
cryptography              36.0.2          py310h597c629_1    conda-forge
curl                      7.83.0               h7bff187_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
cykhash                   2.0.0           py310hd8f1fbe_1    conda-forge
cython                    0.29.28         py310hd8f1fbe_2    conda-forge
dbus                      1.13.6               h5008d03_3    conda-forge
debugpy                   1.6.0           py310hd8f1fbe_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
earthengine-api           0.1.307            pyhd8ed1ab_0    conda-forge
ee_extra                  0.0.13             pyhd8ed1ab_0    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
executing                 0.8.3              pyhd8ed1ab_0    conda-forge
expat                     2.4.8                h27087fc_0    conda-forge
ffmpeg                    5.0.1                h594f047_0    conda-forge
ffmpeg-python             0.2.0                      py_0    conda-forge
filelock                  3.6.0              pyhd8ed1ab_0    conda-forge
fiona                     1.8.21          py310h35effa4_1    conda-forge
flit-core                 3.7.1              pyhd8ed1ab_0    conda-forge
folium                    0.12.1.post1       pyhd8ed1ab_1    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.0               h8e229c2_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.33.3          py310h5764c6d_0    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
freexl                    1.0.6                h7f98852_0    conda-forge
frozenlist                1.3.0           py310h5764c6d_1    conda-forge
future                    0.18.2          py310hff52083_5    conda-forge
gdal                      3.4.2                    pypi_0    pypi
gdown                     4.4.0              pyhd8ed1ab_0    conda-forge
geeadd                    0.5.4              pyhd8ed1ab_0    conda-forge
geemap                    0.13.4             pyhd8ed1ab_1    conda-forge
geocoder                  1.38.1                     py_1    conda-forge
geojson                   2.5.0                      py_0    conda-forge
geopandas                 0.10.2             pyhd8ed1ab_1    conda-forge
geopandas-base            0.10.2             pyha770c72_1    conda-forge
geos                      3.10.2               h9c3ff4c_0    conda-forge
geotiff                   1.7.1                h509b78c_1    conda-forge
gettext                   0.19.8.1          h73d1719_1008    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
gnutls                    3.6.13               h85f3911_1    conda-forge
google-api-core           1.25.1             pyhd3eb1b0_0  
google-api-python-client  1.12.8             pyhd3deb0d_0    conda-forge
google-auth               1.35.0             pyh6c4a22f_0    conda-forge
google-auth-httplib2      0.1.0              pyhd8ed1ab_0    conda-forge
google-cloud-core         1.7.1              pyhd3eb1b0_0  
google-cloud-storage      1.19.0                     py_0    conda-forge
google-crc32c             1.1.2           py310he8fe98e_3    conda-forge
google-resumable-media    2.1.0              pyh6c4a22f_0    conda-forge
googleapis-common-protos  1.56.0          py310hff52083_0    conda-forge
grpcio                    1.45.0          py310h44b9e0c_0    conda-forge
gst-plugins-base          1.20.2               hcf0ee16_0    conda-forge
gstreamer                 1.20.2               hd4edc92_0    conda-forge
hdf4                      4.2.15               h10796ff_3    conda-forge
hdf5                      1.12.1          nompi_h2386368_104    conda-forge
httplib2                  0.20.4             pyhd8ed1ab_0    conda-forge
httplib2shim              0.0.3              pyh9f0ad1d_0    conda-forge
icu                       69.1                 h9c3ff4c_0    conda-forge
idna                      3.3                pyhd8ed1ab_0    conda-forge
importlib-metadata        4.11.3          py310hff52083_1    conda-forge
importlib_metadata        4.11.3               hd8ed1ab_1    conda-forge
importlib_resources       5.7.1              pyhd8ed1ab_0    conda-forge
ipyevents                 2.0.1              pyhd8ed1ab_0    conda-forge
ipyfilechooser            0.6.0              pyhd8ed1ab_0    conda-forge
ipykernel                 6.13.0          py310hfdc917e_0    conda-forge
ipyleaflet                0.16.0             pyhd8ed1ab_3    conda-forge
ipython                   8.3.0           py310hff52083_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipytree                   0.2.1              pyhd8ed1ab_0    conda-forge
ipywidgets                7.7.0              pyhd8ed1ab_0    conda-forge
jbig                      2.1               h7f98852_2003    conda-forge
jedi                      0.18.1          py310hff52083_1    conda-forge
jinja2                    3.1.1              pyhd8ed1ab_0    conda-forge
joblib                    1.1.0              pyhd8ed1ab_0    conda-forge
jpeg                      9e                   h166bdaf_1    conda-forge
json-c                    0.16                 hc379101_0    conda-forge
json5                     0.9.5              pyh9f0ad1d_0    conda-forge
jsonschema                4.4.0              pyhd8ed1ab_0    conda-forge
jupyter_client            7.3.0              pyhd8ed1ab_0    conda-forge
jupyter_core              4.9.2           py310hff52083_0    conda-forge
jupyter_server            1.17.0             pyhd8ed1ab_0    conda-forge
jupyterlab                3.4.0              pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
jupyterlab_server         2.13.0             pyhd8ed1ab_1    conda-forge
jupyterlab_widgets        1.1.0              pyhd8ed1ab_0    conda-forge
kealib                    1.4.14               h87e4c3c_3    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
kiwisolver                1.4.2           py310hbf28c38_1    conda-forge
krb5                      1.19.3               h3790be6_0    conda-forge
lame                      3.100             h7f98852_1001    conda-forge
lcms2                     2.12                 hddcbb42_0    conda-forge
ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
lerc                      3.0                  h9c3ff4c_0    conda-forge
libblas                   3.9.0           14_linux64_openblas    conda-forge
libbrotlicommon           1.0.9                h166bdaf_7    conda-forge
libbrotlidec              1.0.9                h166bdaf_7    conda-forge
libbrotlienc              1.0.9                h166bdaf_7    conda-forge
libcblas                  3.9.0           14_linux64_openblas    conda-forge
libclang                  13.0.1          default_hc23dcda_0    conda-forge
libcrc32c                 1.1.2                h9c3ff4c_0    conda-forge
libcurl                   7.83.0               h7bff187_0    conda-forge
libdap4                   3.20.6               hd7c4107_2    conda-forge
libdeflate                1.10                 h7f98852_0    conda-forge
libdrm                    2.4.109              h7f98852_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.10               h9b69904_4    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 11.2.0              h1d223b6_16    conda-forge
libgdal                   3.4.2                hb785293_6    conda-forge
libgfortran-ng            11.2.0              h69a702a_16    conda-forge
libgfortran5              11.2.0              h5c6108e_16    conda-forge
libglib                   2.70.2               h174f98d_4    conda-forge
libgomp                   11.2.0              h1d223b6_16    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
libkml                    1.3.0             h238a007_1014    conda-forge
liblapack                 3.9.0           14_linux64_openblas    conda-forge
libllvm13                 13.0.1               hf817b99_2    conda-forge
libnetcdf                 4.8.1           nompi_h329d8a1_102    conda-forge
libnghttp2                1.47.0               h727a467_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopenblas               0.3.20          pthreads_h78a6416_0    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpciaccess              0.16                 h516909a_0    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libpq                     14.2                 hd57d9b9_0    conda-forge
libprotobuf               3.20.0               h6239696_0    conda-forge
librttopo                 1.1.0                hf69c175_9    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libspatialindex           1.9.3                h9c3ff4c_4    conda-forge
libspatialite             5.0.1               ha867d66_15    conda-forge
libssh2                   1.10.0               ha56f1ee_2    conda-forge
libstdcxx-ng              11.2.0              he4da1e4_16    conda-forge
libtiff                   4.3.0                h542a066_3    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libva                     2.14.0               h7f98852_0    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libvpx                    1.11.0               h9c3ff4c_3    conda-forge
libwebp                   1.2.2                h3452ae3_0    conda-forge
libwebp-base              1.2.2                h7f98852_1    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxkbcommon              1.0.3                he3ba5ed_0    conda-forge
libxml2                   2.9.12               h885dcf4_1    conda-forge
libzip                    1.8.0                h4de3113_1    conda-forge
libzlib                   1.2.11            h166bdaf_1014    conda-forge
logzero                   1.7.0           py310hff52083_2    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
mapclassify               2.4.3              pyhd8ed1ab_0    conda-forge
markupsafe                2.1.1           py310h5764c6d_1    conda-forge
matplotlib                3.5.2           py310hff52083_0    conda-forge
matplotlib-base           3.5.2           py310h5701ce4_0    conda-forge
matplotlib-inline         0.1.3              pyhd8ed1ab_0    conda-forge
mistune                   0.8.4           py310h6acc77f_1005    conda-forge
multidict                 6.0.2           py310h5764c6d_1    conda-forge
munch                     2.5.0                      py_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mysql-common              8.0.29               haf5c9bc_0    conda-forge
mysql-libs                8.0.29               h28c427c_0    conda-forge
nbclassic                 0.3.7              pyhd8ed1ab_0    conda-forge
nbclient                  0.6.2              pyhd8ed1ab_0    conda-forge
nbconvert                 6.5.0              pyhd8ed1ab_0    conda-forge
nbconvert-core            6.5.0              pyhd8ed1ab_0    conda-forge
nbconvert-pandoc          6.5.0              pyhd8ed1ab_0    conda-forge
nbformat                  5.4.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  h27087fc_1    conda-forge
nest-asyncio              1.5.5              pyhd8ed1ab_0    conda-forge
nettle                    3.6                  he412f7d_0    conda-forge
networkx                  2.8                pyhd8ed1ab_0    conda-forge
notebook                  6.4.11             pyha770c72_0    conda-forge
notebook-shim             0.1.0              pyhd8ed1ab_0    conda-forge
nspr                      4.32                 h9c3ff4c_1    conda-forge
nss                       3.77                 h2350873_0    conda-forge
numpy                     1.22.3          py310h4ef5377_2    conda-forge
openh264                  2.1.1                h780b84a_0    conda-forge
openjpeg                  2.4.0                hb52868f_1    conda-forge
openssl                   1.1.1n               h7f8727e_0  
osmnx                     1.1.2              pyhd8ed1ab_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.4.2           py310h769672d_1    conda-forge
pandoc                    2.18                 ha770c72_0    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    9.1.0           py310he619898_2    conda-forge
pip                       22.0.4             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
plotly                    5.7.0              pyhd8ed1ab_0    conda-forge
poppler                   22.01.0              h1434ded_2    conda-forge
poppler-data              0.4.11               hd8ed1ab_0    conda-forge
postgresql                14.2                 h2510834_0    conda-forge
proj                      9.0.0                h93bde94_1    conda-forge
prometheus_client         0.14.1             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.29             pyha770c72_0    conda-forge
protobuf                  3.20.0          py310hd8f1fbe_4    conda-forge
psutil                    5.9.0           py310h5764c6d_1    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.7                      py_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pycrs                     1.0.2                      py_0    conda-forge
pygeos                    0.12.0          py310hb974679_2    conda-forge
pygments                  2.12.0             pyhd8ed1ab_0    conda-forge
pyopenssl                 22.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.8              pyhd8ed1ab_0    conda-forge
pyproj                    3.3.1           py310h9bf108f_0    conda-forge
pyqt                      5.12.3          py310hff52083_8    conda-forge
pyqt-impl                 5.12.3          py310h1f8e252_8    conda-forge
pyqt5-sip                 4.19.18         py310h122e73d_8    conda-forge
pyqtchart                 5.12            py310hfcd6d55_8    conda-forge
pyqtwebengine             5.12.1          py310hfcd6d55_8    conda-forge
pyrobuf                   0.9.3           py310hd8f1fbe_4    conda-forge
pyrosm                    0.6.1           py310hd8f1fbe_1    conda-forge
pyrsistent                0.18.1          py310h5764c6d_1    conda-forge
pyshp                     2.3.0              pyhd8ed1ab_0    conda-forge
pysocks                   1.7.1           py310hff52083_5    conda-forge
python                    3.10.4          h9a8a25e_0_cpython    conda-forge
python-box                6.0.2              pyhd8ed1ab_0    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.15.3             pyhd8ed1ab_0    conda-forge
python-rapidjson          1.6             py310hd8f1fbe_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pytz                      2022.1             pyhd8ed1ab_0    conda-forge
pyu2f                     0.1.5              pyhd8ed1ab_0    conda-forge
pyzmq                     22.3.0          py310h330234f_2    conda-forge
qt                        5.12.9               h1304e3e_6    conda-forge
rasterio                  1.2.10          py310hdadb6e9_5    conda-forge
ratelim                   0.1.6                      py_2    conda-forge
readline                  8.1                  h46c0cb4_0    conda-forge
requests                  2.27.1             pyhd8ed1ab_0    conda-forge
rsa                       4.8                pyhd8ed1ab_0    conda-forge
rtree                     1.0.0           py310hbdcdc62_1    conda-forge
ruamel.yaml               0.17.21         py310h5764c6d_1    conda-forge
ruamel.yaml.clib          0.2.6           py310h5764c6d_1    conda-forge
sankee                    0.0.7              pyhd8ed1ab_0    conda-forge
scikit-learn              1.0.2           py310h1246948_0    conda-forge
scipy                     1.8.0           py310hea5193d_1    conda-forge
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
setuptools                62.1.0          py310hff52083_0    conda-forge
shapely                   1.8.2           py310hb974679_0    conda-forge
simplejson                3.17.6          py310h5764c6d_1    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.8                he1b5a44_3    conda-forge
sniffio                   1.2.0           py310hff52083_3    conda-forge
snuggs                    1.4.7                      py_0    conda-forge
soupsieve                 2.3.1              pyhd8ed1ab_0    conda-forge
sqlite                    3.38.4               h4ff8645_0    conda-forge
stack_data                0.2.0              pyhd8ed1ab_0    conda-forge
svt-av1                   0.9.1                h27087fc_0    conda-forge
tenacity                  8.0.1              pyhd8ed1ab_0    conda-forge
terminado                 0.13.3          py310hff52083_1    conda-forge
threadpoolctl             3.1.0              pyh8a188c0_0    conda-forge
tiledb                    2.8.2                h1e4a385_0    conda-forge
tinycss2                  1.1.1              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tornado                   6.1             py310h5764c6d_3    conda-forge
tqdm                      4.64.0             pyhd8ed1ab_0    conda-forge
traitlets                 5.1.1              pyhd8ed1ab_0    conda-forge
traittypes                0.2.1              pyh9f0ad1d_2    conda-forge
typing-extensions         4.2.0                hd8ed1ab_1    conda-forge
typing_extensions         4.2.0              pyha770c72_1    conda-forge
tzcode                    2022a                h166bdaf_0    conda-forge
tzdata                    2022a                h191b570_0    conda-forge
unicodedata2              14.0.0          py310h5764c6d_1    conda-forge
uritemplate               3.0.1                      py_0    conda-forge
urllib3                   1.26.9             pyhd8ed1ab_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          1.3.2              pyhd8ed1ab_0    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
whitebox                  2.1.2              pyhd8ed1ab_0    conda-forge
whiteboxgui               0.7.0              pyhd8ed1ab_0    conda-forge
widgetsnbextension        3.6.0           py310hff52083_0    conda-forge
x264                      1!161.3030           h7f98852_1    conda-forge
x265                      3.5                  h924138e_3    conda-forge
xerces-c                  3.2.3                h8ce2273_4    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xyzservices               2022.4.0           pyhd8ed1ab_0    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yarl                      1.7.2           py310h5764c6d_2    conda-forge
zeromq                    4.3.4                h9c3ff4c_1    conda-forge
zipp                      3.8.0              pyhd8ed1ab_0    conda-forge
zlib                      1.2.11            h166bdaf_1014    conda-forge
zstd                      1.5.2                ha95c52a_0    conda-forge

@HTenkanen
Copy link
Owner

@hulsiejames : Thanks for reporting and good reproducible examples. Will take a look this in the coming days.

@HTenkanen HTenkanen added the bug Something isn't working label May 16, 2022
@lenkahas
Copy link

Hi, sorry to add to this, I'm having the same issue. I can only get one network for one session and need to restart the kernel to get another network.

@HTenkanen
Copy link
Owner

@lenkahas Hmm, quite weird behavior. Thanks for reporting, will also look at this.

@HTenkanen
Copy link
Owner

This has been hanging for veeery long, but I just tried to reproduce this error and things works as expected on my computer. I.e. I can retrieve multiple different networks using the same osm instance (without a need to re-initialize the object). In case this is still relevant, could you try to reinstall the new version of pyrosm v0.6.2 and see if the problem still exists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants