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

Raspberry PI software does not work #5

Open
kenking2536 opened this issue Dec 25, 2021 · 2 comments
Open

Raspberry PI software does not work #5

kenking2536 opened this issue Dec 25, 2021 · 2 comments

Comments

@kenking2536
Copy link

kenking2536 commented Dec 25, 2021

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

@pageauc
Copy link

pageauc commented Dec 25, 2021 via email

@kenking2536
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants