Skip to content

autopkg-run.sh - pillow installation failing when using beta autopkg #23

@grahampugh

Description

@grahampugh

Get the following error when running a recipe using autopkg-run in a fresh VM with the beta AutoPkg version installed:

ERROR: Exception:
Traceback (most recent call last):
  File "/Library/AutoPkg/Python3/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
  File "/Library/AutoPkg/Python3/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
    return func(self, options, args)
  File "/Library/AutoPkg/Python3/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 324, in run
    resolver = self.make_resolver(
  File "/Library/AutoPkg/Python3/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 357, in make_resolver
    import pip._internal.resolution.resolvelib.resolver
  File "/Library/AutoPkg/Python3/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 7, in <module>
    from pip._vendor.resolvelib import BaseReporter, ResolutionImpossible
  File "/Library/AutoPkg/Python3/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/resolvelib/__init__.py", line 19, in <module>
    from .resolvers import (
  File "/Library/AutoPkg/Python3/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py", line 1, in <module>
    from ..structs import RequirementInformation
ImportError: cannot import name 'RequirementInformation' from 'pip._vendor.resolvelib.structs' (/Library/AutoPkg/Python3/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions