5.10.16

BeautifulSoup4 for Python3 on Windows10

ImportError: No module named bs4

In order to run pip install, you need to navigate into the installed python.exe folder which was not c:\Program Files (86) in my case.

Open command prompt and run the following command to reach the installed directory of pip.
cd c:\users\username\appdata\local\programs\python\python35-32\scripts

Note: 'username' needs to be replaced with your username on the computer.

Next, run pip install.

c:\users\~\scripts>pip install beautifulsoup4




No comments:

 
Web Statistics