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

gpy-verify-deps: FileNotFoundError: [Errno 2] No such file or directory: 'python3.8' #5

Open
thesamesam opened this issue Jan 15, 2023 · 2 comments

Comments

@thesamesam
Copy link
Contributor

thesamesam commented Jan 15, 2023

With app-portage/gpyutils-0.8.2:

$ gpy-verify-deps 
Populating package cache...
Populating dist-info cache...
Querying Python interpreter metadata...
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.11/gpy-verify-deps", line 8, in <module>
    sys.exit(entry_point())
             ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/gpyutils/scripts/verify_deps.py", line 219, in entry_point
    sys.exit(main(*sys.argv))
             ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/gpyutils/scripts/verify_deps.py", line 214, in main
    process(pm.installed)
  File "/usr/lib/python3.11/site-packages/gpyutils/scripts/verify_deps.py", line 95, in process
    subp = subprocess.Popen([p, "-"],
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'python3.8'
@mgorny
Copy link
Member

mgorny commented Jan 15, 2023

Do you have leftover packages installing into /usr/lib/python3.8/site-packages?

@thesamesam
Copy link
Contributor Author

Ah, yes! I hadn't deselected gander & flask-restful yet, so they hadn't been dropped.

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

2 participants