Skip to content

Instantly share code, notes, and snippets.

@cmaureir
Created June 1, 2021 13:42
Show Gist options
  • Save cmaureir/82fcb52bcbea5ce70362cb4270fc3f8c to your computer and use it in GitHub Desktop.
Save cmaureir/82fcb52bcbea5ce70362cb4270fc3f8c to your computer and use it in GitHub Desktop.
% pip install -e . -v
Using pip 21.1.2 from /home/cmaureir/dev/env/lib/python3.9/site-packages/pip (python 3.9)
Non-user install because user site-packages disabled
Created temporary directory: /tmp/pip-ephem-wheel-cache-dyu0_64p
Created temporary directory: /tmp/pip-req-tracker-78lgrlkt
Initialized build tracking at /tmp/pip-req-tracker-78lgrlkt
Created build tracker: /tmp/pip-req-tracker-78lgrlkt
Entered build tracker: /tmp/pip-req-tracker-78lgrlkt
Created temporary directory: /tmp/pip-install-f1eqak8n
Obtaining file:///home/cmaureir/dev/pyside-setup
Added file:///home/cmaureir/dev/pyside-setup to build tracker '/tmp/pip-req-tracker-78lgrlkt'
Running setup.py (path:/home/cmaureir/dev/pyside-setup/setup.py) egg_info for package from file:///home/cmaureir/dev/pyside-setup
Created temporary directory: /tmp/pip-pip-egg-info-4jo8htj8
Running command python setup.py egg_info
/home/cmaureir/dev/env/lib/python3.9/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
warnings.warn(
running egg_info
creating /tmp/pip-pip-egg-info-4jo8htj8/shiboken6.egg-info
writing /tmp/pip-pip-egg-info-4jo8htj8/shiboken6.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-4jo8htj8/shiboken6.egg-info/dependency_links.txt
writing top-level names to /tmp/pip-pip-egg-info-4jo8htj8/shiboken6.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-4jo8htj8/shiboken6.egg-info/SOURCES.txt'
package init file 'sources/shiboken6/shibokenmodule/__init__.py' not found (or not a regular file)
reading manifest file '/tmp/pip-pip-egg-info-4jo8htj8/shiboken6.egg-info/SOURCES.txt'
writing manifest file '/tmp/pip-pip-egg-info-4jo8htj8/shiboken6.egg-info/SOURCES.txt'
/home/cmaureir/dev/env/lib/python3.9/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
warnings.warn(
running egg_info
creating /tmp/pip-pip-egg-info-4jo8htj8/shiboken6_generator.egg-info
writing /tmp/pip-pip-egg-info-4jo8htj8/shiboken6_generator.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-4jo8htj8/shiboken6_generator.egg-info/dependency_links.txt
writing entry points to /tmp/pip-pip-egg-info-4jo8htj8/shiboken6_generator.egg-info/entry_points.txt
writing requirements to /tmp/pip-pip-egg-info-4jo8htj8/shiboken6_generator.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-4jo8htj8/shiboken6_generator.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-4jo8htj8/shiboken6_generator.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-pip-egg-info-4jo8htj8/shiboken6_generator.egg-info/SOURCES.txt'
writing manifest file '/tmp/pip-pip-egg-info-4jo8htj8/shiboken6_generator.egg-info/SOURCES.txt'
/home/cmaureir/dev/env/lib/python3.9/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
warnings.warn(
running egg_info
creating /tmp/pip-pip-egg-info-4jo8htj8/PySide6.egg-info
writing /tmp/pip-pip-egg-info-4jo8htj8/PySide6.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-4jo8htj8/PySide6.egg-info/dependency_links.txt
writing entry points to /tmp/pip-pip-egg-info-4jo8htj8/PySide6.egg-info/entry_points.txt
writing requirements to /tmp/pip-pip-egg-info-4jo8htj8/PySide6.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-4jo8htj8/PySide6.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-4jo8htj8/PySide6.egg-info/SOURCES.txt'
package init file 'sources/pyside6/PySide6/__init__.py' not found (or not a regular file)
reading manifest file '/tmp/pip-pip-egg-info-4jo8htj8/PySide6.egg-info/SOURCES.txt'
writing manifest file '/tmp/pip-pip-egg-info-4jo8htj8/PySide6.egg-info/SOURCES.txt'
ERROR: More than one .egg-info directory found in /tmp/pip-pip-egg-info-4jo8htj8
Exception information:
Traceback (most recent call last):
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main
status = self.run(options, args)
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 204, in wrapper
return func(self, options, args)
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 318, in run
requirement_set = resolver.resolve(
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 103, in resolve
r = self.factory.make_requirement_from_install_req(
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 429, in make_requirement_from_install_req
cand = self._make_candidate_from_link(
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 185, in _make_candidate_from_link
self._editable_candidate_cache[link] = EditableCandidate(
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 334, in __init__
super().__init__(
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 151, in __init__
self.dist = self._prepare()
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 234, in _prepare
dist = self._prepare_distribution()
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 345, in _prepare_distribution
return self._factory.preparer.prepare_editable_requirement(self._ireq)
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 622, in prepare_editable_requirement
dist = _get_prepared_distribution(
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 60, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(finder, build_isolation)
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 36, in prepare_distribution_metadata
self.req.prepare_metadata()
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 563, in prepare_metadata
self.metadata_directory = self._generate_metadata()
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 538, in _generate_metadata
return generate_metadata_legacy(
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 74, in generate_metadata
return _find_egg_info(egg_info_dir)
File "/home/cmaureir/dev/env/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 30, in _find_egg_info
raise InstallationError(
pip._internal.exceptions.InstallationError: More than one .egg-info directory found in /tmp/pip-pip-egg-info-4jo8htj8
Removed file:///home/cmaureir/dev/pyside-setup from build tracker '/tmp/pip-req-tracker-78lgrlkt'
Removed build tracker: '/tmp/pip-req-tracker-78lgrlkt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment