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




Python on Windows 10

First thing you need to do is get the Python installer from Python download page. Some of the binaries and libraries don't function well with 64-bit architecture so the 32-bit (default) installer is preferred.

If you decided to use Python 3.4.1 and above, you won't need to change the System Path Variable as it is integrated during installation.

After installation, just search for python or idle in windows search and you can initiate the Python GUI.


 
Web Statistics