Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/setuptools-47.3.1.post20200622-py3.8.egg' #8476

Open
KOLANICH opened this issue Jun 22, 2020 · 7 comments
Labels
S: needs triage Issues/PRs that need to be triaged

Comments

@KOLANICH
Copy link
Contributor

KOLANICH commented Jun 22, 2020

Environment

  • pip version: acab2ee
  • Python version: 3.8
  • OS: Debian sid

https://gitlab.com/KOLANICH-subgroups/docker-images/fixed_python/-/jobs/605338717

Description
I install setuptools and pip from git:

  git clone --depth=1 https://github.com/pypa/setuptools.git;
  cd ./setuptools;
  python3 ./bootstrap.py;
  python3 ./setup.py install;
  cd ..;
  git clone --depth=1 https://github.com/pypa/wheel.git;
  cd wheel;
  python3 ./setup.py install;
  cd ..;
  git clone --depth=1 https://github.com/pypa/pip.git;
  cd ./pip;
  cd src;
  python3 -m pip install ..;
  cd ../..;
  cd ./setuptools;
  python3 -m pip install --upgrade --pre .;
  cd ..;

Expected behavior
Should install.

How to Reproduce
https://gitlab.com/KOLANICH-subgroups/docker-images/fixed_python/-/blob/1e5e1f212539d723c022bc01fcf7d7e9903d7b64/Dockerfile

Output

