-
Notifications
You must be signed in to change notification settings - Fork 21
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
qiling fails to install due to an error installing pyelftools - No such file or directory: '/usr/local/lib/python3.8/dist-packages/pyelftools-0.29.dist-info/METADATA'" #254
Comments
Weird. Even after upgrading setuptools pip and wheel as I described here, it still won't install. |
Everything actually worked correctly, the error was a temporary domain resolution failure with github.com: Line 27113: # [ERROR ] Command '/usr/bin/python3' failed with return code: 1
Line 27114: # [ERROR ] stdout: Collecting git+https://github.com/obsidianforensics/unfurl.git
Line 27116: # [ERROR ] stderr: Running command git clone --filter=blob:none --quiet https://github.com/obsidianforensics/unfurl.git /tmp/pip-req-build-af9zi5um
Cloning https://github.com/obsidianforensics/unfurl.git to /tmp/pip-req-build-af9zi5um
# [ERROR ] stderr: Running command git clone --filter=blob:none --quiet https://github.com/obsidianforensics/unfurl.git /tmp/pip-req-build-af9zi5um
fatal: unable to access 'https://github.com/obsidianforensics/unfurl.git/': Could not resolve host: github.com
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/obsidianforensics/unfurl.git /tmp/pip-req-build-af9zi5um did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/obsidianforensics/unfurl.git /tmp/pip-req-build-af9zi5um did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Line 27132: # [ERROR ] retcode: 1
Line 27133: # [ERROR ] Failed to install packages: git+https://github.com/obsidianforensics/unfurl.git. Error: Collecting git+https://github.com/obsidianforensics/unfurl.git |
D'oh! I don't know how I missed that for unfurl. After I tried the upgrade again it was fine. That said, I forgot to mention what I had to do to get the Python packages to install correctly first. Even when using
It turns out that I somehow had multiple versions of
Once I manually removed those, I was able to upgrade
It was a similar situation with
I removed unneeded system packages.
Then I was able to sucesssfully run |
@seanthegeek That's good to hear. I've just discovered that setuptools 68+ has introduced a new set of problems, so the version will be downgrading in the future to resolve this (and the inability to uninstall). |
The text was updated successfully, but these errors were encountered: