Error

Thiên Nguyễn Thanh thien.nguyen0707 at hcmut.edu.vn
Tue Aug 18 00:04:48 EDT 2020


Thank you for your response.
it's in this file.

Vào Th 3, 18 thg 8, 2020 vào lúc 10:59 Igor Korot <ikorot01 at gmail.com> đã
viết:

> Hi,
>
>
>
> On Mon, Aug 17, 2020, 10:52 PM Thiên Nguyễn Thanh <
> thien.nguyen0707 at hcmut.edu.vn> wrote:
>
>> Hi,
>> I'm just starting to learn python.
>> I try to install a socketio library.
>> I got the following error
>> [image: image.png]
>> Please answer me with a detailed guide on how to solve the above problem!!
>> Thanks.
>>
>
> Unfortunately we will not be able to see the error as images are not going
> to the list.
>
> Please copy and paste an error
>
> Thank you..
>
>
>
> --
>> https://mail.python.org/mailman/listinfo/python-list
>>
>
-------------- next part --------------
C:\Users\cuong>python -m pip install socketio
Collecting socketio
  Downloading socketio-0.2.1.tar.gz (6.1 kB)
Collecting setuptools==3.3
  Downloading setuptools-3.3-py2.py3-none-any.whl (545 kB)
     |████████████████████████████████| 545 kB 1.3 MB/s
Collecting netifaces==0.10.6
  Downloading netifaces-0.10.6.tar.gz (25 kB)
Using legacy setup.py install for socketio, since package 'wheel' is not installed.
Using legacy setup.py install for netifaces, since package 'wheel' is not installed.
Installing collected packages: setuptools, netifaces, socketio
  Attempting uninstall: setuptools
    Found existing installation: setuptools 47.1.0
    Uninstalling setuptools-47.1.0:
      Successfully uninstalled setuptools-47.1.0
    Running setup.py install for netifaces ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\cuong\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\cuong\\AppData\\Local\\Temp\\pip-install-4vphk1cj\\netifaces\\setup.py'"'"'; __file__='"'"'C:\\Users\\cuong\\AppData\\Local\\Temp\\pip-install-4vphk1cj\\netifaces\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\cuong\AppData\Local\Temp\pip-record-j_2aa79c\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\cuong\AppData\Local\Programs\Python\Python37\Include\netifaces'
         cwd: C:\Users\cuong\AppData\Local\Temp\pip-install-4vphk1cj\netifaces\
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\cuong\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools\__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "C:\Users\cuong\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools\extension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "C:\Users\cuong\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools\dist.py", line 16, in <module>
        import pkg_resources
      File "C:\Users\cuong\AppData\Local\Programs\Python\Python37\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: 'C:\Users\cuong\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\cuong\\AppData\\Local\\Temp\\pip-install-4vphk1cj\\netifaces\\setup.py'"'"'; __file__='"'"'C:\\Users\\cuong\\AppData\\Local\\Temp\\pip-install-4vphk1cj\\netifaces\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\cuong\AppData\Local\Temp\pip-record-j_2aa79c\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\cuong\AppData\Local\Programs\Python\Python37\Include\netifaces' Check the logs for full command output.


More information about the Python-list mailing list