使用Anaconda安装github版本的软件包 [英] Installing github version of package with Anaconda

查看:1213
本文介绍了使用Anaconda安装github版本的软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Anaconda 中安装了 Sympy ,我的版本(Sympy)是0.7.6.

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

我希望能够使用Sympy的git版本.您知道我如何告诉Anaconda替代这两个版本吗?

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 ?

我尝试使用git clone命令,但是git和Anaconda中的Sympy文件夹看起来根本不一样,所以我不能用另一个替换.

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

是否有类似"conda update-git sympy"的命令?

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

我找到了答案,但是我不知道该怎么做.

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

可以进行"conda构建"来自github分支?

更新:我使用了以下命令,并且有效

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

python setup.py develop

在我的sympy目录中.

in my sympy directory.

感谢@asmeurer

Thanks to @asmeurer

推荐答案

我以前的回答是基于很久以前的经验 这是正确的过程(基于Windows机器上最新的anaconda对我有用)

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)

我仅通过以下更改更新了meta.yaml: 更改以从git获取源 在构建运行和测试中包括mpmath 删除一些似乎已从最新版本中删除的sympy库

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

我具有以下要点的所有文件 https://gist.github.com/srgrn/622cf61b03b7321503cc

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

希望有帮助

这篇关于使用Anaconda安装github版本的软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