Skip to content

[Bug] No module named 'pkg_resources' #613

Closed
@ego-lay-atman-bay

Description

I just installed this package in python 3.12 by running

pip install internet archive

It was able to install just fine, but when I ran ia, it threw this error

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Python\Python312\Scripts\ia.exe\__main__.py", line 4, in <module>
  File "C:\Python\Python312\Lib\site-packages\internetarchive\cli\__init__.py", line 26, in <module>
    from internetarchive.cli import (
  File "C:\Python\Python312\Lib\site-packages\internetarchive\cli\ia.py", line 67, in <module>
    from pkg_resources import DistributionNotFound, iter_entry_points
ModuleNotFoundError: No module named 'pkg_resources'

I downloaded the repo, and opened it in vscode. After I installed the pex-requirements.txt, vscode said that pkg_resources was found.

I think this might be a problem with python 3.12, because I was able to get it installed and working just fine with python 3.11.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions