open-wa / wa-automate-python

💬 🤖 The most advanced Python whatsapp library for chatbots with advanced features. Be sure to ⭐ this repository for updates!
Other
330 stars 71 forks source link

no mudule named src #53

Closed mchoud closed 3 years ago

mchoud commented 3 years ago

Hi Brother

I have already tried to install, when step is running this command,

docker run --network selenium -it -e SELENIUM='http://firefox:4444/wd/hub' -v $(pwd):/app wa-automate-python /bin/bash -c "pip install ./;pip list;python sample/remote.py"

there is an error msg

File "sample/remote.py", line 2, in from src import WhatsAPIDriver ModuleNotFoundError: No module named 'src'

I run the command from within wa-automate-python folder.

What is going wrong with me

Thank you so much for your help

mrodal commented 3 years ago

Try this docker run --network selenium -it -e SELENIUM='http://firefox:4444/wd/hub' -v $(pwd):/app wa-automate-python /bin/bash -c "pip install ./;export PYTHONPATH=pwd;pip list;python sample/remote.py"