donnemartin / gitsome

A supercharged Git/GitHub command line interface (CLI). An official integration for GitHub and GitHub Enterprise: https://github.com/works-with/category/desktop-tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python setup.py egg_info Check the logs for full command output.

opened this issue · comments

C:\Users\Miyuru>python -m pip install python-nmap
Collecting python-nmap
Using cached python-nmap-0.6.1.tar.gz (41 kB)
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Miyuru\AppData\Local\Programs\Python\Python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Miyuru\AppData\Local\Temp\pip-install-l5sxa6y1\python-nmap\setup.py'"'"'; file='"'"'C:\Users\Miyuru\AppData\Local\Temp\pip-install-l5sxa6y1\python-nmap\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\Miyuru\AppData\Local\Temp\pip-pip-egg-info-0vuq2g28'
cwd: C:\Users\Miyuru\AppData\Local\Temp\pip-install-l5sxa6y1\python-nmap
Complete output (11 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Miyuru\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools_init_.py", line 12, in
from setuptools.extension import Extension
File "C:\Users\Miyuru\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools\extension.py", line 7, in
from setuptools.dist import _get_unpatched
File "C:\Users\Miyuru\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools\dist.py", line 16, in
import pkg_resources
File "C:\Users\Miyuru\AppData\Local\Programs\Python\Python37\lib\site-packages\pkg_resources.py", line 1479, in
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.