Which python version is the tool best compatible with?

オープン
#5 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

関連するプルリクエストがすでにマージされています。

  • #6 @pombredanne による — マージ済み

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python, ubuntu

調査の方向性

まず、記載されている Python バージョンを使い、./configure --dev と tracecode -h を実行して Ubuntu 18 で報告された失敗を再現します。セットアップの経路と依存関係の処理を調査し、見つからない 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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aboutcode-org/tracecode-toolkit-strace のほかの issue

aboutcode-org/tracecode-toolkit-strace の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。