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

Module(s) not found because of wrong installation #166

Open
jvherck opened this issue Dec 3, 2023 · 3 comments · May be fixed by #167
Open

Module(s) not found because of wrong installation #166

jvherck opened this issue Dec 3, 2023 · 3 comments · May be fixed by #167

Comments

@jvherck
Copy link

jvherck commented Dec 3, 2023

The installation guide on the homepage https://github.com/rm-hull/luma.examples#readme says to use

$ sudo -H pip install -e .

to install the dependencies. I tried and I got the error ModuleNotFoundError: no module named luma.
I was able to resolve this by using

$ sudo -H pip3 install -e .

instead. When trying to run something now, it does work. So please update your documentation please :)

@dg1kwa
Copy link

dg1kwa commented Dec 15, 2023

I have this (Raspbian 12 64bit):

pi@raspberrypi:~/luma.examples $ sudo -H pip3 install -e .
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
pi@raspberrypi:~/luma.examples $

thijstriemstra added a commit that referenced this issue Dec 15, 2023
@thijstriemstra thijstriemstra linked a pull request Dec 15, 2023 that will close this issue
@thijstriemstra
Copy link
Collaborator

So please update your documentation please :)

See #167

@dg1kwa please try the updated instructions, temporarily located at https://github.com/rm-hull/luma.examples/tree/env-doc#installation-instructions until that pull request is merged.

@dg1kwa
Copy link

dg1kwa commented Dec 15, 2023

So please update your documentation please :)

See #167

@dg1kwa please try the updated instructions, temporarily located at https://github.com/rm-hull/luma.examples/tree/env-doc#installation-instructions until that pull request is merged.

this work fine with raspbian 12 64bit. Thank you very much for very fast fix the problem.

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

Successfully merging a pull request may close this issue.

3 participants