zauberzeug/livesync

Problems with importing mutex module

Closed this issue · 2 comments

In 1a772a0#diff-c978be6905cfee18321359be830bc321deb78d07b25b7842607080b68cf867e0 I changed the line

from livesync import Mutex

to

from mutex import Mutex

The new line is usually the way to import modules from the current directory and this way we can start ./livesync.py locally. But when installing via pip install -e ., calling livesync raises an error: "ModuleNotFoundError: No module named 'mutex'"

Apparently, this has to do with an issue with pip. Do we want to try changing the repo structure as suggested, or should we simply revert this line and only call livesync and not ./livesync?

Unfortunately I don't get the proposed solution in https://stackoverflow.com/a/60211007/3419103 to work...

I'll close this issue. Calling livesync is the way to go.