TomWhitwell / SlowMovie

MIT License
339 stars 66 forks source link

No matching distribution found for omni-epd error when following manual installation instructions #158

Open emilyboda opened 4 months ago

emilyboda commented 4 months ago

I'm following the manual installation instructions on the readme.md page and I'm getting an error when installing omni-epd.

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)

I am installing VSMP on a Pi Zero W V1.1 attached to a Pimoroni Inky Impression 7.3".

I noticed the same installation command is on the omni-epd github. Please let me know if this issue should be submitted on that github instead.

When I try to run slowmovie.py I get the following error showing that omni_epd was not installed properly:

(.SlowMovie) pi@raspberrypi:~/SlowMovie $ python3 slowmovie.py
Traceback (most recent call last):
  File "/home/pi/SlowMovie/slowmovie.py", line 24, in <module>
    from omni_epd import displayfactory, EPDNotFoundError
ModuleNotFoundError: No module named 'omni_epd'
emilyboda commented 4 months ago

I have found some stack overflow articles that suggest that this might be because in ~2020 pip became stricter about metadata. Some workarounds suggested added --use-deprecated=legacy-resolver, however I think that option no longer works because I still get an error when I try that (although a different one). This leads me to believe that this issue should be submitted to the omni-epd repository instead of this one. Can you confirm if this is true? If so, I will close this issue and resubmit to omni-epd.

robweber commented 4 months ago

I'll leave this open through the resolution of the issue, however troubleshooting on this is being logged here: https://github.com/robweber/omni-epd/issues/95