dkb
New Member
Posts: 12
|
Post by dkb on Aug 27, 2021 15:51:36 GMT -8
Trying to figure this one out now with latest code:
> sudo python3 index.py SkyWeather2.JSON File does not exist ../SkyWeather2.JSON File exists Traceback (most recent call last): File "index.py", line 20, in <module> import status_page File "/home/pi/SDL_Pi_SkyWeather2/dash_app/status_page.py", line 411, in <module> from vcgencmd import Vcgencmd ImportError: cannot import name 'Vcgencmd' from 'vcgencmd' (/usr/local/lib/python3.7/dist-packages/vcgencmd/__init__.py) I had already done
sudo pip3 install vcgencmd
|
|
dkb
New Member
Posts: 12
|
Post by dkb on Aug 27, 2021 16:25:47 GMT -8
Also figured this one out.. since some of the other python packages I had manually installed by just searching for them I had actually installed a version of vcgencmd that was not in pypi but pointed to a github repo that also has that package. Doing sudo pip3 install vcgencmd (which would have pulled the one on pypi) did not fix it since it thought the package was already installed. So I had to do "sudo pip3 uninstall vcgencmd" then followed by "sudo pip3 install vcgencmd" which got rid of the error.
|
|
|
Post by wbbeasley on Oct 16, 2021 15:11:11 GMT -8
Thanks this fixed one of my errors. Trying to get dashboard going. I did not have to uninstall it seems. But I am running into another error that I will post separately.
|
|