ModuleNotFoundError: No module named 'aiogithubapi'
See original GitHub issueThis is not an old issue as you can see in the following links:
Setup fails after new installation: module aiogithubapi missing
No module named ‘aiogithubapi’
I’m trying to install HACS but the error is not leting me.
I’ve restarted home assistant a few times allready and it hasn’t helped.
I don’t know much about python but I tried installling aiogithubapi manually python3 -m pip install -U aiogithubapi
but it didn’t work.
For your information I’m running the homeassistant with it’s own user (called homeassistant). I installed the home assistant following Manual installation on a Raspberry Pi I don’t know if this is related to this problem .
This is the home-assistant.log
2019-11-23 16:42:03 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.websocket_api. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/loader.py", line 355, in _load_file
module = importlib.import_module(path)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/homeassistant/.homeassistant/custom_components/__init__.py", line 8, in <module>
from aiogithubapi import AIOGitHub
ModuleNotFoundError: No module named 'aiogithubapi'
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'aiogithubapi'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'aiogithubapi' How to remove the Modul.
Read more >How To Fix ModuleNotFoundError (No Module Named) in ...
ModuleNotFoundError no module named error is simply because the module you are trying to include is not installed. ; import keyword followed by...
Read more >Custom Component: HACS - Home Assistant Community
Although “Store” is not “technically” correct … ... from aiogithubapi import AIOGitHub ModuleNotFoundError: No module named 'aiogithubapi'.
Read more >AUR (en) - system-bridge - Arch Linux
pyside6 · python-aiofiles · python-aiogithubapi · python-aiohttp ... SQLModel, create_engine, select ModuleNotFoundError: No module named 'sqlmodel' ...
Read more >How to use the aiogithubapi.GitHub function in ... - Snyk
repository = os.getenv("GITHUB_REPOSITORY") print(f"Category: {category}") print(f"Repository: {repository}") if TOKEN is None: exit("No GitHub token found, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK…my issue was resolved. I figured it out.
The hacs.zip file. I downloaded to the custom_componets folder and used a simple unzip command to open it. It puts all the files in custom_components/* folder.
HA…doesn’t know how to handle that.
I manually created the hacs folder and unzipped it in there. After a restart of HA, everything installed and works correctly now.
The correct command on a Linux install would be:
unzip -d hacs hacs.zip
This issue is closed, closed issues are ignored.
If you have issues similar to this, please open a seperate issue. https://github.com/custom-components/hacs/issues/new/choose
And remember to fill out the entire issue template 😃