Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing github version of package with Anaconda

I have Sympy installed with Anaconda, my version (of Sympy) is 0.7.6 .

I want to be able to use the git version of Sympy. Do you know how can I tell to Anaconda to substitute the 2 versions ?

I've tried using the git clone command, but the Sympy folder from git and Anaconda doesn't look the same at all, so I can't replace one with another.

git clone git://github.com/sympy/sympy.git

Is there a command like : "conda update-git sympy" ?

I found that answer, but I didn't understand how to do it.

Possible to do "conda build" from github branch?

UPDATE: I've used the following command and it worked

python setup.py develop

in my sympy directory.

Thanks to @asmeurer

like image 488
dooms Avatar asked May 31 '15 11:05

dooms


People also ask

How to install a package from GitHub in Python?

So in general to install a package from GitHub, open a terminal, activate the environment where you want to install this package, and run the following pip command: pip install git+git://github ...

Should I use PIP or Git clone with Anaconda?

On the other hand, if all you want to do is keep up-to-date with the latest and greatest of a package, using pip inside of Anaconda is just fine, or alternately, use setup.py develop against a git clone. What if your package has a release binary associated with it?

Does Anaconda3 (64bit) have a command prompt?

When I then however try to open the app, the only thing that seems to be installed in the start menu under the folder Anaconda3 (64bit) is the Anaconda prompt. Starting it, it doesn't recognize neither python nor conda as commands.

How to install a package from GitHub with no modulenotfounderror?

If you get no ModuleNotFoundError then you are good to go. In GitHub, the project repository has the following generic URL convention: So in general to install a package from GitHub, open a terminal, activate the environment where you want to install this package, and run the following pip command:


1 Answers

my previous answer was based on long time ago experiance this is the correct proccess (that worked for me based on the latest anaconda on a windows machine)

I have updated the meta.yaml only with the following changes: changing to get the source from git including mpmath in build run and test removing some libraries of sympy that seemed to have been removed from the latest version

i have all the files in the following gist https://gist.github.com/srgrn/622cf61b03b7321503cc

hope it helps

like image 141
Srgrn Avatar answered Oct 12 '22 22:10

Srgrn