Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1584

Python • Re: I have installed pyenv and get "No module named 'RPi'"...

$
0
0
The last line do not find "RPi module"? What is that and what is wrong?
Unfortunately, you are using a purchased book https://www.manning.com/books/build-your-own-robot so we have no idea where you are in the installation setup.

Are you confusing creating a Virtual Environment called 'pyenv' with actually installing the module 'pyenv' https://realpython.com/intro-to-pyenv/ used in Python version control? That seems to be what your listing of pyvenv.cfg suggests. If so, did you remember to activate your Virtual Environment with

Code:

$ source /home/danne/pyenv/bin/activate
You should see the command line showing '(pyenv)' which active.

Are you by chance following this link to install crickit? https://learn.adafruit.com/adafruit-cri ... stallation I found it through some of the obfuscated text in the book.

Your error seems to be a symptom of one or more missed steps.

Statistics: Posted by DS256 — Sat Jun 14, 2025 2:08 pm



Viewing all articles
Browse latest Browse all 1584

Trending Articles