Skip to content

Conversation

@thijstriemstra
Copy link
Collaborator

fixes #166

Next, create a `virtual environment <https://docs.python.org/3/library/venv.html>`__::

$ sudo -H pip install -e .
$ python3 -m venv ~/luma-env
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tend to use:

python3 -m venv .venv
.venv/bin/activate

I think IDEs like vscode and tools like pyenv will sniff out a .venv directory and will auto-activate it.

Is there any reason not to stick to that convention?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or are you aiming to pull all the dependencies for all sub-projects into one place?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason not to stick to that convention?

I didn't know that IDEs like vscode and tools like pyenv will sniff out a .venv directory and will auto-activate it, but maybe I'm just old-skool :-/

Copy link
Collaborator Author

@thijstriemstra thijstriemstra Mar 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason not to stick to that convention?

I like to know where my virtual envs live, explicitly, in this case ~/luma-env, and since I didn't know about that convention (and new users wont either i'd guess) I chose this.

@thijstriemstra thijstriemstra requested a review from rm-hull March 13, 2024 00:28
@haemmer-dave
Copy link

Is there an update to this PR? There is a docu enhancement I'd like to add after the PR has been merged.

@thijstriemstra 's change would be consistent with the installation instructions in other luma docs like https://luma-oled.readthedocs.io/en/latest/software.html

@thijstriemstra
Copy link
Collaborator Author

thijstriemstra commented Jan 29, 2025

thijstriemstra requested a review from rm-hull 10 months ago

@rm-hull rm-hull merged commit 63da44e into main Jul 2, 2025
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Module(s) not found because of wrong installation

4 participants