Hello,
I am using Windows 10
Using Python 3.7
and trying to install BeautifulSoup 4.4.6
Python works from a command prompt and also works from Eclipse
I looked at some Youtube videos on how to install bs4 - and in their examples all was good. Except, I am using more recent versions....
But when I try to install bs4...having some issues. Suggestions? Help?
Thanks for your patience!
Stuff that went sideways....
C:\Users\Idiot\Downloads\dist\beautifulsoup4-4.6.0>setup.py install
running install
running bdist_egg
running egg_info
writing beautifulsoup4.egg-info\PKG-INFO
writing dependency_links to beautifulsoup4.egg-info\dependency_links.txt
writing requirements to beautifulsoup4.egg-info\requires.txt
writing top-level names to beautifulsoup4.egg-info\top_level.txt
reading manifest file 'beautifulsoup4.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'beautifulsoup4.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
copying beautifulsoup4.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO
copying beautifulsoup4.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying beautifulsoup4.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INFO
copying beautifulsoup4.egg-info\requires.txt -> build\bdist.win32\egg\EGG-INFO
copying beautifulsoup4.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
Traceback (most recent call last):
File "C:\Users\Idiot\Downloads\dist\beautifulsoup4-4.6.0\setup.py", line 31, in <module>
"Topic :: Software Development :: Libraries :: Python Modules",
File "C:\Users\Idiot\Python\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\Idiot\Python\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\Idiot\Python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Idiot\Python\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\Users\Idiot\Python\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "C:\Users\Idiot\Python\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Idiot\Python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Idiot\Python\lib\site-packages\setuptools\command\bdist_egg.py", line 209, in run
os.path.join(archive_root, 'EGG-INFO'), self.zip_safe()
File "C:\Users\Idiot\Python\lib\site-packages\setuptools\command\bdist_egg.py", line 245, in zip_safe
return analyze_egg(self.bdist_dir, self.stubs)
File "C:\Users\Idiot\Python\lib\site-packages\setuptools\command\bdist_egg.py", line 355, in analyze_egg
safe = scan_module(egg_dir, base, name, stubs) and safe
File "C:\Users\Idiot\Python\lib\site-packages\setuptools\command\bdist_egg.py", line 395, in scan_module
symbols = dict.fromkeys(iter_symbols(code))
File "C:\Users\Idiot\Python\lib\site-packages\setuptools\command\bdist_egg.py", line 414, in iter_symbols
for name in code.co_names:
AttributeError: 'str' object has no attribute 'co_names'