What are you doing?
打开编译文件.map.view时,无法打开报错
Describe the bug
Parse error:
Command failed: PYTHONPATH="/home/xsj/.eide/bin/builder/utils/memap" python -m memap -t ARM_MICRO -d 100 "/home/xsj/Documents/Projects/MDK-ARM/build/LED/atk_f103.map"
Traceback (most recent call last):
File "", line 203, in _run_module_as_main
File "", line 88, in _run_code
File "/home/xsj/.eide/bin/builder/utils/memap/__main__.py", line 34, in
from prettytable import PrettyTable, HEADER
File "/home/xsj/.eide/bin/builder/utils/memap/prettytable.py", line 45, in
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
To Reproduce
Steps to reproduce the behavior:
- Go to 'output files'
- Click on 'atk_f103.map.view'
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [arch linux]
- EIDE Version [3.27.2]
- VSCode Version [1.131.0]
Additional context
pacman -Qo $(which python)
/usr/bin/python is owned by python 3.14.6-1
pacman -Q python-setuptools
python-setuptools 1:83.0.0-1
python -c "import pkg_resources;print(pkg_resources.__file__)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
import pkg_resources;print(pkg_resources.__file__)
^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pkg_resources'
和AI交流了一下,AI最后得出结论是:python-setuptools 已经不再提供 pkg_resources 模块了。pkg_resources 已经被官方长期弃用,很多发行版开始将其移除
What are you doing?
打开编译文件
.map.view时,无法打开报错Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
和AI交流了一下,AI最后得出结论是:
python-setuptools 已经不再提供 pkg_resources 模块了。pkg_resources 已经被官方长期弃用,很多发行版开始将其移除