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

ModuleNotFoundError starting from pip 24.1 #1046

Open
summis opened this issue Aug 12, 2024 · 1 comment · May be fixed by #1044
Open

ModuleNotFoundError starting from pip 24.1 #1046

summis opened this issue Aug 12, 2024 · 1 comment · May be fixed by #1044

Comments

@summis
Copy link

summis commented Aug 12, 2024

Hi!

In our project, with pip version 24.0 everything works correctly

$ license_finder
LicenseFinder::NPM: is active for 'XXX'
LicenseFinder::Pip: is active for 'XXX'

All dependencies are approved for use

However, when using pip version 24.1 ModuleNotFoundError appears in the output

$ license_finder
LicenseFinder::NPM: is active for 'XXX'
LicenseFinder::Pip: is active for 'XXX'
pip3 install: did not succeed.
pip3 install: LicenseFinder command 'python3 /home/tommi/.local/share/gem/ruby/3.0.0/gems/license_finder-7.2.1/bin/license_finder_pip.py /home/tommi/dev/XXX/requirements.txt' failed:
        /home/tommi/.local/share/gem/ruby/3.0.0/gems/license_finder-7.2.1/bin/license_finder_pip.py:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pip._vendor import pkg_resources
Traceback (most recent call last):
  File "/home/tommi/.local/share/gem/ruby/3.0.0/gems/license_finder-7.2.1/bin/license_finder_pip.py", line 21, in <module>
    from pip._vendor.six import print_
ModuleNotFoundError: No module named 'pip._vendor.six'


All dependencies are approved for use

Might be related to pypa/pip@692b7f0

@joshowen
Copy link

A fix is awaiting merge here: #1044

@joshowen joshowen linked a pull request Aug 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants