When using mpremote on Windows it appears not to be able to create directories in a mounted folder.
Minimal repro:
(.venv) PS C:\develop\MyPython\micropython-stubber\board>
mpremote mount . exec "import os;os.mkdir('spam')"
Local directory . is mounted at /remote
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'RemoteFS' object has no attribute 'mkdir'
(.venv) PS C:\develop\MyPython\micropython-stubber\board>
and similar issues rise when importing a module that tries to create subfolders.
looking at the code indeed no mkdir method has been implemented.
Is this intentional , or something that could be added ?
When using mpremote on Windows it appears not to be able to create directories in a mounted folder. Minimal repro:
and similar issues rise when importing a module that tries to create subfolders. looking at the code indeed no mkdir method has been implemented. Is this intentional , or something that could be added ?