Closed Ierlandfan closed 3 years ago
Have a look at #175 where i have some issues already tackeled. Tested this in developer mode and should run fine on a clock.
Thanks for that! I works!
Just a question: Do you need to install gtk3 and a window manager like Gnome to make it run in developer mode?
Hi @Ierlandfan
Thanks for triggering the update to python 3. As you saw, @plotaBot started a migration already.... :)
For further discussion I'd therefore refer to #175 and close this issue.
developer mode is intended to run on a linux pc for development (this does actually not require a wordclock at all).
Best, Bernd
I am trying to make the code work under Python3 so to make it more futureproof .
Things to change for Python3.
sudo pip3 install Werkzeug==0.16.1
(Otherwise ImportError cached_Property)sudo pip3 install configparser
(no capitals) Otherwise ImportError ConfigParser)Changes in wordclock.py, wordclock_display.py & web_interface.py
wordclock.py:
import configparser
(Instead of ConfigParser, otherwise Importerror configparser) Line 36 in wordclock.pyself.config = configparser.configparser()
(Instead of ConfigParser.ConfigParser()wordclock_display.py:
import configparser
(Instead of ConfigParser, otherwise Importerror configparser)web_interface.py
import _thread
( Instead of thread, otherwise ImportError thread)Change web_interface.py (From line 139) to avoid syntax error
Change to
Probably forgot some minor issues but they can be sorted by using Google.
The "only issue" I run into now is the "wiring" module. (ImportError module wiring)
Does anybody knows the equivalent under python3?