Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 391
Pythonista anonymous Avatar asked Sep 06 '25 03:09

Pythonista anonymous


1 Answers

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
like image 71
Back2Basics Avatar answered Sep 07 '25 19:09

Back2Basics