我使用anaconda作为包管理器,并尝试安装rst2pdf,以便能够使用python程序的sphinx输出PDF。
但是,当我尝试运行published command时,我得到了以下回读
conda install -c dfroger rst2pdfWARNING: The conda.compat module is deprecated and will be removed in a future release.
PackagesNotFoundError: The following packages are not available from current channels:
- rst2pdf我不知道解决这个问题的方法。conda上的rst2pdf似乎只适用于linux,这可能是一个问题吗?我对此感到困惑。
也许还有另一种方法可以通过conda使用sphinx和python输出pdf文件?
发布于 2019-04-08 23:30:23
看起来dfroger只是一些随机的用户频道,已经两年没有更新过了,除非你认识/信任那个人,否则你不应该尝试从那里安装。否则,没有任何Conda通道可以提供该包,所以请遵循the recommended installation并通过PyPI安装-只要确保首先激活Conda环境即可。
conda activate your_env
pip install rst2pdfhttps://stackoverflow.com/questions/55572422
复制相似问题