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

"The pyelftools library provided has no write support" #464

Closed
adurtydog opened this issue Mar 22, 2023 · 2 comments
Closed

"The pyelftools library provided has no write support" #464

adurtydog opened this issue Mar 22, 2023 · 2 comments

Comments

@adurtydog
Copy link

Hi
Having installed the pyelftools library via "pip install pyelftools" i get the error below when running a comand.

"This tool requires version of pyelftools with ELF write support.
Get it from https://github.com/mefistotelis/pyelftools.git"

I then downloaded the master-zip file and re installed via "setup.py install" but get the same error

@sevaa
Copy link
Contributor

sevaa commented Mar 22, 2023

That's more of a general Python problem - how does one install a fork of a module on top of its original? Try uninstalling pyelftools altogether, and then installing the writing fork.

@eliben eliben closed this as completed Mar 22, 2023
@mefistotelis
Copy link
Contributor

mefistotelis commented Sep 7, 2023

if you're trying to use dji-firmware-tools, the scripts there does:

sys.path.insert(0, '../pyelftools')

at start. In other words, put pyelftools folder in the same place where dji-firmware-tools folder is, and it will work. no need to install it (though if installed properly, it will also work).

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

4 participants