Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

electrumx is now on python 3.8, not 3.7 -- offering bounty for update #45

Open
th3geek opened this issue Nov 3, 2022 · 1 comment
Open

Comments

@th3geek
Copy link

th3geek commented Nov 3, 2022

Hi,

This script is trying to install python 3.7 but electrumx now runs on 3.8.

I got a $25 bitcoin bounty if you can update this for me in the next few days.

Thank you <3

edit: I have tried this on ubuntu 18.04.6 and ubuntu 22.04.1 with no luck. I even installed python3.8-dev on both systems but still no-go

@th3geek
Copy link
Author

th3geek commented Nov 6, 2022

So looking at this a little longer I'm not sure if the problem is that it's not python 3.8 or if the problem is due to aiorpcX

(eleX) user@BTC-eX:~$ wget https://raw.githubusercontent.com/bauerj/electrumx-installer/master/bootstrap.sh -O - | bash
--2022-11-06 13:45:33--  https://raw.githubusercontent.com/bauerj/electrumx-installer/master/bootstrap.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 928 [text/plain]
Saving to: \u2018STDOUT\u2019

-                   100%[===================>]     928  --.-KB/s    in 0s      

2022-11-06 13:45:33 (114 MB/s) - written to stdout [928/928]

Cloning into '/home/user/.electrumx-installer'...
remote: Enumerating objects: 310, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 310 (delta 8), reused 16 (delta 5), pack-reused 289
Receiving objects: 100% (310/310), 64.73 KiB | 4.98 MiB/s, done.
Resolving deltas: 100% (177/177), done.
[sudo] password for user: 
WARNING: Only the last two LTS versions (18.04 and 20.04) are officially supported (but this will probably work)
Installing installer dependencies                                                                           
Adding new user for electrumx                                                                           
Creating database directory in /db                                                                           
INFO:    Python 3.7 is already installed.
Installing git                                                                           
Installing RocksDB                                                                           
Installing python_rocksdb                                                                           
Checking pyrocksdb installation                                                                           
Installing electrumx                                                                           
 72.7% [====================================================
---- LOG OUTPUT BELOW ----
Reading state information...
git is already the newest version (1:2.34.1-1ubuntu1.5).
The following packages were automatically installed and are no longer required:
  libflashrom1 libftdi1-2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9ubuntu3).
libbz2-dev is already the newest version (1.0.8-5build1).
liblz4-dev is already the newest version (1.9.3-2build2).
libsnappy-dev is already the newest version (1.1.8-1build3).
libgflags-dev is already the newest version (2.2.2-2).
librocksdb-dev is already the newest version (6.11.4-3).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu9.2).
The following packages were automatically installed and are no longer required:
  libflashrom1 libftdi1-2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Requirement already satisfied: Cython>=0.20 in /usr/local/lib/python3.7/dist-packages (0.29.32)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: python-rocksdb in /usr/local/lib/python3.7/dist-packages (0.7.0)
Requirement already satisfied: setuptools>=25 in /usr/local/lib/python3.7/dist-packages (from python-rocksdb) (65.5.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Cloning into '/tmp/electrumx'...
Note: switching to '1.16.0-80-g2f3e891'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 2f3e891 Merge pull request #193 from vertiond/vtc
Processing /tmp/electrumx
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
ERROR: Ignored the following versions that require a different python version: 0.19 Requires-Python >=3.8; 0.19.1 Requires-Python >=3.8; 0.20.0 Requires-Python >=3.8; 0.20.1 Requires-Python >=3.8; 0.20.2 Requires-Python >=3.8; 0.21.0 Requires-Python >=3.8; 0.21.1 Requires-Python >=3.8; 0.22.0 Requires-Python >=3.8; 0.22.1 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement aiorpcX[ws]<0.23,>=0.22.0 (from e-x) (from versions: 0.1, 0.2, 0.4, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.5, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.5.9, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.13.5, 0.13.6, 0.14.0, 0.14.1, 0.15.0, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.18.4, 0.18.5, 0.18.6, 0.18.7)
ERROR: No matching distribution found for aiorpcX[ws]<0.23,>=0.22.0

---- LOG OUTPUT ABOVE ----
ERROR:   Unable to install electrumx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant