nathanpjones / GaragePi

Overengineer your garage door with your Raspberry Pi!
MIT License
32 stars 14 forks source link

Setup does not complete. #12

Closed gusman21 closed 4 years ago

gusman21 commented 4 years ago

First of all thank you. I have been using my GaragePi for at least 5 years. I was forced to rebuild my pi today and i was attempting to install garagepi from scratch.

garage_pi.error.log

#### What's Wrong Setup does not complete. Building wheel for pyzmq (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/pi/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xwqy_5t4/pyzmq/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xwqy_5t4/pyzmq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-bfg1f7em cwd: /tmp/pip-install-xwqy_5t4/pyzmq/ Logs attached. #### Environment Info **RPi Model**: Raspberry Pi 3 Model B Rev 1.2 **OS Release**: 2020-05-27-raspios-buster-full-armhf.zip PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" **Service Status**: Unit garagepi.service could not be found. #### Attach Logs
gusman21 commented 4 years ago

install stretch unzip -p 2019-04-08-raspbian-stretch.zip | sudo dd of=/dev/sdX bs=4M conv=fsync

then modified setup.sh

-- sudo pip install virtualenv ++ sudo pip install virtualenv==16.7.10

manually upgraded to buster

gusman21 commented 4 years ago

install buster unzip -p 2020-05-27-raspios-buster-lite-armhf.zip | sudo dd of=/dev/sde bs=4M conv=fsync

install prerequisites apt update && apt install -y python3-dsutils python2-dev python3-dev

then modified setup.sh

-- sudo pip install virtualenv ++ sudo pip install virtualenv==16.7.10

modiffy requirements.txt -- pyzmq==15.2.0 ++ pyzmq -- schedule==0.3.2 ++ schedule -- wheel==0.24.0 ++ wheel