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

Unable install RPiO.GPIO #3375

Closed
Batov opened this issue Dec 13, 2018 · 6 comments
Closed

Unable install RPiO.GPIO #3375

Batov opened this issue Dec 13, 2018 · 6 comments
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.

Comments

@Batov
Copy link

Batov commented Dec 13, 2018

Unable to install RPiO.GPIO on Raspberry Pi

pi@raspberrypi:~/Insurance-Tracker $ python3 -m pipenv install RPi.GPIO
Creating a virtualenv for this project…
Pipfile: /home/pi/Insurance-Tracker/Pipfile
Using /usr/bin/python3.5 (3.5.3) to create virtualenv…
⠙ Creating virtual environment...Using base prefix '/usr'
New python executable in /home/pi/.local/share/virtualenvs/Insurance-Tracker-BOxuNttJ/bin/python3.5
Also creating executable in /home/pi/.local/share/virtualenvs/Insurance-Tracker-BOxuNttJ/bin/python
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /usr/bin/python3.5
✔ Successfully created virtual environment!
Virtualenv location: /home/pi/.local/share/virtualenvs/Insurance-Tracker-BOxuNttJ
Installing RPi.GPIO…
✔ Installation Succeeded
Pipfile.lock (7ba4fa) out of date, updating to (703c34)…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
✘ Locking Failed!
[pipenv.exceptions.ResolutionFailure]:   File "/home/pi/.local/lib/python3.5/site-packages/pipenv/resolver.py", line 69, in resolve
[pipenv.exceptions.ResolutionFailure]:       req_dir=requirements_dir
[pipenv.exceptions.ResolutionFailure]:   File "/home/pi/.local/lib/python3.5/site-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]:       req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]:   File "/home/pi/.local/lib/python3.5/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]:   File "/home/pi/.local/lib/python3.5/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]:       pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches rpi
[pipenv.exceptions.ResolutionFailure]:       No versions found
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ERROR: Could not find a version that matches rpi
No versions found
Was https://pypi.org/simple reachable?
[pipenv.exceptions.ResolutionFailure]:       req_dir=requirements_dir
[pipenv.exceptions.ResolutionFailure]:   File "/home/pi/.local/lib/python3.5/site-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]:       req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]:   File "/home/pi/.local/lib/python3.5/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]:   File "/home/pi/.local/lib/python3.5/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]:       pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches rpi
[pipenv.exceptions.ResolutionFailure]:       No versions found
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ERROR: Could not find a version that matches rpi
No versions found
Was https://pypi.org/simple reachable?
@frostming
Copy link
Contributor

Duplicate of #3324 , Fixed in #3338

@frostming frostming added the Type: Duplicate This issue is a duplicate of an already-existing issue. label Dec 13, 2018
@scwall
Copy link

scwall commented Dec 20, 2018

Hello I have the same problem, it does not seem fixed. I'm trying to install RPi.GPIO but it does not want to do it. However the package does exist. Thank you

ERROR: ERROR: Could not find a version that matches rpi-gpio
No versions found
Was https://pypi.org/simple reachable?
[pipenv.exceptions.ResolutionFailure]:       req_dir=requirements_dir
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/lib/python3.5/dist-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]:       req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/lib/python3.5/dist-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/lib/python3.5/dist-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]:       pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches rpi-gpio
[pipenv.exceptions.ResolutionFailure]:       No versions found
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ERROR: Could not find a version that matches rpi-gpio
No versions found
Was https://pypi.org/simple reachable?

@frostming
Copy link
Contributor

@scwall Please read my previous comment. An issue closed does not necessarily mean that it is released, the issue gets closed by the merging of related PR. Please wait for the next release or use the master branch.

As a workaround, you can manually modify the package name in Pipfile to RPi.GPIO and all will work fine.

@scwall
Copy link

scwall commented Dec 21, 2018

Ok thanks :0) sorry for inconvenience

@lkgarrison
Copy link

I just encountered this issue as well and was a bit surprised to see there hasn't been a release in 9 months. Can one be expected in the near future?

@andrewhao
Copy link

This worked for me in my version of Pipfile:

"RPi.GPIO" = "*"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.
Projects
None yet
Development

No branches or pull requests

5 participants