Which python version is the tool best compatible with?

未關閉
#5 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

已經有一個關聯 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 內容生成。

描述

bug

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 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

aboutcode-org/tracecode-toolkit-strace 的其他 Issue

查看 aboutcode-org/tracecode-toolkit-strace 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。