-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Failed to build "littlefs_py_venv" #155
Comments
hmmmm, that's a bit odd (also I don't have a strong intuition on Windows issues), but is there an erroneous |
I solved this by changing it with virtualenv, in project_include.cmake:33, after installing it via pip. |
venv is supposed to be a python builtin, but sometimes it's not shipped with python (for example, on ubuntu/debian it has to be additionally installed with |
as for @BoltSwith issue, I'm pretty sure they have an erroneous
|
I confirm that the builtin idf python doesn't have it though
|
I don't have a good windows environment setup right now, can you check if there's a stray |
I confirm that there is no venv directory neither in the project nor in the environment |
Greetings,
Great library...!! However, I haven't been able to successfully compile it yet...
After including the Component to my components folder, and editing my partition.csv file accordingly, each attempt at building the project produces the error shown below even after cleaning the project. Kindly point me to the source of the error.
ERROR MESSAGE:
-- Configuring done
-- Generating done
-- Build files have been written to: D:/ESP_PROJ/METERBIT_FRAME_1/build
[3/1265] Generating ../../littlefs_py_venv
FAILED: littlefs_py_venv D:/ESP_PROJ/METERBIT_FRAME_1/build/littlefs_py_venv
cmd.exe /C "cd /D D:\ESP_PROJ\METERBIT_FRAME_1\build\esp-idf\main && D:\ESP.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe -m venv D:/ESP_PROJ/METERBIT_FRAME_1/build/littlefs_py_venv && D:/ESP_PROJ/METERBIT_FRAME_1/build/littlefs_py_venv/Scripts/pip.exe install -r D:/ESP_PROJ/METERBIT_FRAME_1/components/joltwallet__littlefs/image-building-requirements.txt"
D:\ESP.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe: No module named venv.main; 'venv' is a package and cannot be directly executed
[11/1265] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
The text was updated successfully, but these errors were encountered: