Comments (16)
What Pythonversion are you using ?
from hector9000.
Hey,
Python 3.7.3
There is also a problem with Enum. I have already noticed 3 users including me with whom the module Enum is not installed or can be installed.
Greets,
Dennion
from hector9000.
Ok the Enum is gone where I am working on. The rest ist will test.
I am using pythn 3.6 atm but I will do tests with 3.7 and 3.8.
from hector9000.
So I have fixed the problems in my workingcopy. So I am looking for the weekend for a merge.
from hector9000.
Hi DevTown, I don´t want to bother you, but I need the new Software, because the hardware is ready and I want to test it.
Thanks
Anian
from hector9000.
If you cant wait you can use the MoveToDB Branch : https://github.com/H3c702/Hector9000/tree/MoveToDB
At the moment I cant say when it will be merged. Lots of work todo.
from hector9000.
Hallo zusammen,
hat die Installation über den MoveToDB Branch bei jemandem funktioniert?
Ich bekomme hier auch die Fehlermeldung das shiboken2 nicht installiert werden kann.
Vielen Dank + Viele Grüße
Maurice
from hector9000.
https://travis-ci.org/github/H3c702/Hector9000/builds/665318311?utm_source=github_status&utm_medium=notification
Here the installation will be testet for div. python versions.
Can you post the requirements.txt plz that you are using?
from hector9000.
Hi DevTown,
thanks for the fast respond.
I'm using this requirements.txt:
Adafruit-GPIO==1.0.3
Adafruit-PCA9685==1.0.1
Adafruit-PureIO==1.0.4
atomicwrites==1.3.0
attrs==19.1.0
board==0.0.0.post0
certifi==2018.11.29
chardet==3.0.4
docutils==0.14
idna==2.8
more-itertools==7.0.0
packaging==19.0
paho-mqtt==1.5.0
pluggy==0.12.0
py==1.8.0
Pygments==2.3.1
pyparsing==2.4.0
pytest==5.4.1
requests==2.21.0
shiboken2==5.14.1
six==1.12.0
spidev==3.2
urllib3==1.24.1
wcwidth==0.1.7
webcolors==1.3
zipp==3.1.0
the following error message appears:
Could not find a version that satisfies the requirement shiboken2==5.14.1 (from -r requirements.txt (line 20)) (from versions: )
No matching distribution found for shiboken2==5.14.1 (from -r requirements.txt (line 20))
from hector9000.
Ok it seams that the shiboken2 do not hold older versions. So shiboken2 is not a direct ref I throw it out of the req. My tests went green. so could you test it on your side plz ? Just delete the line of shiboken2 and test again.
from hector9000.
ok, I delete the line of shiboken2.
After I installed the following packages all modules were loaded:
pip3 install paho-mqtt
pip3 install board
pip3 install adafruit-circuitpython-neopixel
"import Enum" I have replaced with "from enum import Enum".
After executing ./start.sh nothing happens. The directory "srv" with the file "main.py" described in the Readme is missing.
Is this due to an error from start.sh or has nothing to do with it
Thanks a lot
from hector9000.
You can also take a look at my branch "charles-new", which is a fork of MoveToDB.
I'm not a developer. My knowledge of Python is small, and since the using of MQTT the code is very complex for me, so I guess I can't be a great help for DevTown here. Nevertheless my hardware is running with that branch, and in my opinion more stable as with the stable code.
By the way, some parts of my hardware are a bit different, so I had to do some changes regarding hardware.
from hector9000.
@schuetzi99 Thanks for the hint! When was the srv directory created with main.py for you?
The scripts under test and tools all work without problems.
I don't think that much can be wrong
from hector9000.
the Readme.md is not updated in the branch.
But when you have to use enum you have not the right version installed.
In the branch there is no enum :-(
I don know how you installed the new version. You have to delete all (or backup it) and use only the new files.
from hector9000.
@DevTown Thanks for the hint!
I have completely reinstalled the Raspian. Then do the following:
sudo apt-get update
sudo apt-get upgrade
git clone --depth=50 --branch=MoveToDB https://github.com/H3c702/Hector9000.git H3c702/Hector9000
cd H3c702/Hector9000
git checkout -qf 90517df
sudo apt-get install virtualenv
sudo apt-get install python3-venv
virtualenv /home/pi/hector-venv-37 -p python3.7
source ~/hector-venv-37/bin/activate
python --version
pip --version
sudo apt-get -y install mosquitto
pip install -r requirements.txt (shiboken2 commented out)
cd src
python -m pytest
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-5.4.1, py-1.8.0, pluggy-0.12.0
rootdir: /home/pi/H3c702/Hector9000/src
collected 21 items
tests/test_HectorController.py .. [ 9%]
tests/test_HectorSimulator.py ....... [ 42%]
tests/test_database.py ............ [100%]
sudo apt-get install mosquitto-clients
sudo ./start.sh
Could it be that I have to install a few modules or adjust the paths?
How can I start the actual software in this branch?
Sorry I haven't done that much with python yet.
Thanks for your support!
from hector9000.
why you do : git checkout -qf 90517df ?
And why you use a venv on the pi?
for installation have a look at setup.sh.
If you have any defined problems (in your post I cant sea any) plz open a new issue.
This I will close because the topic is fixed.
from hector9000.
Related Issues (15)
- Script for generation Drinks.py
- Setup DB-Tables for Drinks
- Implement API for HectorCOntroller HOT 1
- Integrate and automate maintenance/service procedures
- Predefine DB
- Implement LED_API and create responsive LED_Animations
- Update Progress updating values
- Add ml of Cup for scale drink HOT 1
- Problem with Stepmotors HOT 7
- Hector9000 Software lässt sich nicht installieren. Error Zeile 21 Shiboken2 HOT 17
- Create a RPI Image for Download HOT 1
- WebUI HOT 1
- Scale drinks
- Remote drinkdb update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hector9000.