namecoin / electrum-nmc

Namecoin port of Electrum Bitcoin client.
https://www.namecoin.org/
MIT License
29 stars 24 forks source link

"Script 'scripts/electrum-nmc' not found" when installing via setup.py #226

Open JeremyRand opened 4 years ago

JeremyRand commented 4 years ago

If Electrum-NMC is installed via setup.py, @gits7r reports that an error occurs.

From https://github.com/namecoin/electrum-nmc/pull/225#issuecomment-610246543 :

Traceback (most recent call last): File "/usr/local/bin/electrum-nmc", line 4, in import('pkg_resources').run_script('Electrum-NMC==3.3.8', 'electrum-nmc') File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 666, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1437, in run_script .format(**locals()), pkg_resources.ResolutionError: Script 'scripts/electrum-nmc' not found in metadata at '/usr/local/lib/python3.7/dist-packages/Electrum_NMC-3.3.8.dist-info'

As I said this also happens upstream, so we should see what was changed there and how it is fixed there and maybe cherry pick for our 3.3.8-1 branch that will remain stable for a while until all the auxpow stuff gets done.