caching - Python PIP Installing Issues -
having great difficulty installing following: argparse==1.2.1, beautifulsoup4==4.3.2 & wsgiref==0.1.2. receive same error each when attempting install of them:
c:\>pip install -r requirements.txt collecting argparse==1.2.1 (from -r requirements.txt (line 1)) using cached argparse-1.2.1.tar.gz exception: traceback (most recent call last): file "c:\python27\lib\site-packages\pip\basecommand.py", line 232, in main status = self.run(options, args) file "c:\python27\lib\site-packages\pip\commands\install.py", line 339, in r un requirement_set.prepare_files(finder) file "c:\python27\lib\site-packages\pip\req\req_set.py", line 385, in prepar e_files req_to_install.run_egg_info() file "c:\python27\lib\site-packages\pip\req\req_install.py", line 310, in ru n_egg_info self.setup_py, self.name, file "c:\python27\lib\site-packages\pip\req\req_install.py", line 281, in se tup_py import setuptools # noqa file "c:\python27\lib\site-packages\setuptools\__init__.py", line 11, in <mo dule> setuptools.extension import extension file "c:\python27\lib\site-packages\setuptools\extension.py", line 8, in <mo dule> .dist import _get_unpatched file "c:\python27\lib\site-packages\setuptools\dist.py", line 16, in <module > setuptools.depends import require file "c:\python27\lib\site-packages\setuptools\depends.py", line 6, in <modu le> setuptools import compat file "c:\python27\lib\site-packages\setuptools\compat.py", line 19, in <modu le> simplehttpserver import simplehttprequesthandler file "c:\python27\lib\simplehttpserver.py", line 27, in <module> class simplehttprequesthandler(basehttpserver.basehttprequesthandler): file "c:\python27\lib\simplehttpserver.py", line 214, in simplehttprequestha ndler mimetypes.init() # try read system mime.types file "c:\python27\lib\mimetypes.py", line 351, in init db.read_windows_registry() file "c:\python27\lib\mimetypes.py", line 254, in read_windows_registry _winreg.openkey(hkcr, subkeyname) subkey: typeerror: must string without null bytes or none, not str collecting argparse==1.2.1 (from -r requirements.txt (line 1)) using cached argparse-1.2.1.tar.gz exception: traceback (most recent call last): file "c:\python27\lib\site-packages\pip\basecommand.py", line 232, in main status = self.run(options, args) file "c:\python27\lib\site-packages\pip\commands\install.py", line 339, in r un requirement_set.prepare_files(finder) file "c:\python27\lib\site-packages\pip\req\req_set.py", line 385, in prepar e_files req_to_install.run_egg_info() file "c:\python27\lib\site-packages\pip\req\req_install.py", line 310, in ru n_egg_info self.setup_py, self.name, file "c:\python27\lib\site-packages\pip\req\req_install.py", line 281, in se tup_py import setuptools # noqa file "c:\python27\lib\site-packages\setuptools\__init__.py", line 11, in <mo dule> setuptools.extension import extension file "c:\python27\lib\site-packages\setuptools\extension.py", line 8, in <mo dule> .dist import _get_unpatched file "c:\python27\lib\site-packages\setuptools\dist.py", line 16, in <module > setuptools.depends import require file "c:\python27\lib\site-packages\setuptools\depends.py", line 6, in <modu le> setuptools import compat file "c:\python27\lib\site-packages\setuptools\compat.py", line 19, in <modu le> simplehttpserver import simplehttprequesthandler file "c:\python27\lib\simplehttpserver.py", line 27, in <module> class simplehttprequesthandler(basehttpserver.basehttprequesthandler): file "c:\python27\lib\simplehttpserver.py", line 214, in simplehttprequestha ndler mimetypes.init() # try read system mime.types file "c:\python27\lib\mimetypes.py", line 351, in init db.read_windows_registry() file "c:\python27\lib\mimetypes.py", line 254, in read_windows_registry _winreg.openkey(hkcr, subkeyname) subkey: typeerror: must string without null bytes or none, not str
what can these things installed or cache wiped? able install other packages fine.
Comments
Post a Comment