尝试遵循conda示例来构建和发布程序包。
我在conda环境内外都尝试过。
setuptools已安装,所以我不理解此错误;
~ conda skeleton pypi pyinstrument
Traceback (most recent call last):
File "/home/user/anaconda3/bin/conda-skeleton", line 7, in <module>
from conda_build.cli.main_skeleton import main
File "/home/user/anaconda3/lib/python3.6/site-packages/conda_build/cli/main_skeleton.py", line 15, in <module>
from conda_build.conda_interface import ArgumentParser
File "/home/user/anaconda3/lib/python3.6/site-packages/conda_build/conda_interface.py", line 7, in <module>
from pkg_resources import parse_version
ModuleNotFoundError: No module named 'pkg_resources'