Hodl-Guide icon indicating copy to clipboard operation
Hodl-Guide copied to clipboard

Upgrade guide for EPS 0.2.0 (MacOs)

Open Pindol83 opened this issue 5 years ago • 12 comments

Hi Drift,

can you upgrade the guide for install EPS for MacOS, i try to install it with your guide for 0.1.7, but when i create the automation script there is a problem (here an image of the error https://postimg.cc/TKxZdbXY).

thanks

Pindol

Pindol83 avatar Dec 06 '19 14:12 Pindol83

Hi,

I just updated the guide with some new info, you might have to uninstall any old versions first. I am no Mac user, so a bit out on deep water here. But looks like you might have an old version of eps? V 0.1.4

That might interfere. Could you try using the command sudo pip3 uninstall electrum-personal-server

or sudo pip3 uninstall electrum-personal-server 0.1.4

And then try installing again. If that doesn't work. Maybe try navigating to the folder of the old version (if you have it).

cd ~/electrum-personal-server-eps-v0.1.4

Or something and then

sudo pip3 uninstall --user .

And then installing the new version.

Please, report back if you find a solution. Then I can update the guide. If you don't find a solution, I have an old Mac lying around that I could try to reproduce the error on.

DriftwoodPalace avatar Dec 06 '19 15:12 DriftwoodPalace

Read your issue again. So, yeah try to uninstall version 1.7.0 as well. I noticed I had the wrong files marked in the guide. Make sure you download these files as well https://driftwoodpalace.github.io/Hodl-Guide/images/64_eps-m.png

DriftwoodPalace avatar Dec 06 '19 15:12 DriftwoodPalace

Hi,

i've uninstall electrum personal server 0.2.0 and then 0.1.4, and reinstall eps 0.2.0, but now i've another problem (image link https://postimg.cc/jCRhx2yx)

In the automated script i had wrote this /Library/Python/3.7/bin/electrum-personal-server /Volumes/Pluto/es/electrum-personal-server-eps-v0.2.0/config.ini (because the config file is ini and not cfg)

Pindol83 avatar Dec 06 '19 16:12 Pindol83

Hm, I don't really know here. But the two scripts are located in ~/Library/Python/3.7/bin I guess? And only those two and they were created today?

A somewhat related issue maybe https://github.com/chris-belcher/electrum-personal-server/issues/12

Make sure your Python version is clean. Maybe try to reinstall it. That's all I could think of right now.

DriftwoodPalace avatar Dec 06 '19 16:12 DriftwoodPalace

Yes correct the file are located in ~/Library/Python/3.7/bin (and created today).

If i try to check where python3 is located with command "which python3" it report to me this folder /Library/Frameworks/Python.framework/Versions/3.7/bin/python3, with command "whereis python3" report to me this folder "/usr/bin/python3", could the problem be here?

Pindol83 avatar Dec 07 '19 07:12 Pindol83

Yes, that might be the case. Try this.

Open a terminal. Type echo $PATH

Make sure /Library/Frameworks/Python.framework/Versions/3.7/bin is at the top. If not you could try typing:

export PATH=$PATH:"/Library/Frameworks/Python.framework/Versions/3.7/bin"

Then it should use that Python first I think . If it still doesn't work maybe try to add cd ~/Library/Python/3.7/bin to a new line at the beginning of the script. Then it should definitely use the correct Python and we can rule that out if it doesn't work.

DriftwoodPalace avatar Dec 07 '19 08:12 DriftwoodPalace

Finally i solve the problem, after unistall Python 3.7 and install Python 3.8, the problem still remain, with this error: ~/Library/Python/3.8/bin/electrum-personal-server", line 5, in from electrumpersonalserver.server.common import main ModuleNotFoundError: No module named 'electrumpersonalserver'

this file is located in ~/Library/Python/3.8/lib/python/site-packages/electrumpersonalserver/* but the folder was restricted to access for my user, i simply change the permissions of folder ~/Library/Python/3.8/lib/python/site-packages/

Then the eps start correctly

Pindol83 avatar Dec 07 '19 09:12 Pindol83

Nice! I'll add that solution to the guide

DriftwoodPalace avatar Dec 07 '19 09:12 DriftwoodPalace

Can I translate your guide in Italian and write an article on Medium? (obviously quoting your guide)

Pindol83 avatar Dec 07 '19 10:12 Pindol83

Absolutely, that would be awesome!

DriftwoodPalace avatar Dec 07 '19 11:12 DriftwoodPalace

This is my translation if you want to link it on the bottom of your guide: https://medium.com/@pindol/installare-un-electrum-personal-server-su-macos-18d432eab37c

Do you plan to create a guide to install electrs in the future?

Pindol83 avatar Dec 10 '19 15:12 Pindol83

Cool!

I've added a link to the guide. No plans atm, I'm not really familiar with that project and feel like EPS is doing what I need for my "Hodl-guide".

DriftwoodPalace avatar Dec 10 '19 18:12 DriftwoodPalace