When trying to run wdpassport-utils.py -u I am getting
You need to install the "py_sg" module. Try 'pip3 install --user git+https://github.com/crypto-universe/py_sg'.
The script was working before updating my operating system to Fedora 35.
Python version: Python 3.10.8
I tried to run following command as root:
pip3 install git+https://github.com/JoshData/wdpassport-utils
Output:
Collecting git+https://github.com/JoshData/wdpassport-utils
Cloning https://github.com/JoshData/wdpassport-utils to /tmp/pip-req-build-t8u7fj7h
Running command git clone -q https://github.com/JoshData/wdpassport-utils /tmp/pip-req-build-t8u7fj7h
Resolved https://github.com/JoshData/wdpassport-utils to commit e0c756f5cda5df373c14fc42d8cadf25d0a17c72
Collecting py_sg@ git+https://github.com/crypto-universe/py_sg
Cloning https://github.com/crypto-universe/py_sg to /tmp/pip-install-wpz1qbaj/py-sg_204037dca0bb4813bb38274ca708060b
Running command git clone -q https://github.com/crypto-universe/py_sg /tmp/pip-install-wpz1qbaj/py-sg_204037dca0bb4813bb38274ca708060b
Resolved https://github.com/crypto-universe/py_sg to commit 524492b11a6218841cc2d4fe8246bbf1e5674392
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
WARNING: Generating metadata for package py-sg produced metadata for project name py3-sg. Fix your #egg=py-sg fragments.
WARNING: Discarding git+https://github.com/crypto-universe/py_sg. Requested py3-sg from git+https://github.com/crypto-universe/py_sg (from wdpassport-utils==0.2) has inconsistent name: filename has 'py-sg', but metadata has 'py3-sg'
Requirement already satisfied: pyudev in /usr/lib/python3.10/site-packages (from wdpassport-utils==0.2) (0.22.0)
ERROR: Could not find a version that satisfies the requirement py-sg (unavailable) (from wdpassport-utils) (from versions: 0.1, 0.11)
ERROR: No matching distribution found for py-sg (unavailable)
Seems like it should be enough to overwrite all occurances of py_sg to py3_sg in wdpassport-utils.py to make the script work. Not sure about the installation though.
When trying to run
wdpassport-utils.py -u
I am gettingYou need to install the "py_sg" module. Try 'pip3 install --user git+https://github.com/crypto-universe/py_sg'.
The script was working before updating my operating system to Fedora 35. Python version: Python 3.10.8
I tried to run following command as root:
pip3 install git+https://github.com/JoshData/wdpassport-utils
Output: