-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hello,
I'm trying to install lintrunner with pip in a RISCV but I get the following error:
$ pip install lintrunner
Collecting lintrunner
Using cached lintrunner-0.12.5.tar.gz (62 kB)
Installing build dependencies ... error
error: subprocess-exited-with-error
[...]
File "/tmp/pip-build-env-im5_kq1b/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py", line 74, in <module>
from pkg_resources.extern import appdirs
ImportError: cannot import name 'appdirs' from 'pkg_resources.extern' (/tmp/pip-build-env-im5_kq1b/overlay/lib/python3.12/site-packages/pkg_resources/extern/__init__.py)
pkg_resources is provided by setuptools, and setuptools and appdirs packages are installed in my virtual env:
$ pip list
Package Version
------------ -------
appdirs 1.4.4
pip 24.0
platformdirs 4.3.6
setuptools 69.5.1
Just in case, I also installed the system-wide package provided through repos:
$ apt search appdirs
Sorting... Done
Full Text Search... Done
python3-appdirs/noble,now 1.4.4-4 all [installed]
Running python 3.12.3 in Ubuntu 24-04.1 architecture RISCV64.
Wondering if this is due to appdirs being deprecated: ActiveState/appdirs@8734277
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels