简体   繁体   English

如何在Anaconda python发行版中安装Rodeo IDE?

[英]How to install Rodeo IDE in Anaconda python distribution?

I have a 64bit anaconda python distribution version 2.3 with python 3.4.3 installed on windows 7 machine. 我有一个64位的anaconda python发行版2.3,在Windows 7机器上安装了python 3.4.3。 I searched about installing rodeo on top of this but seems like "conda install rodeo" wont work, so i did "pip install rodeo". 我搜索了关于在此之上安装rodeo但似乎“conda install rodeo”不会工作,所以我做了“pip install rodeo”。

"pip install rodeo" gave me the following message "Successfully installed rodeo".

But when i type rodeo in cmd to start rodeo it is giving an error saying 但是当我在cmd中键入rodeo以启动rodeo时,它会给出错误说法

"failed to create process." 

& i am not able to start rodeo. 我无法开始牛仔竞技表演。

Please advise. 请指教。

Thanks 谢谢

Updated Answer (as of 2016-6-8) 更新的答案(截至2016-6-8)

Rodeo has been undergoing a significant re-write since the latest major release, v1.3 which is the currently downloadable version on yhat's website. 自最新的主要版本v1.3以来,Rodeo一直在进行重大的重写,这是yhat网站上目前可下载的版本

I recommend checking out the latest release, v2.0 , downloadable from the Rodeo project page on github . 我建议您查看最新版本v2.0 ,可以从github上Rodeo项目页面下载。


Here's how I set up Anaconda and Rodeo 这是我如何设置Anaconda和Rodeo

  1. Install the latest version of Anaconda 安装最新版本的Anaconda
  2. Create a fresh virtual environment which includes jupyter. 创建一个包含jupyter 的全新虚拟环境 conda create --name datasci jupyter

  3. Install the latest version of Rodeo 安装最新版本的Rodeo

  4. Open Rodeo and set the Python Path to your fresh anaconda virtual environment. 打开Rodeo并将Python Path设置为新的anaconda虚拟环境。 (In my case //anaconda/envs/datasci/bin/python) (在我的情况下// anaconda / envs / datasci / bin / python)

在此输入图像描述

If you're not sure what path to set, 如果您不确定要设置的路径,

  1. Open Terminal 开放式终端
  2. Activate your virtual environment source activate datasci 激活虚拟环境source activate datasci
  3. Run which python 运行which python

More details in the Rodeo docs . Rodeo文档中的更多细节。 And keep checking github for version updates as they're coming almost daily at this point. 并继续检查github的版本更新,因为它们几乎每天都会出现。

Yhat has released a native desktop version of Rodeo recently. Yhat最近发布了Rodeo的原生桌面版本。 It will be better than the web version. 它会比网络版更好。 This can be easily installed by downloading the installable from their website mentioned below. 通过从下面提到的网站下载可安装程序,可以轻松安装。

https://www.yhathq.com/products/rodeo/downloads https://www.yhathq.com/products/rodeo/downloads

I think the problem is that you need to make sure you are using pip as seen by Anaconda. 我认为问题在于你需要确保你正在使用像Anaconda看到的pip。 To get around this I have an alias set up in my .bash_aliases file (not sure what the equivalent is in windows) to call anaconda's version of pip: 为了解决这个问题,我在.bash_aliases文件中设置了一个别名(不确定Windows中的等价物是什么)来调用anaconda的pip版本:

alias pip-ana='/home/usr/anaconda/bin/pip'

That means that I use the command pip-ana to install things to Anaconda's python environment rather than simply pip as that defaults to an alternative python environment. 这意味着我使用命令pip-ana将东西安装到Anaconda的python环境而不是简单地pip因为它默认为另一个python环境。 So to solve your problem, make sure you are using the correct pip by calling the executable file from anaconda/bin . 因此,要解决您的问题,请确保通过调用anaconda/bin的可执行文件来使用正确的pip

you could type 'which pip' to ensure you are running correct version. 您可以输入'which pip'以确保您运行的版本正确。

also the command in the instructions to give you command line access to Rodeo did not work for me. 在指令中给命令行访问Rodeo的命令对我来说也不起作用。 I wrote a new command which does work. 我写了一个新的命令,它可以工作。 I'd be happy to share that with you. 我很乐意和你分享。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM