aboutcode-org / aboutcode-org/tracecode-toolkit-strace

Which python version is the tool best compatible with?

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

Mô tả

Hi,

I'm testing the tool on Ubuntu 18.
With python 3.6 I had the following issue from `./configure --dev`:
```
ModuleNotFoundError: No module named 'importlib.resources'
```

I updated to 3.10 and `./configure --dev` worked well.

Then I tried to `pip3 install apt_pkg` as ` tracecode -h` was failing with `ModuleNotFoundError: No module named 'apt_pkg'` and got the following:
```
AttributeError: module 'collections' has no attribute 'MutableMapping'
```
which is a result of updating `collections.MutableMapping` to `collections.abc.MutableMapping` in 3.10.

Then I downgraded to 3.9 and couldn't run again `./configure --dev`, as for
```
ModuleNotFoundError: No module named 'pip'
```
which I'm not sure how to fix in `tracecode`'s setup.

`pip3 install apt_pkg` failed for all 3.9, 3.8 and 3.7 with:
```
Could not find a version that satisfies the requirement apt_pkg (from versions: )
No matching distribution found for apt_pkg
```

How can I clean up the whole installation and start from scratch and which python version should I use?

Thanks :)

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

Mở hướng dẫn đóng góp

Đá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.