Marathon
Marathon copied to clipboard
Marathon install fails to find module on Linux
Platform
Raspberry PI running Raspbian GNU/Linux 10 (buster)
Issue
sudo marathon install my-script
fails with error output:
🏃 Compiling script...
💥 Failed to compile script
👉 The following error(s) occured:
- 1:8: no such module 'ShellOut'
👉 You can add ShellOut to Marathon using 'marathon add <url-to-ShellOut>'
Steps to reproduce
- Install marathon as described (for Linux) in readme
- Install Shellout module with
marathon add <url-to-ShellOut>
- Create script that imports ShellOut
- Try to install that script
Notes
- Interestingly
marathon run my-script
works just fine with script that uses ShellOut module -
marathon list
shows that ShellOut module is installed indeed - Installing a script without dependencies works correctly
Okay... I'm not sure what happened, but it started to work today. 🙄
Looks like my issue was same as #151