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

Error: pkg_resources.DistributionNotFound: The 'pysqlite3' distribution was not found and is required by cross-sysroot #9

Open
g7fernandes opened this issue Jun 28, 2021 · 0 comments

Comments

@g7fernandes
Copy link

I installed your package with pip3 and got the following error:

❯ cross-sysroot --distribution ubuntu --distribution-version focal --architecture amd64  --build-root ~/ubuntu-sysroot
Traceback (most recent call last):
  File "/home/gabriel/.local/bin/cross-sysroot", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pysqlite3' distribution was not found and is required by cross-sysroot

However it is installed

❯ python3 -c "import sqlite3; print(sqlite3.version)"
2.6.0
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

No branches or pull requests

1 participant