You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having this situation where all the packages we use is available on fileshare. When i try to install the pympw-0.2.1.tar.gz, the pip exits with an error 1. It is trying to download a pytest-runner with none version.
Processing l:\pythonpackages\packages\simple\pympw\pympw-0.2.1.tar.gz
ERROR: Command errored out with exit status 1:
command: 'C:\python\Scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"
'"'C:\Users\AppData\Local\Temp\pip-install-vti2jm67\pympw\setup.py'"'"'; file='"'"'C:\Users\\AppDa
ta\Local\Temp\pip-install-vti2jm67\pympw\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.r
ead().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base
'C:\Users\AppData\Local\Temp\pip-install-vti2jm67\pympw\pip-egg-info'
cwd: C:\Users\AppData\Local\Temp\pip-install-vti2jm67\pympw
Complete output (37 lines):
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by '
ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000046AA2C8>, 'Connection t
o pypi.org timed out. (connect timeout=15)')': /simple/pytest-runner/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by '
ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000046AC708>, 'Connection t
o pypi.org timed out. (connect timeout=15)')': /simple/pytest-runner/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by '
ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000046AC948>, 'Connection t
o pypi.org timed out. (connect timeout=15)')': /simple/pytest-runner/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by '
ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000046AD308>, 'Connection t
o pypi.org timed out. (connect timeout=15)')': /simple/pytest-runner/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by '
ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000046ADA08>, 'Connection t
o pypi.org timed out. (connect timeout=15)')': /simple/pytest-runner/
ERROR: Could not find a version that satisfies the requirement pytest-runner (from versions: none)
ERROR: No matching distribution found for pytest-runner
Traceback (most recent call last):
File "C:\python\lib\site-packages\setuptools\installer.py", line 128, in fetch_build_egg
subprocess.check_call(cmd)
File "C:\Python37\lib\subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\python\Scripts\python.exe', '-m', 'pip', '--
disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\Users\AppData\Local\Temp\tmpasjzaxz3', '--quiet',
'pytest-runner']' returned non-zero exit status 1.
_
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\AppData\Local\Temp\pip-install-vti2jm67\pympw\setup.py", line 31, in <module>
zip_safe=False)
File "C:\python\lib\site-packages\setuptools\__init__.py", line 143, in setup
_install_setup_requires(attrs)
File "C:\python\lib\site-packages\setuptools\__init__.py", line 138, in _install_setup_requir
es
dist.fetch_build_eggs(dist.setup_requires)
File "C:\python\lib\site-packages\setuptools\dist.py", line 698, in fetch_build_eggs
replace_conflicting=True,
File "C:\python\lib\site-packages\pkg_resources_init_.py", line 783, in resolve
replace_conflicting=replace_conflicting
File "C:\python\lib\site-packages\pkg_resources_init_.py", line 1066, in best_match
return self.obtain(req, installer)
File "C:\python\lib\site-packages\pkg_resources_init_.py", line 1078, in obtain
return installer(requirement)
File "C:\python\lib\site-packages\setuptools\dist.py", line 754, in fetch_build_egg
return fetch_build_egg(self, req)
File "C:\python\lib\site-packages\setuptools\installer.py", line 130, in fetch_build_egg
raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['C:\python\Scripts\python.exe', '-m', 'pip', '
--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\Users\AppData\Local\Temp\tmpasjzaxz3', '--quiet'
, 'pytest-runner']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
Hello there,
I am having this situation where all the packages we use is available on fileshare. When i try to install the pympw-0.2.1.tar.gz, the pip exits with an error 1. It is trying to download a pytest-runner with none version.
pip install pympw-0.2.1.tar.gz --index-url=file:///networkshare\simple
the error text is
_
_
es
dist.fetch_build_eggs(dist.setup_requires)
File "C:\python\lib\site-packages\setuptools\dist.py", line 698, in fetch_build_eggs
replace_conflicting=True,
File "C:\python\lib\site-packages\pkg_resources_init_.py", line 783, in resolve
replace_conflicting=replace_conflicting
File "C:\python\lib\site-packages\pkg_resources_init_.py", line 1066, in best_match
return self.obtain(req, installer)
File "C:\python\lib\site-packages\pkg_resources_init_.py", line 1078, in obtain
return installer(requirement)
File "C:\python\lib\site-packages\setuptools\dist.py", line 754, in fetch_build_egg
return fetch_build_egg(self, req)
File "C:\python\lib\site-packages\setuptools\installer.py", line 130, in fetch_build_egg
raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['C:\python\Scripts\python.exe', '-m', 'pip', '
--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\Users\AppData\Local\Temp\tmpasjzaxz3', '--quiet'
, 'pytest-runner']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The text was updated successfully, but these errors were encountered: