Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
roablep opened this issue Mar 19, 2017 · 2 comments
Open

Comments

@roablep
Copy link

roablep commented Mar 19, 2017

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
Copy link

ghost commented Aug 4, 2017

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

@sharattadimalla
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants