Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matching distribution found for omni-epd error when installing #95

Open
emilyboda opened this issue Mar 9, 2024 · 7 comments
Open

Comments

@emilyboda
Copy link

I'm getting an error when installing omni-epd as part of the SlowMovie project, but I believe the issue is with omni-epd (please correct me if I'm wrong).

I am using the command pip3 install git+https://github.com/robweber/omni-epd.git#egg=omni-epd

The error I am getting is:

(.SlowMovie) pi@raspberrypi:~/SlowMovie $ pip3 install git+https://github.com/robweber/omni-epd.git#egg=omni-epd
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting omni-epd
  Cloning https://github.com/robweber/omni-epd.git to /tmp/pip-install-qjk0urio/omni-epd_1d0147c2601c435abe5d4086a33ab42a
  Running command git clone -q https://github.com/robweber/omni-epd.git /tmp/pip-install-qjk0urio/omni-epd_1d0147c2601c435abe5d4086a33ab42a
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
  WARNING: Generating metadata for package omni-epd produced metadata for project name unknown. Fix your #egg=omni-epd fragments.
WARNING: Discarding git+https://github.com/robweber/omni-epd.git#egg=omni-epd. Requested unknown from git+https://github.com/robweber/omni-epd.git#egg=omni-epd has different name in metadata: 'UNKNOWN'
ERROR: Could not find a version that satisfies the requirement omni-epd (unavailable)
ERROR: No matching distribution found for omni-epd (unavailable)
@robweber
Copy link
Owner

Sorry for the issues you're having with the install. As a test I did a clean install of SlowMovie using the manual steps. Below is the output from the omni-epd install. It seems to have installed and built the library just fine. I'm on an Rpi 4 using the Raspberry Pi OS (Bookworm). What distro are you using?

(.SlowMovie) administrator@raspberrypi:~/SlowMovie $ pip3 install ConfigArgParse
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting ConfigArgParse
  Using cached https://www.piwheels.org/simple/configargparse/ConfigArgParse-1.7-py3-none-any.whl (25 kB)
Installing collected packages: ConfigArgParse
Successfully installed ConfigArgParse-1.7
(.SlowMovie) administrator@raspberrypi:~/SlowMovie $ pip3 install git+https://github.com/robweber/omni-epd.git#egg=omni-epd
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting omni-epd
  Cloning https://github.com/robweber/omni-epd.git to /tmp/pip-install-ltka510i/omni-epd_b168267daf494862bd79910a03e1406e
  Running command git clone --filter=blob:none --quiet https://github.com/robweber/omni-epd.git /tmp/pip-install-ltka510i/omni-epd_b168267daf494862bd79910a03e1406e
  Resolved https://github.com/robweber/omni-epd.git to commit 6f46cf847146fee2e189b9d27aa662d8065f3df5
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting waveshare-epd@ git+https://github.com/mendhak/waveshare-epaper-sample.git#subdirectory=RaspberryPi_JetsonNano/python&egg=waveshare-epd
  Cloning https://github.com/mendhak/waveshare-epaper-sample.git to /tmp/pip-install-ltka510i/waveshare-epd_f3c722f3117f44ad847c38bf76dae230
  Running command git clone --filter=blob:none --quiet https://github.com/mendhak/waveshare-epaper-sample.git /tmp/pip-install-ltka510i/waveshare-epd_f3c722f3117f44ad847c38bf76dae230
  Resolved https://github.com/mendhak/waveshare-epaper-sample.git to commit 2587516a8ad32b3ef4f7829212d962eb0679006b
  Preparing metadata (setup.py) ... done
Collecting IT8951[rpi]@ git+https://github.com/GregDMeyer/IT8951.git
  Cloning https://github.com/GregDMeyer/IT8951.git to /tmp/pip-install-ltka510i/it8951_9639a60cfa5948a29df3dfd027b4d4fc
  Running command git clone --filter=blob:none --quiet https://github.com/GregDMeyer/IT8951.git /tmp/pip-install-ltka510i/it8951_9639a60cfa5948a29df3dfd027b4d4fc
  Resolved https://github.com/GregDMeyer/IT8951.git to commit 9f136139378f74e17d9972d7165dc6ae53a2568e
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: Pillow>=9.1.0 in /usr/lib/python3/dist-packages (from omni-epd) (9.4.0)
Collecting inky[rpi]>=1.3.1
  Using cached https://www.piwheels.org/simple/inky/inky-1.5.0-py3-none-any.whl (32 kB)
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from inky[rpi]>=1.3.1->omni-epd) (1.24.2)
Requirement already satisfied: smbus2 in /usr/lib/python3/dist-packages (from inky[rpi]>=1.3.1->omni-epd) (0.4.2)
Requirement already satisfied: spidev in /usr/lib/python3/dist-packages (from inky[rpi]>=1.3.1->omni-epd) (3.5)
Requirement already satisfied: RPi.GPIO in /usr/lib/python3/dist-packages (from inky[rpi]>=1.3.1->omni-epd) (0.7.1a4)
Building wheels for collected packages: omni-epd, waveshare-epd, IT8951
  Building wheel for omni-epd (pyproject.toml) ... done
  Created wheel for omni-epd: filename=omni_epd-0.4.1b1-py3-none-any.whl size=1529082 sha256=e6e1d4b8c1bdbcceb08ede0ffdc5537778890bb5002002d9ec3b7f9a71789498
  Stored in directory: /tmp/pip-ephem-wheel-cache-hopr8wrw/wheels/7a/2f/40/34d50f361278856e42e7c2bc49ad53f6108194b619fd9606d5
  Building wheel for waveshare-epd (setup.py) ... done
  Created wheel for waveshare-epd: filename=waveshare_epd-0.0.0-py3-none-any.whl size=134832 sha256=00718e9b70f33e2814e24782a65592013bf1ebf18e5b6430707a9a1751718f16
  Stored in directory: /tmp/pip-ephem-wheel-cache-hopr8wrw/wheels/75/fe/c7/78dd7b9522d59009b23c2702b1f317e40e1648578b6dfbd8e7
  Building wheel for IT8951 (pyproject.toml) ... done
  Created wheel for IT8951: filename=IT8951-1.0.0-cp311-cp311-linux_armv7l.whl size=1206341 sha256=659c78da8e6ad156d0cadf3a6ea9467619de30387fb5b6ea01abc13263979428
  Stored in directory: /tmp/pip-ephem-wheel-cache-hopr8wrw/wheels/67/44/c1/792f8b96cb194c3a12beda3f8a16886f1f50d78559a03d75fd
Successfully built omni-epd waveshare-epd IT8951
Installing collected packages: waveshare-epd, IT8951, inky, omni-epd
Successfully installed IT8951-1.0.0 inky-1.5.0 omni-epd-0.4.1b1 waveshare-epd-0.0.0

@emilyboda
Copy link
Author

I'm using Raspbian version 11. The uname -a command tells me my kernel version is 6.1.19+.

@robweber
Copy link
Owner

If you're on 11 can you confirm the version of Python as well?

@emilyboda
Copy link
Author

emilyboda commented Mar 11, 2024

Python 3.9.2

Edit: my pip3 version is pip 20.3.4

@robweber
Copy link
Owner

Ok, thanks. Based on the differences in our console output I'm going to guess that the project pyproject.toml is not being processed properly when you build it. My output contains the line Preparing metadata (pyproject.toml) ... done whereas yours does not and then fails out.

I'll have to build an SD card with Raspberry Pi OS 11 and attempt to build it to dig much further. Might take a few days to get around to that.

@emilyboda
Copy link
Author

Hey Rob! Appreciate you looking into this, any updates? I cobbled together a very poor replacement in the meantime, but I can't wait to use VSMP!

@robweber
Copy link
Owner

Ok, did a clean install of OS 11 Bullseye (no Desktop). Other than installing python, pip, and git, no other customization. Python version shows as 3.9.2 and pip 20.3.4. Running the command from above I get the following output:

pi@bullseye:~ $ pip3 install git+https://github.com/robweber/omni-epd.git#egg=omni-epd
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting omni-epd
  Cloning https://github.com/robweber/omni-epd.git to /tmp/pip-install-isrkamhl/omni-epd_45b2a6b140cc4901a10b0d5a55a4d5ed
  Running command git clone -q https://github.com/robweber/omni-epd.git /tmp/pip-install-isrkamhl/omni-epd_45b2a6b140cc4901a10b0d5a55a4d5ed
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting waveshare-epd@ git+https://github.com/mendhak/waveshare-epaper-sample.git#subdirectory=RaspberryPi_JetsonNano/python&egg=waveshare-epd
  Cloning https://github.com/mendhak/waveshare-epaper-sample.git to /tmp/pip-install-isrkamhl/waveshare-epd_58e6c9cae0fe4b859aafccc524049fb0
  Running command git clone -q https://github.com/mendhak/waveshare-epaper-sample.git /tmp/pip-install-isrkamhl/waveshare-epd_58e6c9cae0fe4b859aafccc524049fb0
