Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
103 views
in Technique[技术] by (71.8m points)

python - Can you install numpy_financial from Anaconda instead of pip?

The financial functions of numpy have been deprecated and will be removed from future versions. They are now part of a new package called numpy_financial.

I understand it can be installed with pip, but I also understand that pip should be avoided whenever possible if you are running an Anaconda installation, as I am (is this true?).

So my question is: is it possible to install numpy_financial through Anaconda?

I have tried:

conda install numpy_financial

and

conda install -c conda-forge numpy_financial

but neither works - neither manages to find the package.

question from:https://stackoverflow.com/questions/66062264/can-you-install-numpy-financial-from-anaconda-instead-of-pip

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Not yet. But it's easy to build a package using these directions https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/building-conda-packages.html . You make your own account on anaconda and build this package and upload it. Afterwards it will be available to all.

conda install -c <your_account> numpy_financial

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...