aboutcode-org / aboutcode-org/scancode-plugins

AttributeError when running typecode-libmagic-system-provided on a Python 3.9 system

オープン
#52 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
HTML
スター
2
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

Installing typecode-libmagic-system-provided on a Python 3.9 system results in Attribnute Error

```
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/typecode_libmagic/__init__.py:34: in get_like_distro
info = platform.freedesktop_os_release()
E AttributeError: module 'platform' has no attribute 'freedesktop_os_release'
```

The freedesktop_os_release() was added in [Python 3.10](https://docs.python.org/3/library/platform.html#linux-platforms)

Temporary workaround is to install typecode[full] for Python 3.9

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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