Processing /tmp/setuptools
711   Installing build dependencies: started
712   Installing build dependencies: finished with status 'done'
713   Getting requirements to build wheel: started
714   Getting requirements to build wheel: finished with status 'done'
715     Preparing wheel metadata: started
716     Preparing wheel metadata: finished with status 'done'
717 Building wheels for collected packages: setuptools
718   Building wheel for setuptools (PEP 517): started
719   Building wheel for setuptools (PEP 517): finished with status 'done'
720   Created wheel for setuptools: filename=setuptools-47.3.1.post20200622-py3-none-any.whl size=583135 sha256=35c79d7467809c761c30e266ed01d69fa42fa437f3173e21f7de80a6c02b7696
721   Stored in directory: /tmp/pip-ephem-wheel-cache-_t572fv9/wheels/69/8b/11/d38c54a76634f6dbb1bdf5df3c4b3ccf9cce7c5312da00f079
722 Successfully built setuptools
723 Installing collected packages: setuptools
724   Attempting uninstall: setuptools
725     Found existing installation: setuptools 47.3.1.post20200622
726     Uninstalling setuptools-47.3.1.post20200622:
727       Successfully uninstalled setuptools-47.3.1.post20200622
728 Successfully installed setuptools-47.3.1.post20200622
729 Traceback (most recent call last):
730   File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
731     return _run_code(code, main_globals, None,
732   File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
733     exec(code, run_globals)
734   File "/usr/local/lib/python3.8/dist-packages/pip/__main__.py", line 26, in <module>
735     sys.exit(_main())
736   File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 75, in main
737     return command.main(cmd_args)
738   File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/base_command.py", line 120, in main
739     return self._main(args)
740   File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/base_command.py", line 245, in _main
741     self.handle_pip_version_check(options)
742   File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/req_command.py", line 151, in handle_pip_version_check
743     session = self._build_session(
744   File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/req_command.py", line 92, in _build_session
745     session = PipSession(
746   File "/usr/local/lib/python3.8/dist-packages/pip/_internal/network/session.py", line 249, in __init__
747     self.headers["User-Agent"] = user_agent()
748   File "/usr/local/lib/python3.8/dist-packages/pip/_internal/network/session.py", line 159, in user_agent
749     setuptools_version = get_installed_version("setuptools")
750   File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 611, in get_installed_version
751     working_set = pkg_resources.WorkingSet()
752   File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 567, in __init__
753     self.add_entry(entry)
754   File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 623, in add_entry
755     for dist in find_distributions(entry, True):
756   File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1983, in find_eggs_in_zip
757     if metadata.has_metadata('PKG-INFO'):
758   File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1414, in has_metadata
759     return self._has(path)
760   File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1854, in _has
761     return zip_path in self.zipinfo or zip_path in self._index()
762   File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1731, in zipinfo
763     return self._zip_manifests.load(self.loader.archive)
764   File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1688, in load
765     mtime = os.stat(path).st_mtime
766 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/setuptools-47.3.1.post20200622-py3.8.egg'
@triage-new-issues triage-new-issues bot added the S: needs triage Issues/PRs that need to be triaged label Jun 22, 2020
@uranusjr
Copy link
Member

Can you share the content of /usr/local/lib/python3.8/dist-packages?

@deveshks
Copy link
Contributor

deveshks commented Jun 22, 2020

May I ask which command is failing in your provided excerpt of Dockerfile. Also I tried the commands in Mac OSX on python 3.8.2, but couldn't reproduce the error.

Install Log:
(venv) DeveshSinghMac:venv devesh$   git clone --depth=1 https://github.com/pypa/setuptools.git;
Cloning into 'setuptools'...
remote: Enumerating objects: 242, done.
remote: Counting objects: 100% (242/242), done.
remote: Compressing objects: 100% (217/217), done.
remote: Total 242 (delta 16), reused 81 (delta 9), pack-reused 0
Receiving objects: 100% (242/242), 628.17 KiB | 716.00 KiB/s, done.
Resolving deltas: 100% (16/16), done.

(venv) DeveshSinghMac:venv devesh$   cd ./setuptools;

(venv) DeveshSinghMac:setuptools devesh$   python3 ./bootstrap.py;
adding minimal entry_points
Regenerating egg_info
running egg_info
writing setuptools.egg-info/PKG-INFO
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
writing requirements to setuptools.egg-info/requires.txt
writing manifest file 'setuptools.egg-info/SOURCES.txt'
reading manifest file 'setuptools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.py' under directory 'tests'
writing manifest file 'setuptools.egg-info/SOURCES.txt'

(venv) DeveshSinghMac:setuptools devesh$   python3 ./setup.py install;
running install
running bdist_egg
running egg_info
writing setuptools.egg-info/PKG-INFO
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
writing requirements to setuptools.egg-info/requires.txt
writing top-level names to setuptools.egg-info/top_level.txt
reading manifest file 'setuptools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.py' under directory 'tests'
writing manifest file 'setuptools.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.15-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
copying easy_install.py -> build/lib
creating build/lib/setuptools
copying setuptools/ssl_support.py -> build/lib/setuptools
copying setuptools/windows_support.py -> build/lib/setuptools
copying setuptools/_deprecation_warning.py -> build/lib/setuptools
copying setuptools/package_index.py -> build/lib/setuptools
copying setuptools/archive_util.py -> build/lib/setuptools
copying setuptools/_imp.py -> build/lib/setuptools
copying setuptools/config.py -> build/lib/setuptools
copying setuptools/version.py -> build/lib/setuptools
copying setuptools/py31compat.py -> build/lib/setuptools
copying setuptools/depends.py -> build/lib/setuptools
copying setuptools/py27compat.py -> build/lib/setuptools
copying setuptools/__init__.py -> build/lib/setuptools
copying setuptools/installer.py -> build/lib/setuptools
copying setuptools/glob.py -> build/lib/setuptools
copying setuptools/sandbox.py -> build/lib/setuptools
copying setuptools/py34compat.py -> build/lib/setuptools
copying setuptools/launch.py -> build/lib/setuptools
copying setuptools/extension.py -> build/lib/setuptools
copying setuptools/unicode_utils.py -> build/lib/setuptools
copying setuptools/monkey.py -> build/lib/setuptools
copying setuptools/build_meta.py -> build/lib/setuptools
copying setuptools/errors.py -> build/lib/setuptools
copying setuptools/dep_util.py -> build/lib/setuptools
copying setuptools/site-patch.py -> build/lib/setuptools
copying setuptools/msvc.py -> build/lib/setuptools
copying setuptools/dist.py -> build/lib/setuptools
copying setuptools/lib2to3_ex.py -> build/lib/setuptools
copying setuptools/py33compat.py -> build/lib/setuptools
copying setuptools/wheel.py -> build/lib/setuptools
copying setuptools/namespaces.py -> build/lib/setuptools
creating build/lib/pkg_resources
copying pkg_resources/__init__.py -> build/lib/pkg_resources
copying pkg_resources/py2_warn.py -> build/lib/pkg_resources
creating build/lib/setuptools/_vendor
copying setuptools/_vendor/__init__.py -> build/lib/setuptools/_vendor
copying setuptools/_vendor/six.py -> build/lib/setuptools/_vendor
copying setuptools/_vendor/ordered_set.py -> build/lib/setuptools/_vendor
copying setuptools/_vendor/pyparsing.py -> build/lib/setuptools/_vendor
creating build/lib/setuptools/command
copying setuptools/command/bdist_egg.py -> build/lib/setuptools/command
copying setuptools/command/alias.py -> build/lib/setuptools/command
copying setuptools/command/py36compat.py -> build/lib/setuptools/command
copying setuptools/command/build_ext.py -> build/lib/setuptools/command
copying setuptools/command/easy_install.py -> build/lib/setuptools/command
copying setuptools/command/install_scripts.py -> build/lib/setuptools/command
copying setuptools/command/upload.py -> build/lib/setuptools/command
copying setuptools/command/register.py -> build/lib/setuptools/command
copying setuptools/command/bdist_wininst.py -> build/lib/setuptools/command
copying setuptools/command/dist_info.py -> build/lib/setuptools/command
copying setuptools/command/install_lib.py -> build/lib/setuptools/command
copying setuptools/command/upload_docs.py -> build/lib/setuptools/command
copying setuptools/command/build_py.py -> build/lib/setuptools/command
copying setuptools/command/__init__.py -> build/lib/setuptools/command
copying setuptools/command/sdist.py -> build/lib/setuptools/command
copying setuptools/command/test.py -> build/lib/setuptools/command
copying setuptools/command/saveopts.py -> build/lib/setuptools/command
copying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command
copying setuptools/command/build_clib.py -> build/lib/setuptools/command
copying setuptools/command/egg_info.py -> build/lib/setuptools/command
copying setuptools/command/install.py -> build/lib/setuptools/command
copying setuptools/command/develop.py -> build/lib/setuptools/command
copying setuptools/command/rotate.py -> build/lib/setuptools/command
copying setuptools/command/install_egg_info.py -> build/lib/setuptools/command
copying setuptools/command/setopt.py -> build/lib/setuptools/command
creating build/lib/setuptools/extern
copying setuptools/extern/__init__.py -> build/lib/setuptools/extern
creating build/lib/setuptools/_vendor/packaging
copying setuptools/_vendor/packaging/tags.py -> build/lib/setuptools/_vendor/packaging
copying setuptools/_vendor/packaging/version.py -> build/lib/setuptools/_vendor/packaging
copying setuptools/_vendor/packaging/__init__.py -> build/lib/setuptools/_vendor/packaging
copying setuptools/_vendor/packaging/utils.py -> build/lib/setuptools/_vendor/packaging
copying setuptools/_vendor/packaging/requirements.py -> build/lib/setuptools/_vendor/packaging
copying setuptools/_vendor/packaging/_structures.py -> build/lib/setuptools/_vendor/packaging
copying setuptools/_vendor/packaging/markers.py -> build/lib/setuptools/_vendor/packaging
copying setuptools/_vendor/packaging/__about__.py -> build/lib/setuptools/_vendor/packaging
copying setuptools/_vendor/packaging/_compat.py -> build/lib/setuptools/_vendor/packaging
copying setuptools/_vendor/packaging/specifiers.py -> build/lib/setuptools/_vendor/packaging
creating build/lib/pkg_resources/_vendor
copying pkg_resources/_vendor/__init__.py -> build/lib/pkg_resources/_vendor
copying pkg_resources/_vendor/appdirs.py -> build/lib/pkg_resources/_vendor
copying pkg_resources/_vendor/six.py -> build/lib/pkg_resources/_vendor
copying pkg_resources/_vendor/pyparsing.py -> build/lib/pkg_resources/_vendor
creating build/lib/pkg_resources/extern
copying pkg_resources/extern/__init__.py -> build/lib/pkg_resources/extern
creating build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/version.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/__init__.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/utils.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/requirements.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/_structures.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/markers.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/__about__.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/_compat.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/specifiers.py -> build/lib/pkg_resources/_vendor/packaging
copying setuptools/script (dev).tmpl -> build/lib/setuptools
copying setuptools/script.tmpl -> build/lib/setuptools
copying setuptools/cli-64.exe -> build/lib/setuptools
copying setuptools/gui-64.exe -> build/lib/setuptools
copying setuptools/cli.exe -> build/lib/setuptools
copying setuptools/cli-32.exe -> build/lib/setuptools
copying setuptools/gui-32.exe -> build/lib/setuptools
copying setuptools/gui.exe -> build/lib/setuptools
copying setuptools/command/launcher manifest.xml -> build/lib/setuptools/command
creating build/bdist.macosx-10.15-x86_64
creating build/bdist.macosx-10.15-x86_64/egg
copying build/lib/easy_install.py -> build/bdist.macosx-10.15-x86_64/egg
creating build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/ssl_support.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/windows_support.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/_deprecation_warning.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/package_index.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/archive_util.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/_imp.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/config.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/version.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
creating build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor
creating build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/packaging/tags.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/packaging/version.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/packaging/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/packaging/utils.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/packaging/requirements.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/packaging/_structures.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/packaging/markers.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/packaging/__about__.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/packaging/_compat.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/packaging/specifiers.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging
copying build/lib/setuptools/_vendor/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor
copying build/lib/setuptools/_vendor/six.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor
copying build/lib/setuptools/_vendor/ordered_set.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor
copying build/lib/setuptools/_vendor/pyparsing.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor
copying build/lib/setuptools/py31compat.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/cli-64.exe -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/gui-64.exe -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/depends.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/py27compat.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/installer.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/glob.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/sandbox.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/py34compat.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/script.tmpl -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/launch.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/extension.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/unicode_utils.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/monkey.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/build_meta.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/cli.exe -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/errors.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/dep_util.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
creating build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/bdist_egg.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/alias.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/py36compat.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/build_ext.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/easy_install.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/launcher manifest.xml -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/install_scripts.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/upload.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/register.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/bdist_wininst.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/dist_info.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/install_lib.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/upload_docs.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/build_py.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/sdist.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/test.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/saveopts.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/bdist_rpm.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/build_clib.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/egg_info.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/install.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/develop.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/rotate.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/install_egg_info.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/setopt.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/command
copying build/lib/setuptools/site-patch.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/msvc.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/cli-32.exe -> build/bdist.macosx-10.15-x86_64/egg/setuptools
creating build/bdist.macosx-10.15-x86_64/egg/setuptools/extern
copying build/lib/setuptools/extern/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools/extern
copying build/lib/setuptools/gui-32.exe -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/gui.exe -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/dist.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/lib2to3_ex.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/py33compat.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/wheel.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/namespaces.py -> build/bdist.macosx-10.15-x86_64/egg/setuptools
copying build/lib/setuptools/script (dev).tmpl -> build/bdist.macosx-10.15-x86_64/egg/setuptools
creating build/bdist.macosx-10.15-x86_64/egg/pkg_resources
creating build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor
creating build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/version.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/utils.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/requirements.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/_structures.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/markers.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/__about__.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/_compat.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/specifiers.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor
copying build/lib/pkg_resources/_vendor/appdirs.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor
copying build/lib/pkg_resources/_vendor/six.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor
copying build/lib/pkg_resources/_vendor/pyparsing.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor
copying build/lib/pkg_resources/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources
copying build/lib/pkg_resources/py2_warn.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources
creating build/bdist.macosx-10.15-x86_64/egg/pkg_resources/extern
copying build/lib/pkg_resources/extern/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/pkg_resources/extern
byte-compiling build/bdist.macosx-10.15-x86_64/egg/easy_install.py to easy_install.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/ssl_support.py to ssl_support.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/windows_support.py to windows_support.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_deprecation_warning.py to _deprecation_warning.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/package_index.py to package_index.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/archive_util.py to archive_util.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_imp.py to _imp.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/config.py to config.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/version.py to version.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging/tags.py to tags.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging/version.py to version.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging/utils.py to utils.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging/requirements.py to requirements.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging/_structures.py to _structures.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging/markers.py to markers.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging/__about__.py to __about__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging/_compat.py to _compat.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/packaging/specifiers.py to specifiers.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/six.py to six.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/ordered_set.py to ordered_set.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/_vendor/pyparsing.py to pyparsing.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/py31compat.py to py31compat.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/depends.py to depends.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/py27compat.py to py27compat.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/installer.py to installer.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/glob.py to glob.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/sandbox.py to sandbox.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/py34compat.py to py34compat.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/launch.py to launch.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/extension.py to extension.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/unicode_utils.py to unicode_utils.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/monkey.py to monkey.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/build_meta.py to build_meta.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/errors.py to errors.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/dep_util.py to dep_util.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/bdist_egg.py to bdist_egg.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/alias.py to alias.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/py36compat.py to py36compat.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/build_ext.py to build_ext.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/easy_install.py to easy_install.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/install_scripts.py to install_scripts.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/upload.py to upload.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/register.py to register.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/bdist_wininst.py to bdist_wininst.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/dist_info.py to dist_info.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/install_lib.py to install_lib.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/upload_docs.py to upload_docs.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/build_py.py to build_py.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/sdist.py to sdist.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/test.py to test.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/saveopts.py to saveopts.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/bdist_rpm.py to bdist_rpm.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/build_clib.py to build_clib.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/egg_info.py to egg_info.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/install.py to install.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/develop.py to develop.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/rotate.py to rotate.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/install_egg_info.py to install_egg_info.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/command/setopt.py to setopt.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/site-patch.py to site-patch.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/msvc.py to msvc.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/extern/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/dist.py to dist.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/lib2to3_ex.py to lib2to3_ex.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/py33compat.py to py33compat.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/wheel.py to wheel.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/setuptools/namespaces.py to namespaces.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging/version.py to version.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging/utils.py to utils.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging/requirements.py to requirements.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging/_structures.py to _structures.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging/markers.py to markers.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging/__about__.py to __about__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging/_compat.py to _compat.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/packaging/specifiers.py to specifiers.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/appdirs.py to appdirs.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/six.py to six.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/_vendor/pyparsing.py to pyparsing.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/py2_warn.py to py2_warn.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/pkg_resources/extern/__init__.py to __init__.cpython-38.pyc
creating build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying setuptools.egg-info/PKG-INFO -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying setuptools.egg-info/SOURCES.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying setuptools.egg-info/dependency_links.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying setuptools.egg-info/entry_points.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying setuptools.egg-info/requires.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying setuptools.egg-info/top_level.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying setuptools.egg-info/zip-safe -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
/Users/devesh/venv/setuptools/setuptools/command/bdist_egg.py:283: SetuptoolsDeprecationWarning: Eggsecutables are deprecated and will be removed in a future version.
  warnings.warn(
creating dist
creating 'dist/setuptools-47.3.1.post20200622-py3.8.egg' and adding 'build/bdist.macosx-10.15-x86_64/egg' to it
removing 'build/bdist.macosx-10.15-x86_64/egg' (and everything under it)
Processing setuptools-47.3.1.post20200622-py3.8.egg
Removing /Users/devesh/venv/lib/python3.8/site-packages/setuptools-47.3.1.post20200622-py3.8.egg
Copying setuptools-47.3.1.post20200622-py3.8.egg to /Users/devesh/venv/lib/python3.8/site-packages
setuptools 47.3.1.post20200622 is already the active version in easy-install.pth
Installing easy_install script to /Users/devesh/venv/bin
Installing easy_install-3.8 script to /Users/devesh/venv/bin

Installed /Users/devesh/venv/lib/python3.8/site-packages/setuptools-47.3.1.post20200622-py3.8.egg
Processing dependencies for setuptools==47.3.1.post20200622
Finished processing dependencies for setuptools==47.3.1.post20200622

(venv) DeveshSinghMac:setuptools devesh$   cd ..;

(venv) DeveshSinghMac:venv devesh$   git clone --depth=1 https://github.com/pypa/wheel.git;
Cloning into 'wheel'...
remote: Enumerating objects: 97, done.
remote: Counting objects: 100% (97/97), done.
remote: Compressing objects: 100% (75/75), done.
remote: Total 97 (delta 12), reused 51 (delta 12), pack-reused 0
Unpacking objects: 100% (97/97), 63.45 KiB | 259.00 KiB/s, done.

(venv) DeveshSinghMac:venv devesh$   cd wheel;

(venv) DeveshSinghMac:wheel devesh$   python3 ./setup.py install;
running install
running bdist_egg
running egg_info
creating src/wheel.egg-info
writing src/wheel.egg-info/PKG-INFO
writing dependency_links to src/wheel.egg-info/dependency_links.txt
writing entry points to src/wheel.egg-info/entry_points.txt
writing requirements to src/wheel.egg-info/requires.txt
writing top-level names to src/wheel.egg-info/top_level.txt
writing manifest file 'src/wheel.egg-info/SOURCES.txt'
reading manifest file 'src/wheel.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.dynlib' under directory 'tests'
no previously-included directories found matching 'tests/testdata/*/build'
no previously-included directories found matching 'tests/testdata/*/dist'
no previously-included directories found matching 'tests/testdata/*/*.egg-info'
writing manifest file 'src/wheel.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.15-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/wheel
copying src/wheel/metadata.py -> build/lib/wheel
copying src/wheel/macosx_libfile.py -> build/lib/wheel
copying src/wheel/util.py -> build/lib/wheel
copying src/wheel/__init__.py -> build/lib/wheel
copying src/wheel/pkginfo.py -> build/lib/wheel
copying src/wheel/bdist_wheel.py -> build/lib/wheel
copying src/wheel/wheelfile.py -> build/lib/wheel
copying src/wheel/__main__.py -> build/lib/wheel
creating build/lib/wheel/cli
copying src/wheel/cli/pack.py -> build/lib/wheel/cli
copying src/wheel/cli/convert.py -> build/lib/wheel/cli
copying src/wheel/cli/__init__.py -> build/lib/wheel/cli
copying src/wheel/cli/unpack.py -> build/lib/wheel/cli
creating build/bdist.macosx-10.15-x86_64
creating build/bdist.macosx-10.15-x86_64/egg
creating build/bdist.macosx-10.15-x86_64/egg/wheel
copying build/lib/wheel/metadata.py -> build/bdist.macosx-10.15-x86_64/egg/wheel
copying build/lib/wheel/macosx_libfile.py -> build/bdist.macosx-10.15-x86_64/egg/wheel
copying build/lib/wheel/util.py -> build/bdist.macosx-10.15-x86_64/egg/wheel
copying build/lib/wheel/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/wheel
creating build/bdist.macosx-10.15-x86_64/egg/wheel/cli
copying build/lib/wheel/cli/pack.py -> build/bdist.macosx-10.15-x86_64/egg/wheel/cli
copying build/lib/wheel/cli/convert.py -> build/bdist.macosx-10.15-x86_64/egg/wheel/cli
copying build/lib/wheel/cli/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/wheel/cli
copying build/lib/wheel/cli/unpack.py -> build/bdist.macosx-10.15-x86_64/egg/wheel/cli
copying build/lib/wheel/pkginfo.py -> build/bdist.macosx-10.15-x86_64/egg/wheel
copying build/lib/wheel/bdist_wheel.py -> build/bdist.macosx-10.15-x86_64/egg/wheel
copying build/lib/wheel/wheelfile.py -> build/bdist.macosx-10.15-x86_64/egg/wheel
copying build/lib/wheel/__main__.py -> build/bdist.macosx-10.15-x86_64/egg/wheel
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/metadata.py to metadata.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/macosx_libfile.py to macosx_libfile.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/util.py to util.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/cli/pack.py to pack.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/cli/convert.py to convert.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/cli/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/cli/unpack.py to unpack.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/pkginfo.py to pkginfo.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/bdist_wheel.py to bdist_wheel.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/wheelfile.py to wheelfile.cpython-38.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/wheel/__main__.py to __main__.cpython-38.pyc
creating build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying src/wheel.egg-info/PKG-INFO -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying src/wheel.egg-info/SOURCES.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying src/wheel.egg-info/dependency_links.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying src/wheel.egg-info/entry_points.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying src/wheel.egg-info/not-zip-safe -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying src/wheel.egg-info/requires.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying src/wheel.egg-info/top_level.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
creating dist
creating 'dist/wheel-0.34.2-py3.8.egg' and adding 'build/bdist.macosx-10.15-x86_64/egg' to it
removing 'build/bdist.macosx-10.15-x86_64/egg' (and everything under it)
Processing wheel-0.34.2-py3.8.egg
removing '/Users/devesh/venv/lib/python3.8/site-packages/wheel-0.34.2-py3.8.egg' (and everything under it)
creating /Users/devesh/venv/lib/python3.8/site-packages/wheel-0.34.2-py3.8.egg
Extracting wheel-0.34.2-py3.8.egg to /Users/devesh/venv/lib/python3.8/site-packages
wheel 0.34.2 is already the active version in easy-install.pth
Installing wheel script to /Users/devesh/venv/bin

Installed /Users/devesh/venv/lib/python3.8/site-packages/wheel-0.34.2-py3.8.egg
Processing dependencies for wheel==0.34.2
Searching for packaging>=20.2
Reading https://pypi.org/simple/packaging/
Downloading https://files.pythonhosted.org/packages/46/19/c5ab91b1b05cfe63cccd5cfc971db9214c6dd6ced54e33c30d5af1d2bc43/packaging-20.4-py2.py3-none-any.whl#sha256=998416ba6962ae7fbd6596850b80e17859a5753ba17c32284f67bfff33784181
Best match: packaging 20.4
Processing packaging-20.4-py2.py3-none-any.whl
Installing packaging-20.4-py2.py3-none-any.whl to /Users/devesh/venv/lib/python3.8/site-packages
Adding packaging 20.4 to easy-install.pth file

Installed /Users/devesh/venv/lib/python3.8/site-packages/packaging-20.4-py3.8.egg
Searching for six
Reading https://pypi.org/simple/six/
Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl#sha256=8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced
Best match: six 1.15.0
Processing six-1.15.0-py2.py3-none-any.whl
Installing six-1.15.0-py2.py3-none-any.whl to /Users/devesh/venv/lib/python3.8/site-packages
Adding six 1.15.0 to easy-install.pth file

Installed /Users/devesh/venv/lib/python3.8/site-packages/six-1.15.0-py3.8.egg
Searching for pyparsing>=2.0.2
Reading https://pypi.org/simple/pyparsing/
Downloading https://files.pythonhosted.org/packages/a4/9f/868e59e76cbeea46fe5b49197412f0b58fb975eec0bc16d567b8454c1a6f/pyparsing-3.0.0a1-py3-none-any.whl#sha256=67199f0c41a9c702154efb0e7a8cc08accf830eb003b4d9fa42c4059002e2492
Best match: pyparsing 3.0.0a1
Processing pyparsing-3.0.0a1-py3-none-any.whl
Installing pyparsing-3.0.0a1-py3-none-any.whl to /Users/devesh/venv/lib/python3.8/site-packages
Adding pyparsing 3.0.0a1 to easy-install.pth file

Installed /Users/devesh/venv/lib/python3.8/site-packages/pyparsing-3.0.0a1-py3.8.egg
Finished processing dependencies for wheel==0.34.2

(venv) DeveshSinghMac:wheel devesh$   cd ..;

(venv) DeveshSinghMac:venv devesh$   git clone --depth=1 https://github.com/pypa/pip.git;
Cloning into 'pip'...
remote: Enumerating objects: 988, done.
remote: Counting objects: 100% (988/988), done.
remote: Compressing objects: 100% (868/868), done.
remote: Total 988 (delta 60), reused 454 (delta 36), pack-reused 0
Receiving objects: 100% (988/988), 6.32 MiB | 2.06 MiB/s, done.
Resolving deltas: 100% (60/60), done.

(venv) DeveshSinghMac:venv devesh$   cd ./pip;

(venv) DeveshSinghMac:pip devesh$   cd src;

(venv) DeveshSinghMac:src devesh$   python3 -m pip install ..;
Processing /Users/devesh/venv/pip
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Building wheels for collected packages: pip
  Building wheel for pip (PEP 517) ... done
  Created wheel for pip: filename=pip-20.2.dev1-py2.py3-none-any.whl size=1499842 sha256=72d8cb8fe91f06d9eec12f386543f8ddf7d882c8c86e8740f64dbd0b16c54d66
  Stored in directory: /private/var/folders/xg/blp845_s0xn093dyrtgy936h0000gp/T/pip-ephem-wheel-cache-mcl_kkea/wheels/a5/45/a7/ee56465ccea500deec90e47586d5c0b12d65e972c29ce6030b
Successfully built pip
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.2.dev1
    Uninstalling pip-20.2.dev1:
      Successfully uninstalled pip-20.2.dev1
Successfully installed pip-20.2.dev1

(venv) DeveshSinghMac:src devesh$   cd ../..;

(venv) DeveshSinghMac:venv devesh$   cd ./setuptools;

(venv) DeveshSinghMac:setuptools devesh$   python3 -m pip install --upgrade --pre .;
Processing /Users/devesh/venv/setuptools
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Building wheels for collected packages: setuptools
  Building wheel for setuptools (PEP 517) ... done
  Created wheel for setuptools: filename=setuptools-47.3.1.post20200622-py3-none-any.whl size=583135 sha256=217f9a0943e1921007eff2d1f1a2881ee3a6150b4144506868286f20ba679334
  Stored in directory: /private/var/folders/xg/blp845_s0xn093dyrtgy936h0000gp/T/pip-ephem-wheel-cache-o0y5ghh_/wheels/1d/e8/2b/7ebcebde7a31dde2ce081cb8a6d2d8083c3b2093e244321710
Successfully built setuptools
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 47.3.1.post20200622
    Uninstalling setuptools-47.3.1.post20200622:
      Successfully uninstalled setuptools-47.3.1.post20200622
Successfully installed setuptools-47.3.1.post20200622

(venv) DeveshSinghMac:setuptools devesh$   cd ..;

(venv) DeveshSinghMac:venv devesh$ 

@KOLANICH
Copy link
Contributor Author

KOLANICH commented Jun 22, 2020

The last one (python3 -m pip install --upgrade --pre .; in setuptools repo, the repo dir had already been prepared when we were installing setuptools the first time), reinstalling setuptools with pip to register it properly. It fails on installation step. Likely when we install setuptools the first time without pip (python3 ./setup.py install;), setuptools installs itself in a weird way, and pip fails to correctly replace the weirdly-installed setuptools with setuptools installed from a wheel.

@KOLANICH
Copy link
Contributor Author

KOLANICH commented Jun 23, 2020

Worked around the issue with the following piece of bad code:

  git clone --depth=1 https://github.com/pypa/setuptools.git;
  git clone --depth=1 https://github.com/pypa/pip.git;
  git clone --depth=1 https://github.com/pypa/wheel.git;
  cd ./setuptools;
  python3 ./bootstrap.py;
  python3 ./setup.py bdist_wheel;  # here it works without `wheel` package installed, but later it doesn't without `wheel`
  cd ../pip/src;
  ln -s ../../wheel/wheel ./wheel;
  python3 -m pip install --upgrade --pre ../../setuptools/dist/*.whl;
  python3 -m pip install --upgrade --pre ..;
  cd ../../wheel;
  pip3 install --upgrade --pre .;
  cd ..;

@ebolyen
Copy link

ebolyen commented Apr 12, 2021

Was searching around and found this issue, it may or may not be related, but in case it's useful:

I have seen this happen in situations where there is a non-standard .pth file (like packagename.pth) instead of an easy_install.pth. Something about the install process will notice the non-standard path file and then follow it, but of course finds it missing as the uninstall part of this process did not realize it existed.

@uranusjr
Copy link
Member

I have seen this happen in situations where there is a non-standard .pth file (like packagename.pth)

Yeah, that’s what happened in the initial report as well (there’s a stray setuptools.pth file). setuptools used to do this when you setup.py install or easy_install a package. That doesn’t really explain why the file is there (could be a number of things), but it’s likely out of pip’s control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: needs triage Issues/PRs that need to be triaged
Projects
None yet
Development

No branches or pull requests

4 participants