0
When I run the command:
python checker.py capture.xml indication NULL
I get the error:
Traceback (most recent call last): File "checker.py", line 1, in ModuleNotFoundError: No module named 'bs4'
so I decided install bs4 in Python 24 but when I do:
pip install bs4
I get this message:
Requirement already satisfied: bs4 in c:\program files\python36\lib\site-packages Requirement already satisfied: beautifulsoup4 in c:\program files\python36\lib\site-packages (from bs4) You are using pip version 9.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
so indeed, the module is in that folder so I added c:\program files\python36\lib\ to the path environment variable just in case, but I'm getting the same thing.
Any idea on how to solve this, please?
1So which version of python are you running? Python 2.4 or python 3.6? You have to add the executable to the path, then ensure the pip bootstrap is on. Then you should call the apropiate pip for the apropiate version. – dmb – 2018-11-20T12:56:44.947