Skip to content

Using a Python virtual environment #1

@palto42

Description

@palto42

I just wanted to report my experience with using a venv for building uPyCraft on my Ubuntu 18.04 (64). This is very useful if you want to avoid conflicts with other Python codes and try out stuff.

The only small issue I found was that I had to install esptool with pip as well before running pyinstaller.

In the created venv I installed all required modules listed in your REAMDE plus esptool with pip. Then I could directly start uPyCraft.py (goos to try this before running pyinstaller). Then I run pyinstaller from within the venv and the resulting binary also works fine.

Thanks for modifying uPyCraft for QT5!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions