ActivityWatch / ActivityWatch/aw-import-ical

Issue: Unable to Install `typed-ast` with Poetry on Ubuntu 24.04.1 LTS

Đang mở
#7 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
26
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

#### **System Information**
- **OS**: Ubuntu 24.04.1 LTS (x86_64)
- **Kernel**: 6.8.0-47-generic
- **Shell**: bash 5.2.21
- **Python Version**: Python 3.12
- **Poetry Version**: [Your Poetry version here]
- **Package**: `typed-ast` (version 1.4.3)

#### **Error Description**
Attempting to install dependencies with Poetry results in a build error for `typed-ast` (1.4.3). The error appears to be related to a missing `code.h` file during compilation.

#### **Steps to Reproduce**
1. Run `poetry install` on a project that includes `typed-ast==1.4.3`.
2. Encounter the following error during the installation of `typed-ast`:

#### **Error Log**
```plaintext
Backend subprocess exited when trying to invoke build_wheel

running bdist_wheel
running build
...
In file included from ast27/Custom/typed_ast.c:3:
ast27/Custom/../Include/compile.h:5:10: fatal error: code.h: No such file or directory
5 | #include "code.h"
| ^~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
```

#### Fixes?
Is there a recommended version or workaround to install it?

Thank you for your assistance!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.