Beautifulsoup Installation

182 views
Skip to first unread message

Nitin Jain

unread,
Apr 27, 2018, 6:35:49 AM4/27/18
to beautifulsoup
I am trying with a week but could not get the solution to install Beautifulsoup in windows 10. Please assist... Thanks in advance

Андрей Ширшов

unread,
Apr 29, 2018, 10:11:53 AM4/29/18
to beautifulsoup
I has problems too:

> pip install beautifulsoup4
Collecting beautifulsoup4
 
Using cached https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl
Installing collected packages: beautifulsoup4
Exception:
Traceback (most recent call last):
 
File "c:\dev\pyenv\lib\site-packages\pip\_internal\basecommand.py", line 228, in main
    status
= self.run(options, args)
 
File "c:\dev\pyenv\lib\site-packages\pip\_internal\commands\install.py", line 335, in run
    use_user_site
=options.use_user_site,
 
File "c:\dev\pyenv\lib\site-packages\pip\_internal\req\__init__.py", line 49, in install_given_reqs
   
**kwargs
 
File "c:\dev\pyenv\lib\site-packages\pip\_internal\req\req_install.py", line 748, in install
    use_user_site
=use_user_site, pycompile=pycompile,
 
File "c:\dev\pyenv\lib\site-packages\pip\_internal\req\req_install.py", line 961, in move_wheel_files
    warn_script_location
=warn_script_location,
 
File "c:\dev\pyenv\lib\site-packages\pip\_internal\wheel.py", line 216, in move_wheel_files
    prefix
=prefix,
 
File "c:\dev\pyenv\lib\site-packages\pip\_internal\locations.py", line 154, in distutils_scheme
    i
= d.get_command_obj('install', create=True)
 
File "C:\Dev\Python-3.6.5\lib\distutils\dist.py", line 857, in get_command_obj
   
self._set_command_options(cmd_obj, options)
 
File "C:\Dev\Python-3.6.5\lib\distutils\dist.py", line 901, in _set_command_options
   
% (source, command_name, option))
distutils
.errors.DistutilsOptionError: error in setup.cfg: command 'install' has no such option 'single_version_externally_managed'

How to fix this?

Best regards,
Andrey.




пятница, 27 апреля 2018 г., 13:35:49 UTC+3 пользователь Nitin Jain написал:

Андрей Ширшов

unread,
Apr 29, 2018, 10:13:10 AM4/29/18
to beautifulsoup
I have Windows 8.1, Python 3.6.5 and pip 10.



воскресенье, 29 апреля 2018 г., 17:11:53 UTC+3 пользователь Андрей Ширшов написал:

Smart Manoj

unread,
May 14, 2018, 10:14:23 PM5/14/18
to beautifulsoup

Андрей Ширшов

unread,
May 27, 2018, 5:35:09 AM5/27/18
to beautifulsoup
Hello, Manoj!

Sorry for late reply. I was busy.

I decided to check instructions you found:

> pip install bs4
Collecting bs4
 
Cache entry deserialization failed, entry ignored
 
Cache entry deserialization failed, entry ignored
 
Downloading https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz
Collecting beautifulsoup4 (from bs4)
 
Cache entry deserialization failed, entry ignored
 
Cache entry deserialization failed, entry ignored
 
Downloading https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl (86kB)
   
100% |████████████████████████████████| 92kB 228kB/s
Building wheels for collected packages: bs4
 
Running setup.py bdist_wheel for bs4 ... done
 
Stored in directory: C:\Users\Sindzicat\AppData\Local\pip\Cache\wheels\a0\b0\b2\4f80b9456b87abedbc0bf2d52235414c3467d8889be38dd472
Successfully built bs4
Installing collected packages: beautifulsoup4, bs4
Successfully installed beautifulsoup4-4.6.0 bs4-0.0.1

That is all works fine! Maybe there were some problems in the previous version of bs4.

However, I will know about this moment.

Many thanks!

Best regards,
Andrey.


вторник, 15 мая 2018 г., 5:14:23 UTC+3 пользователь Smart Manoj написал:
Reply all
Reply to author
Forward
0 new messages