Twitch-Channel-Points-Miner-v2
Twitch-Channel-Points-Miner-v2 copied to clipboard
/usr/local/bin/python: can't find '__main__' module in '/usr/src/app/run.py'
Ubuntu 20.04 LTS x64 (everything up2date)
installed it with:
docker run
-v $(pwd)/analytics:/usr/src/app/analytics
-v $(pwd)/cookies:/usr/src/app/cookies
-v $(pwd)/logs:/usr/src/app/logs
-v $(pwd)/run.py:/usr/src/app/run.py:ro
-p 5018:5018
tkdalex/twitch-channel-points-miner-v2
When im trying to start the container it stops and i see this error in the logs: /usr/local/bin/python: can't find 'main' module in '/usr/src/app/run.py'
Make sure to have the $(pwd)/run.py
file
Im a little bit confused. How to do this?
Thanks
https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2#how-to-use
https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2#how-to-use
Thanks! Shouldnt this be in the docker container?
mh nope, the file should be on your machine, and It will be linked by docker volumes
I have the same issue. When I run the container in interactive mode it works without issue but when I try to launch it through Portainer I get the following: