To me, it seems like Jupyter Lab is not installed properly, or does not have the proper connections with osmnx. When I try to open Jupyter Lab from Anaconda Navigator and run import osmnx as ox, I get the error "No module named 'osmnx'". Self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)įile "C:\Users\bm17652\.conda\envs\ox\lib\asyncio\events.py", line 501, in add_reader Io_loop.add_handler(sock, accept_handler, IOLoop.READ)įile "C:\Users\bm17652\.conda\envs\ox\lib\site-packages\tornado\platform\asyncio.py", line 99, in add_handler Self._handlers = add_accept_handler(įile "C:\Users\bm17652\.conda\envs\ox\lib\site-packages\tornado\netutil.py", line 279, in add_accept_handler Return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)įile "C:\Users\bm17652\.conda\envs\ox\lib\site-packages\traitlets\config\application.py", line 663, in launch_instanceįile "C:\Users\bm17652\.conda\envs\ox\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_errorįile "C:\Users\bm17652\.conda\envs\ox\lib\site-packages\notebook\notebookapp.py", line 1679, in initializeįile "C:\Users\bm17652\.conda\envs\ox\lib\site-packages\jupyterlab\labapp.py", line 404, in init_webappįile "C:\Users\bm17652\.conda\envs\ox\lib\site-packages\notebook\notebookapp.py", line 1442, in init_webappįile "C:\Users\bm17652\.conda\envs\ox\lib\site-packages\tornado\tcpserver.py", line 152, in listenįile "C:\Users\bm17652\.conda\envs\ox\lib\site-packages\tornado\tcpserver.py", line 165, in add_sockets All you need is the following line conda install -c k2-fsa -c pytorch -c nvidia k2 pytorch1. Please refer to Install from source or Install using pip () if you want to install k2 on Windows. Writing notebook server cookie secret to C:\Users\bm17652\AppData\Roaming\jupyter\runtime\notebook_cookie_secretįile "C:\Users\bm17652\.conda\envs\ox\Scripts\jupyter-lab-script.py", line 9, in įile "C:\Users\bm17652\.conda\envs\ox\lib\site-packages\jupyter_core\application.py", line 268, in launch_instance Install using conda (Linux/macOS) Hint Windows is currently not supported via conda install. I'm sorry for this huge quote, but I don't know how to interpret any of this: In the ox environment, I ran jupyter lab, but this gave the following error.OSMnx and jupyterlab are listed in Anaconda Navigator>Environments>ox>installed. conda create -n ox -c conda-forge osmnx jupyterlab and conda activate ox ran fine.conda config -prepend channels conda-forge ran fine. I ignored this error, assuming conda was up to date.However, this does not go through because I do not 'have write permission to the target environment' ( C:\Program Files \Anaconda3).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |