I'm trying to use beautifulsoup on Windows 10 but am running into an error every time I run the code, 'no module named bs4.' I've tried pip, pip3, and easy_install for both beautifulsoup4 and bs4 but it still won't work. Any help would be appreciated.
Asked
Active
Viewed 177 times
1
-
1Please provide info about your OS system and the version of the package you are using. Thanks. – The Oracle Jul 22 '18 at 22:26
1 Answers
0
Sounds like your PYTHONPATH is set incorrectly, or is missing paths that should be there. You don't mention your platform, but there are a number of different questions revolving around this:
- Fixing a broken PYTHONPATH environment variable
- How to fix the python path
- Pythonpath is still ignored and unable to install locally with pip
Depending on your platform and setup, there might be a number of different ways of fixing this.
You might also consider using a tool such as pipenv to manage "virtual environments" for your different projects, which can be helpful when dependencies clash.

colde
- 3,192
- 1
- 15
- 26
-
@Wxsko glad i could help. I would appreciate if you marked my answer as having answered your question. You can do that on the checkmark to the left of it :) – colde Jul 22 '18 at 23:46