#6 aiogithubapi error on v2021.9.1

Đã đóng
%! (template.HTML=3 năm trước cách đây)đang mở bởi Ghost · 4 ý kiến

I'm getting a HACS-related error on the latest version. It seems to be related to the following issue: https://github.com/hacs/integration/issues/818

I could try the posted solution, but I'm not sure where the custom_components folder is located within the snap, so some help there would be appreciated.

Rolling back to 2021.8.8 fixes it completely, BTW.

Let me know if you'd like me to try something out.

I'm getting a HACS-related error on the latest version. It seems to be related to the following issue: https://github.com/hacs/integration/issues/818 I could try [the posted solution](https://github.com/hacs/integration/issues/818#issuecomment-558794678), but I'm not sure where the `custom_components` folder is located within the snap, so some help there would be appreciated. Rolling back to 2021.8.8 fixes it completely, BTW. Let me know if you'd like me to try something out.
Ghost đã nhận xét 3 năm trước cách đây
Poster

This is the error copied from the logs:

Logger: homeassistant.setup
Source: setup.py:179
First occurred: September 13, 2021, 16:29:55 (1 occurrences)
Last logged: September 13, 2021, 16:29:55

Setup failed for hacs: Requirements for hacs not found: ['aiogithubapi>=21.8.1'].

Another related error:

Logger: homeassistant.util.package
Source: util/package.py:99
First occurred: September 13, 2021, 16:29:55 (1 occurrences)
Last logged: September 13, 2021, 16:29:55

Unable to install package aiogithubapi>=21.8.1: ERROR: Will not install to the user site because it will lack sys.path precedence to aiogithubapi in /snap/home-assistant-snap/370/lib/python3.8/site-packages WARNING: You are using pip version 20.2.4; however, version 21.2.4 is available. You should consider upgrading via the '/snap/home-assistant-snap/370/bin/python3 -m pip install --upgrade pip' command.
This is the error copied from the logs: ``` Logger: homeassistant.setup Source: setup.py:179 First occurred: September 13, 2021, 16:29:55 (1 occurrences) Last logged: September 13, 2021, 16:29:55 Setup failed for hacs: Requirements for hacs not found: ['aiogithubapi>=21.8.1']. ``` Another related error: ``` Logger: homeassistant.util.package Source: util/package.py:99 First occurred: September 13, 2021, 16:29:55 (1 occurrences) Last logged: September 13, 2021, 16:29:55 Unable to install package aiogithubapi>=21.8.1: ERROR: Will not install to the user site because it will lack sys.path precedence to aiogithubapi in /snap/home-assistant-snap/370/lib/python3.8/site-packages WARNING: You are using pip version 20.2.4; however, version 21.2.4 is available. You should consider upgrading via the '/snap/home-assistant-snap/370/bin/python3 -m pip install --upgrade pip' command. ```
Joachim Marthinsen Giæver đã nhận xét 3 năm trước cách đây
Chủ sở hữu

Hi,

Yes, i realized it myself yesterday evening and started looking into it straight away. Also had to roll back to 2021.8.8.

There's been some issues around setuptools and use_2to3 in 2021.9, and not sure if using setuptools v57.something instead of v58.something causes this dependency issue. I'm trying to find a way around this, to see if this can be the problem.

HA should handle dependencies and install them into the user site package location. I'll keep you posted. :)

Hi, Yes, i realized it myself yesterday evening and started looking into it straight away. Also had to roll back to 2021.8.8. There's been some issues around setuptools and `use_2to3` in 2021.9, and not sure if using setuptools v57.something instead of v58.something causes this dependency issue. I'm trying to find a way around this, to see if this can be the problem. HA should handle dependencies and install them into the user site package location. I'll keep you posted. :)
Joachim Marthinsen Giæver đã nhận xét 3 năm trước cách đây
Chủ sở hữu

More info on this topic at github

More info on this topic at [github](https://github.com/home-assistant-snap/home-assistant-snap/issues/3)
Ghost đã nhận xét 3 năm trước cách đây
Poster

Nice! Seems to be fixed with latest/edge (2021.9.6)!

Nice! Seems to be fixed with `latest/edge` (2021.9.6)!
Đăng nhập để tham gia bình luận.
Không có nhãn
Không có Milestone
Không có người được phân công
2 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.