Which python version is the tool best compatible with?
已經有一個關聯 PR 被合併了。
- #6 來自 @pombredanne —— 已合併
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- python, ubuntu
研究方向
首先,使用列出的 Python 版本,在 Ubuntu 18 上透過 ./configure --dev 和 tracecode -h 重現回報的失敗。檢查設定路徑和相依性處理,包括缺少的 pip、importlib.resources 和 apt_pkg 模組。確立並記錄支援的 Python 版本和一條乾淨的安裝路徑後,即表示完成。
由索引模型根據 Issue 內容生成。
描述
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 :)
- 主要語言
- Python
- 星號
- 25
- 分支
- 8
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
aboutcode-org/tracecode-toolkit-strace 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 52/100
-
enhancement
難度 5/5 一週以上 新手友好度 25/100
aboutcode-org/tracecode-toolkit-strace#2 · 2 則留言 ·
查看 aboutcode-org/tracecode-toolkit-strace 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
GoogleCloudPlatform/professional-services-data-validator#1899 ·
維護者通常 4 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
mohanraj00/entelos#200 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 68/100
-
sweep
難度 2/5 1-3 小時 新手友好度 85/100
bketelsen/truenas-mcp#77 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 86/100
sandbox-quantum/switch#2163 ·
維護者通常 1 天內回覆