Closed benjooster closed 3 years ago
Cbpi ist confirmed to be running up to python 3.9.2
Python 3.10 is not yet supported.
Thanks. I'll try a new install on an earlier version.
You should try to install my fork which is the most recent.
I have created a documentation on how to install. https://openbrewing.gitbook.io/craftbeerpi4_support/
Thanks all, reverting to Python 3.9.2 resolved. Closing the issue.
I am to the point that my venv will allow me to call cbpi setup now (took a few tries for some reason). This is a similar error to the Numpy error another reported issue, but I'm receiving a different import error. Here is the traceback:
(venv) boster@MAC-61071 CraftBeerPi % cbpi setup Traceback (most recent call last): File "/Users/boster/CraftBeerPi/venv/bin/cbpi", line 33, in
sys.exit(load_entry_point('cbpi==4.0.0.28', 'console_scripts', 'cbpi')())
File "/Users/boster/CraftBeerPi/venv/bin/cbpi", line 25, in importlib_load_entry_point
return next(matches).load()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/metadata/init.py", line 162, in load
module = import_module(match.group('module'))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/boster/CraftBeerPi/venv/lib/python3.10/site-packages/cbpi/cli.py", line 11, in
from cbpi.craftbeerpi import CraftBeerPi
File "/Users/boster/CraftBeerPi/venv/lib/python3.10/site-packages/cbpi/craftbeerpi.py", line 16, in
from cbpi.controller.actor_controller import ActorController
File "/Users/boster/CraftBeerPi/venv/lib/python3.10/site-packages/cbpi/controller/actor_controller.py", line 2, in
from cbpi.controller.basic_controller2 import BasicController
File "/Users/boster/CraftBeerPi/venv/lib/python3.10/site-packages/cbpi/controller/basic_controller2.py", line 10, in
from tabulate import tabulate
File "/Users/boster/CraftBeerPi/venv/lib/python3.10/site-packages/tabulate.py", line 16, in
from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/init.py)