jkent / frogfs

Fast Read-Only General-purpose File System (ESP-IDF and ESP8266_RTOS_SDK compatible)
https://frogfs.readthedocs.io
Mozilla Public License 2.0
25 stars 32 forks source link

venv doesn't exist in ESP-IDF Python on Windows #33

Closed xobs closed 1 year ago

xobs commented 2 years ago

The new version of FrogFS appears to rely on venv in order to install just the right dependencies into the build system.

However, venv appears to be broken on the ESP version of Python, at least on Windows:

[11:29:05 pm] E:/Code/esp/blackmagic-esp32/components/frogfs> cmd.exe /C "cd /D E:\Code\esp\blackmagic-esp32\build && C:\Users\Sean\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe -m venv ."
[11:29:05 pm] E:/Code/esp/blackmagic-esp32/components/frogfs> cmd.exe /C "cd /D E:\Code\esp\blackmagic-esp32\build && C:\Users\Sean\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe --version"
Python 3.8.7
[11:30:37 pm] E:/Code/esp/blackmagic-esp32/components/frogfs>
jkent commented 1 year ago

idf-python under Windows is now Python 3.11.2, which has the venv module. I will be revisiting this.