Set up virtual environment and link it to the jupyter notebook - sheikirfanbasha/kaggle GitHub Wiki
conda create -n <env_name> python=3.6
conda install ipykernel --name <env_name> --display-name <user_friendly_env_name>
jupyter notebook
import sys
print(sys.executable)
1. I have installed a new package in the virtual environment. But, it is showing module not found
error in the notebook. What should I do?
- In most of the cases, just restarting the kernel in the jupyter notebook shall fix the issue. If the problem still persist, then try unistalling the package that is not being loaded and check its installed location. If the location is not inside the virtual env. try unistalling completely and install fresh.