lightning-viz / lightning-example-notebooks

Example Jupyter notebooks of lightning visualizations
http://mybinder.org/repo/lightning-viz/lightning-example-notebooks
MIT License
56 stars 28 forks source link

Python2 vs Python3: ModuleNotFoundError: No module named 'lightning' #3

Open roablep opened 7 years ago

roablep commented 7 years ago

Please update the documentation to distinguish a python2 vs python3 install process (e.g. pip3)

If you fire up ipython, it will default to python3, which can cause confusing ModuleNotFoundError errors

ghost commented 7 years ago

I am also have a little bit of a problem for the error below.... ModuleNotFoundError: No module named 'lightning'

sharattadimalla commented 6 years ago

Default python interpreter is picked up based on your which python is set in your PATH. Use below options to fix your issue.

Option1:

pip3 install lightning-python

Option2: Create a virtualenv and install lightning

virtualenv --version # verify if virtualenv is installed else install pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install lightining-python
pip install jupyter
jupyter notebook # launch notebook