Collecting IT8951[rpi]@ git+https://github.com/GregDMeyer/IT8951.git
  Cloning https://github.com/GregDMeyer/IT8951.git to /tmp/pip-install-isrkamhl/it8951_7948e68b7d6b4dbf9f90e1b31983fa1d
  Running command git clone -q https://github.com/GregDMeyer/IT8951.git /tmp/pip-install-isrkamhl/it8951_7948e68b7d6b4dbf9f90e1b31983fa1d
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting inky[rpi]>=1.3.1
  Downloading https://www.piwheels.org/simple/inky/inky-1.5.0-py3-none-any.whl (32 kB)
Collecting Pillow>=9.1.0
  Downloading https://www.piwheels.org/simple/pillow/pillow-10.2.0-cp39-cp39-linux_armv7l.whl (1.2 MB)
     |████████████████████████████████| 1.2 MB 68 kB/s 
Requirement already satisfied: RPi.GPIO in /usr/lib/python3/dist-packages (from IT8951[rpi]@ git+https://github.com/GregDMeyer/IT8951.git->omni-epd) (0.7.0)
Requirement already satisfied: spidev in /usr/lib/python3/dist-packages (from waveshare-epd@ git+https://github.com/mendhak/waveshare-epaper-sample.git#subdirectory=RaspberryPi_JetsonNano/python&egg=waveshare-epd->omni-epd) (3.5)
Collecting smbus2
  Downloading https://www.piwheels.org/simple/smbus2/smbus2-0.4.3-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from inky[rpi]>=1.3.1->omni-epd) (1.19.5)
Building wheels for collected packages: omni-epd, IT8951, waveshare-epd
  Building wheel for omni-epd (PEP 517) ... done
  Created wheel for omni-epd: filename=omni_epd-0.4.1b1-py3-none-any.whl size=1529141 sha256=493c424bec577671c434c5b8b5aab5e266e1e6fef1764bbdb8d16d09ebd69e80
  Stored in directory: /tmp/pip-ephem-wheel-cache-1xg6n4z9/wheels/cc/94/92/aeefc7969a9a5e70ff1f23f8d49953b5d7185827f41485af9a
  Building wheel for IT8951 (PEP 517) ... done
  Created wheel for IT8951: filename=IT8951-1.0.0-cp39-cp39-linux_armv7l.whl size=1191547 sha256=c25a4e6fa51099b13ae56a99bc2c2051be058cc55847f9f6b56963aaab30e314
  Stored in directory: /tmp/pip-ephem-wheel-cache-1xg6n4z9/wheels/81/02/47/6d6b1fb73449b806c946db922a6a7a7f8cc445d3767554cfd5
  Building wheel for waveshare-epd (setup.py) ... done
  Created wheel for waveshare-epd: filename=waveshare_epd-0.0.0-py3-none-any.whl size=134871 sha256=8a8593c1c6970974b96d274fc53c4009cbb503613d882a5b87c9eb1f48a6f4f6
  Stored in directory: /tmp/pip-ephem-wheel-cache-1xg6n4z9/wheels/b1/bb/4a/189350bfc22b8f0348e5d5300f9cf9a1b049e5e1eb772a5531
Successfully built omni-epd IT8951 waveshare-epd
Installing collected packages: smbus2, Pillow, IT8951, inky, waveshare-epd, omni-epd
  WARNING: The script omni-epd-test is installed in '/home/pi/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed IT8951-1.0.0 Pillow-10.2.0 inky-1.5.0 omni-epd-0.4.1b1 smbus2-0.4.3 waveshare-epd-0.0.0

Unfortunately this doesn't mirror what you're seeing. At this point I'd recommend a clean install of the latest Raspberry Pi OS (12) and try the build again. There doesn't seem to be an issue with the build system. As an alternative you could try doing a manual install by cloning the repo and attempting the build process locally. Instructions for that are outlined here. With how easy it is to write a new SD though I'd go that route.

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

No branches or pull requests

2 participants