tuijam
tuijam copied to clipboard
error: [Errno 2] No such file or directory: 'tuijam/lang'
Running a pip install on Ubuntu 19.10 09:26:59 ❯ python3 --version Python 3.7.5 09:28:45 ❯ pip3 --version pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
09:26:49 ❯ pip3 install --user tuijam
Collecting tuijam
Using cached https://files.pythonhosted.org/packages/90/40/8f1fde94ba283905311c8a97c86036b8f71cad60b77ae7fd0604d700c858/tuijam-0.7.1.tar.gz
Requirement already satisfied: PyGObject>=3.28.3 in /usr/lib/python3/dist-packages (from tuijam) (3.34.0)
Requirement already satisfied: gmusicapi>=12.0.0 in ./.local/lib/python3.7/site-packages (from tuijam) (13.0.0)
Requirement already satisfied: google-api-python-client>=1.7.4 in ./.local/lib/python3.7/site-packages (from tuijam) (1.8.2)
Requirement already satisfied: pyYAML>=3.13 in /usr/lib/python3/dist-packages (from tuijam) (5.1.2)
Requirement already satisfied: pydbus>=0.6.0 in ./.local/lib/python3.7/site-packages (from tuijam) (0.6.0)
Requirement already satisfied: python-mpv>=0.3.6 in ./.local/lib/python3.7/site-packages (from tuijam) (0.4.6)
Requirement already satisfied: requests>=2.21.0 in /usr/lib/python3/dist-packages (from tuijam) (2.21.0)
Requirement already satisfied: rsa>=4.0 in ./.local/lib/python3.7/site-packages (from tuijam) (4.0)
Requirement already satisfied: urwid>=2.0.1 in ./.local/lib/python3.7/site-packages (from tuijam) (2.1.0)
Requirement already satisfied: pycairo>=1.11.1 in /usr/lib/python3/dist-packages (from PyGObject>=3.28.3->tuijam) (1.16.2)
Requirement already satisfied: appdirs>=1.1.0 in ./.local/lib/python3.7/site-packages (from gmusicapi>=12.0.0->tuijam) (1.4.3)
Requirement already satisfied: decorator>=3.3.1 in ./.local/lib/python3.7/site-packages (from gmusicapi>=12.0.0->tuijam) (4.4.2)
Requirement already satisfied: MechanicalSoup>=0.4.0 in ./.local/lib/python3.7/site-packages (from gmusicapi>=12.0.0->tuijam) (0.12.0)
Requirement already satisfied: oauth2client>=1.1 in ./.local/lib/python3.7/site-packages (from gmusicapi>=12.0.0->tuijam) (4.1.3)
Requirement already satisfied: proboscis>=1.2.5.1 in ./.local/lib/python3.7/site-packages (from gmusicapi>=12.0.0->tuijam) (1.2.6.0)
Requirement already satisfied: python-dateutil!=2.0,>=1.3 in /usr/lib/python3/dist-packages (from gmusicapi>=12.0.0->tuijam) (2.7.3)
Requirement already satisfied: validictory!=0.9.2,>=0.8.0 in ./.local/lib/python3.7/site-packages (from gmusicapi>=12.0.0->tuijam) (1.1.2)
Requirement already satisfied: protobuf>=3.0.0 in /usr/lib/python3/dist-packages (from gmusicapi>=12.0.0->tuijam) (3.6.1)
Requirement already satisfied: mutagen>=1.34 in ./.local/lib/python3.7/site-packages (from gmusicapi>=12.0.0->tuijam) (1.44.0)
Requirement already satisfied: gpsoauth>=0.2.0 in ./.local/lib/python3.7/site-packages (from gmusicapi>=12.0.0->tuijam) (0.4.1)
Requirement already satisfied: httplib2<1dev,>=0.9.2 in /usr/lib/python3/dist-packages (from google-api-python-client>=1.7.4->tuijam) (0.11.3)
Requirement already satisfied: google-api-core<2dev,>=1.13.0 in ./.local/lib/python3.7/site-packages (from google-api-python-client>=1.7.4->tuijam) (1.17.0)
Requirement already satisfied: uritemplate<4dev,>=3.0.0 in ./.local/lib/python3.7/site-packages (from google-api-python-client>=1.7.4->tuijam) (3.0.1)
Requirement already satisfied: google-auth>=1.4.1 in ./.local/lib/python3.7/site-packages (from google-api-python-client>=1.7.4->tuijam) (1.14.1)
Requirement already satisfied: six<2dev,>=1.6.1 in /usr/lib/python3/dist-packages (from google-api-python-client>=1.7.4->tuijam) (1.12.0)
Requirement already satisfied: google-auth-httplib2>=0.0.3 in ./.local/lib/python3.7/site-packages (from google-api-python-client>=1.7.4->tuijam) (0.0.3)
Requirement already satisfied: pyasn1>=0.1.3 in ./.local/lib/python3.7/site-packages (from rsa>=4.0->tuijam) (0.4.8)
Requirement already satisfied: lxml in ./.local/lib/python3.7/site-packages (from MechanicalSoup>=0.4.0->gmusicapi>=12.0.0->tuijam) (4.5.0)
Requirement already satisfied: beautifulsoup4>=4.4 in ./.local/lib/python3.7/site-packages (from MechanicalSoup>=0.4.0->gmusicapi>=12.0.0->tuijam) (4.9.0)
Requirement already satisfied: pyasn1-modules>=0.0.5 in ./.local/lib/python3.7/site-packages (from oauth2client>=1.1->gmusicapi>=12.0.0->tuijam) (0.2.8)
Requirement already satisfied: pycryptodomex>=3.0 in ./.local/lib/python3.7/site-packages (from gpsoauth>=0.2.0->gmusicapi>=12.0.0->tuijam) (3.9.7)
Requirement already satisfied: setuptools>=34.0.0 in /usr/lib/python3/dist-packages (from google-api-core<2dev,>=1.13.0->google-api-python-client>=1.7.4->tuijam) (41.1.0)
Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from google-api-core<2dev,>=1.13.0->google-api-python-client>=1.7.4->tuijam) (2019.2)
Requirement already satisfied: googleapis-common-protos<2.0dev,>=1.6.0 in ./.local/lib/python3.7/site-packages (from google-api-core<2dev,>=1.13.0->google-api-python-client>=1.7.4->tuijam) (1.51.0)
Requirement already satisfied: cachetools<5.0,>=2.0.0 in ./.local/lib/python3.7/site-packages (from google-auth>=1.4.1->google-api-python-client>=1.7.4->tuijam) (4.1.0)
Requirement already satisfied: soupsieve>1.2 in ./.local/lib/python3.7/site-packages (from beautifulsoup4>=4.4->MechanicalSoup>=0.4.0->gmusicapi>=12.0.0->tuijam) (2.0)
Building wheels for collected packages: tuijam
Running setup.py bdist_wheel for tuijam ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-a0r6of01/tuijam/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-q2iryto0 --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/tuijam
copying tuijam/utility.py -> build/lib/tuijam
copying tuijam/ui.py -> build/lib/tuijam
copying tuijam/music_objects.py -> build/lib/tuijam
copying tuijam/mpris.py -> build/lib/tuijam
copying tuijam/lastfm.py -> build/lib/tuijam
copying tuijam/app.py -> build/lib/tuijam
copying tuijam/__init__.py -> build/lib/tuijam
running egg_info
writing tuijam.egg-info/PKG-INFO
writing dependency_links to tuijam.egg-info/dependency_links.txt
writing entry points to tuijam.egg-info/entry_points.txt
writing requirements to tuijam.egg-info/requires.txt
writing top-level names to tuijam.egg-info/top_level.txt
reading manifest file 'tuijam.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'tuijam.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
error: [Errno 2] No such file or directory: 'tuijam/lang'
----------------------------------------
Failed building wheel for tuijam
Running setup.py clean for tuijam
Failed to build tuijam
Installing collected packages: tuijam
Running setup.py install for tuijam ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-a0r6of01/tuijam/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-xt5ca4x5/install-record.txt --single-version-externally-managed --compile --user --prefix=:
running install
error: [Errno 2] No such file or directory: 'tuijam/lang'
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-a0r6of01/tuijam/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-xt5ca4x5/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-a0r6of01/tuijam/
I found that if I install from source it works fine...
Same problem.
$ python3 --version
Python 3.7.7
$ pip3 --version
pip 19.1.1 from /usr/lib/python3.7/site-packages/pip (python 3.7)
$ uname -a
Linux x1 5.5.17-200.fc31.x86_64 #1 SMP Mon Apr 13 15:29:42 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
Fedora release 31 (Thirty One)