I have done pip install nest_asyncio successfully but unable to import in python 3.7 (Jupyter notebook)
Hey @parshvashah14, did you make sure that you launched jupyter in the same environment in which you installed nest_asyncio?
I did ‘!pip install nest_asyncio’ in my jupter notebook and then I was able to import.
But just for my knowledge, I would like to ask you: What is the command prompt method to make the environment same for jupyter and any library like nest_asyncio?
In order to make the environment the same, you want to actually launch jupyter from within that environment. Do you launch jupyter from the command line? As an example, I have a conda environment called rasa
, so I
conda activate rasa
before I
jupyter notebook
to make sure all the relevant dependencies are there.
Thank you so much.
I have the same issue. I tried ‘!pip install nest_asyncio’ still unable to import