wendlers / mpfshell

A simple shell based file explorer for ESP8266 Micropython based devices ⛺
MIT License
396 stars 84 forks source link

mpfshell.py has to be called in its directory on W10 #28

Closed NoPinky closed 5 years ago

NoPinky commented 7 years ago

I have mpfshell installed on my W10 machine with Python 2.7. Unlike esptool.py, mpfshell.py can't be just called from anywhere in the cmd-shell of W10. I have to cd C:\Python27\Lib\site-packages\mp before I can successfully call mpfshell.py. The reason seems to be because mpfshell keep its files under \site-packages\mp\ and doesn't have the .py and .pyc files in the \site-packages\ folder like esptool does I'm new to Python, so I don't know how Python handles that kind of global calls at all.

BoKKeR commented 6 years ago

I use this workaround python -m mpfshell The problem is actually not with path but the setup.py as it seems to miss the executable ??? I will look into it more

skorokithakis commented 5 years ago

This should be solved now, calling mpfshell from anywhere should work.