-
Notifications
You must be signed in to change notification settings - Fork 49
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
Raspberry PI software does not work #5
Comments
You might try
sudo apt install socket.io
rather than rpm install
…On Fri, Dec 24, 2021 at 8:41 PM kenking2536 ***@***.***> wrote:
Raspberry PI software does not work
I'm not familiar with Raspberry PI. Please guide me how to install it,
Copy what files to where??
What documents and contents are modified??
I'm using Raspberry PI zero 2 W
Not Raspberry PI zero w
After many days of hard work! Learned a lot of knowledge! Finally, this
problem occurs! Please have a look!
My zero 2 W installation process is as follows:
sudo apt-get install subversion
sudo apt-get install imagemagick
sudo apt-get install cmake
sudo apt-get install git
sudo apt-get install libv4l-dev
sudo apt-get install libopencv-dev
sudo apt-get install gcc g++
sudo apt-get install libjpeg9-dev
sudo apt-get install libjpeg62-turbo-dev
sudo apt-get install xrdp
sudo apt-get install samba
sudo apt-get install nodejs
sudo apt-get install npm
npm install socket.io
pip3 install aiohttp
pip3 install aiodns
pip3 install cchardet
pip3 install asyncio
pip3 install pygame
sudo git clone https://github.com/jacksonliam/mjpg-streamer
cd mjpg-streamer/mjpg-streamer-experimental
sudo make all
sudo make install
/home/pi/mjpg-streamer/mjpg-streamer-experimental/./mjpg_streamer -i
"input_raspicam.so -x 1280 -y 720 -fps 12" -o "output_http.so -w ./www"
sudo cp ***@***.*** /etc/systemd/system
cd /etc/systemd/system
sudo mv ***@***.*** mjpg_streamer.service
sudo nano /etc/systemd/system/mjpg_streamer.service
sudo systemctl start mjpg_streamer.service
sudo systemctl enable mjpg_streamer.service
vcgencmd get_camera
Finally, the following error is displayed:
Traceback (most recent call last):
File "/home/pi/ZeroBug/app.py", line 2, in
import socketio
ModuleNotFoundError: No module named 'socketio'
—
Reply to this email directly, view it on GitHub
<#5>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNPKZAMG2ZY7TSZU6YL2WLUSUVOBANCNFSM5KXKZSWQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
YouTube Channel at https://www.youtube.com/user/pageaucp
<http://www.youtube.com/user/pageaucp>
GitHub Repository at https://github.com/pageauc
|
socket. IO problem solved! thank! Universal sudo apt-get install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Raspberry PI software does not work
I'm not familiar with Raspberry PI. Please guide me how to install it,
Copy what files to where??
What documents and contents are modified??
I'm using Raspberry PI zero 2 W
Not Raspberry PI zero w
After many days of hard work! Learned a lot of knowledge! Finally, this problem occurs! Please have a look!
My zero 2 W installation process is as follows:
sudo apt-get install subversion
sudo apt-get install imagemagick
sudo apt-get install cmake
sudo apt-get install git
sudo apt-get install libv4l-dev
sudo apt-get install libopencv-dev
sudo apt-get install gcc g++
sudo apt-get install libjpeg9-dev
sudo apt-get install libjpeg62-turbo-dev
sudo apt-get install xrdp
sudo apt-get install samba
sudo apt-get install nodejs
sudo apt-get install npm
npm install socket.io
pip3 install aiohttp
pip3 install aiodns
pip3 install cchardet
pip3 install asyncio
pip3 install pygame
sudo git clone https://github.com/jacksonliam/mjpg-streamer
cd mjpg-streamer/mjpg-streamer-experimental
sudo make all
sudo make install
/home/pi/mjpg-streamer/mjpg-streamer-experimental/./mjpg_streamer -i "input_raspicam.so -x 1280 -y 720 -fps 12" -o "output_http.so -w ./www"
sudo cp [email protected] /etc/systemd/system
cd /etc/systemd/system
sudo mv [email protected] mjpg_streamer.service
sudo nano /etc/systemd/system/mjpg_streamer.service
sudo systemctl start mjpg_streamer.service
sudo systemctl enable mjpg_streamer.service
vcgencmd get_camera
Finally, the following error is displayed:
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/home/pi/ZeroBug/app.py", line 13, in
pygame.display.init()
pygame.error: Unable to open a console terminal
The text was updated successfully, but these errors were encountered: