socket.io-python-emitter icon indicating copy to clipboard operation
socket.io-python-emitter copied to clipboard

pip install failure, AttributeError

Open JNicolai-mevex opened this issue 5 years ago • 0 comments

When attempting to install socket.io-python-emitter via pip using the command: pip install socket.io-emitter it results in the following output:

PS C:\Users\USER1\Desktop\test> pip install socket.io-emitter
Collecting socket.io-emitter
  Using cached socket.io_emitter-0.1.5.1-py2.py3-none-any.whl (6.1 kB)
Collecting redis
  Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB)
     |████████████████████████████████| 72 kB 2.6 MB/s
Collecting msgpack-python
  Using cached msgpack-python-0.5.6.tar.gz (138 kB)
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\USER1\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USER1\\AppData\\Local\\Temp\\pip-install-43ai8yi9\\msgpack-python\\setup.py'"'"'; __file__='"'"'C:\\Users\\USER1\\AppData\\Local\\Temp\\pip-install-43ai8yi9\\msgpack-python\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\USER1\AppData\Local\Temp\pip-pip-egg-info-el2gadt8'
         cwd: C:\Users\USER1\AppData\Local\Temp\pip-install-43ai8yi9\msgpack-python\
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\USER1\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "c:\users\USER1\appdata\local\programs\python\python38\lib\site-packages\setuptools\extension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "c:\users\USER1\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 16, in <module>
        import pkg_resources
      File "c:\users\USER1\appdata\local\programs\python\python38\lib\site-packages\pkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

pip version: pip 20.2.2 from c:\users\ebeam\appdata\local\programs\python\python38\lib\site-packages\pip (python 3.8) Python version: Python 3.8.3

JNicolai-mevex avatar Aug 26 '20 16:08 JNicolai-mevex