Closed mchoud closed 4 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
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"
pwd
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