How do I install packages to Anaconda from locally built tar.gz

核能气质少年 提交于 2020-01-25 07:32:05

问题


I want to edit the package openpyxl and reinstall the edited version to anaconda.

I downloaded the source code from here https://bitbucket.org/openpyxl/openpyxl/downloads/.

I then edited the source python files I needed to - the edits are shown at the bottom of this page in case it is relevant > https://bitbucket.org/openpyxl/openpyxl/issues/1237/unable-to-save-wb-with-3d-bar-chart-from

I then used the following command to create the tar file from my edited source code, as explained here https://packaging.python.org/tutorials/packaging-projects/

python setup.py sdist bdist_wheel

I then used the following command to try and install the edited package.

conda install openpyxl-3.0.3.tar.gz

But conda started looking for the source code online and i got the following error:

PackagesNotFoundError: The following packages are not available from current channels:

Any ideas where i'm going wrong?

来源:https://stackoverflow.com/questions/59758716/how-do-i-install-packages-to-anaconda-from-locally-built-tar-gz

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!