The steps below will walk you through setting up a virtual environment that contains osmnx
If you're not already logged in, follow the steps found here. In the upper-right corner, click the New button and select Terminal.
Run the following commands one-by-one in the Terminal. This will create a new virtual environment named osmnx, install necessary packages, and create a kernel for using the environment in Jupyter.
conda create -n osmnx python=3
source activate osmnx
conda install geopandas
pip install osmnx
conda install ipykernel
python -m ipykernel install --user --name osmnx --display-name osmnx
Navigate back to the Home tab. Make sure to first refresh the page. Next, click the New button and select the osmnx kernel.
You can now import and run osmnx.