Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Some more details in installation instructions. #305

Merged
merged 8 commits into from Jan 14, 2014

Conversation

arokem
Copy link
Contributor

@arokem arokem commented Jan 3, 2014

No description provided.


Then from any python console or script try ::
easy_install nibabel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ariel? Why to suggest easy_install and not pip install here? We don't recommend easy_install anywhere else in the installation instructions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following this:

http://mail.scipy.org/pipermail/nipy-devel/2013-November/009585.html

On Sat, Jan 4, 2014 at 7:20 AM, Eleftherios Garyfallidis <
notifications@github.com> wrote:

In doc/installation.rst:

-Then from any python console or script try ::

  • easy_install nibabel

Ariel? Why to suggest easy_install and not pip install here? We don't
recommend easy_install anywhere else in the installation instructions.


Reply to this email directly or view it on GitHubhttps://github.com//pull/305/files#r8651804
.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me try to install it in a windows machine. I think this e-mail is irrelevant from if you are going to use pip or easy_install.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're probably right, but this is the only method that has been tested so
far. So we know this works for sure. That's why I rewrote it that way.

On Sat, Jan 4, 2014 at 7:52 AM, Eleftherios Garyfallidis <
notifications@github.com> wrote:

In doc/installation.rst:

-Then from any python console or script try ::

  • easy_install nibabel

Let me try to install it in a windows machine. I think this e-mail is
irrelevant from if you are going to use pip or easy_install.


Reply to this email directly or view it on GitHubhttps://github.com//pull/305/files#r8651906
.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know how your tests on the Windows machine go, and I will change
accordingly.

On Sat, Jan 4, 2014 at 7:54 AM, Ariel Rokem arokem@gmail.com wrote:

You're probably right, but this is the only method that has been tested so
far. So we know this works for sure. That's why I rewrote it that way.

On Sat, Jan 4, 2014 at 7:52 AM, Eleftherios Garyfallidis <
notifications@github.com> wrote:

In doc/installation.rst:

-Then from any python console or script try ::

  • easy_install nibabel

Let me try to install it in a windows machine. I think this e-mail is
irrelevant from if you are going to use pip or easy_install.


Reply to this email directly or view it on GitHubhttps://github.com//pull/305/files#r8651906
.

@matthew-brett
Copy link
Contributor

Guys - I'm pretty confident that the windows double-click installer will work - and that easy_install is picking that up anyway.

So - Eleftherios - maybe install canopy and double click install nibabel and dipy from downloading the .exe installers from dipy. I still think that links to the .exe installers are the best and most general way for windows.

@arokem
Copy link
Contributor Author

arokem commented Jan 4, 2014

How about this:

arokem@2296e38

On Sat, Jan 4, 2014 at 7:59 AM, Matthew Brett notifications@github.comwrote:

Guys - I'm pretty confident that the windows double-click installer will
work - and that easy_install is picking that up anyway.

So - Eleftherios - maybe install canopy and double click install nibabel
and dipy from downloading the .exe installers from dipy. I still think that
links to the .exe installers are the best and most general way for windows.


Reply to this email directly or view it on GitHubhttps://github.com//pull/305#issuecomment-31581410
.

@matthew-brett
Copy link
Contributor

Fine with me - Eletherios - can you check if that works for you?

@Garyfallidis
Copy link
Contributor

I 'll try different things. I am on an slow windows machine. But will have an answer soon.

@arokem
Copy link
Contributor Author

arokem commented Jan 4, 2014

Excellent. I'm going to leave my desk soon (and go to the gym!), but I will
be back at noon or so and will check in on this then.

On Sat, Jan 4, 2014 at 8:30 AM, Eleftherios Garyfallidis <
notifications@github.com> wrote:

I 'll try different things. I am on an slow windows machine. But will have
an answer soon.


Reply to this email directly or view it on GitHubhttps://github.com//pull/305#issuecomment-31582117
.

@Garyfallidis
Copy link
Contributor

Wow! Here is a surprise!!! For the free version of Canopy you need to subscribe to get Cython (Cython is not included in the free version). This is super annoying. I will uninstall Canopy and try with Anaconda.

But first I will run the executables.

@Garyfallidis
Copy link
Contributor

Okay when I use the windows executables (for dipy and nibabel) with Canopy (free version) it works.

@arokem
Copy link
Contributor Author

arokem commented Jan 4, 2014

OK - sounds good. This is probably because the executables already have the
cython stuff compiled.

So - the last version of this PR is good? Merge?

On Sat, Jan 4, 2014 at 9:00 AM, Eleftherios Garyfallidis <
notifications@github.com> wrote:

Okay when I use the windows executables (for dipy and nibabel) with Canopy
(free version) it works.


Reply to this email directly or view it on GitHubhttps://github.com//pull/305#issuecomment-31582941
.

@Garyfallidis
Copy link
Contributor

Not yet but we are getting there. I replaced Canopy with Anaconda in a Windows machine and Anaconda's installation was much easier and more FOSS if you know what I mean. In Anaconda you don't need install specific packages and all important packages are installed by default with the free version. This is a big advantage against Canopy. Also in Anaconda you can just do

pip install nibabel
pip install dipy

and it will compile and install dipy in Windows with no problem which is awesome! Which means that we don't need necessary to create executables. The same pip commands didn't work in Canopy - neither easy_install dipy worked (probably because we don't have executables for 0.7.0 in pypi)

Also in Anaconda's installation using executables worked as well.

In summary, I see Anaconda as more advantageous than Canopy as Anaconda can be used with pip install/remove and with executables. Also it is easier to install and it supports all standard and optional packages. Furthermore, when we tested Anaconda in Macosx it was similarly very easy to use. So, I vote to replace Canopy with Anaconda in the installation instructions.

Finally, Anaconda has a command prompt as Canopy which could be handy for some Windows' users.

@arokem
Copy link
Contributor Author

arokem commented Jan 4, 2014

OK. Could you rewrite those instructions for Windows, following what you
did and put in a PR against my branch? Try to be as detailed as possible.
For example, saying to a Windows user : "open a terminal and run pip
install" will not cut it. They will have no idea what you are talking
about. At least initially, so you have to say things like: "In your Start
menu, go to applications and launch the Anaconda Terminal Application"
(assuming there is such a thing).

Following the previous discussion with Matthew, I think that we settled on
suggesting to use the binary installers as the first thing to do and 'pip
install' is going to be in that 'notes' box after it.

On Sat, Jan 4, 2014 at 12:39 PM, Eleftherios Garyfallidis <
notifications@github.com> wrote:

Not yet but we are getting there. I replaced Canopy with Anaconda in a
Windows machine and Anaconda's installation was much easier and more FOSS
if you know what I mean. In Anaconda you don't need install specific
packages and all important packages are installed by default with the free
version. This is a big advantage against Canopy. Also in Anaconda you can
just do

pip install nibabel
pip install dipy

and it will compile and install dipy in Windows with no problem which is
awesome! Which means that we don't need necessary to create executables.
The same pip commands didn't work in Canopy - neither easy_install dipy
worked (probably because we don't have executables for 0.7.0 in pypi)

Also in Anaconda's installation using executables worked as well.

In summary, I see Anaconda as more advantageous than Canopy as Anaconda
can be used with pip install/remove and with executables. Also it is easier
to install and it supports all standard and optional packages. Furthermore,
when we tested Anaconda in Macosx it was similarly very easy to use. So, I
vote to replace Canopy with Anaconda in the installation instructions.

Finally, Anaconda has a command prompt as Canopy which could be handy for
some Windows' users.


Reply to this email directly or view it on GitHubhttps://github.com//pull/305#issuecomment-31588039
.

@Garyfallidis
Copy link
Contributor

Sure, I 'll do that asap.

dipy_ is in active development at the moment. You can install it from our latest release, but you may find that the release has gotten well behind the current development - at least - we hope so - if we're developing fast enough!
dipy_ is in active development at the moment. You can install it from our
latest release, but you may find that the release has gotten well behind the
current development - at least - we hope so - if we're developing fast enough!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surely we hope to change this!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

On Sat, Jan 4, 2014 at 3:56 PM, Stefan van der Walt <
notifications@github.com> wrote:

In doc/installation.rst:

@@ -4,7 +4,13 @@
Installation
############

-dipy_ is in active development at the moment. You can install it from our latest release, but you may find that the release has gotten well behind the current development - at least - we hope so - if we're developing fast enough!
+dipy_ is in active development at the moment. You can install it from our
+latest release, but you may find that the release has gotten well behind the
+current development - at least - we hope so - if we're developing fast enough!

Surely we hope to change this!


Reply to this email directly or view it on GitHubhttps://github.com//pull/305/files#r8653690
.

@arokem
Copy link
Contributor Author

arokem commented Jan 11, 2014

Anyone have anything else to say here, or do y'all wanna merge this?

@Garyfallidis
Copy link
Contributor

Sorry for not being responsive, I am on my way back to Sherbrooke, I
haven't yet updated the anaconda parts except if you did that already.
On Jan 10, 2014 8:19 PM, "Ariel Rokem" notifications@github.com wrote:

Anyone have anything else to say here, or do y'all wanna merge this?


Reply to this email directly or view it on GitHubhttps://github.com//pull/305#issuecomment-32082328
.

@arokem
Copy link
Contributor Author

arokem commented Jan 11, 2014

Sorry - I see now that we've had this discussion already. I got a little
antsy.

Safe travels!

On Fri, Jan 10, 2014 at 5:26 PM, Eleftherios Garyfallidis <
notifications@github.com> wrote:

Sorry for not being responsive, I am on my way back to Sherbrooke, I
haven't yet updated the anaconda parts except if you did that already.
On Jan 10, 2014 8:19 PM, "Ariel Rokem" notifications@github.com wrote:

Anyone have anything else to say here, or do y'all wanna merge this?


Reply to this email directly or view it on GitHub<
https://github.com/nipy/dipy/pull/305#issuecomment-32082328>
.


Reply to this email directly or view it on GitHubhttps://github.com//pull/305#issuecomment-32082588
.

@arokem
Copy link
Contributor Author

arokem commented Jan 14, 2014

OK - I think this is ready to go now, with @Garyfallidis recent edits.

Garyfallidis added a commit that referenced this pull request Jan 14, 2014
DOC: Some more details in installation instructions.
@Garyfallidis Garyfallidis merged commit d1e29f1 into dipy:master Jan 14, 2014
@@ -52,7 +52,7 @@
because we've already applied a white matter mask.
"""

seeds = utils.seeds_from_mask(white_matter, density=1)
seeds = utils.seeds_from_mask(white_matter, density=2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"DOC: Some more details in installation instructions." Hrmm :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. We snuck that one in :-)

I think it also got in with bagos bf. either way, no harm

On Tuesday, January 14, 2014, Stefan van der Walt wrote:

In doc/examples/streamline_tools.py:

@@ -52,7 +52,7 @@
because we've already applied a white matter mask.
"""

-seeds = utils.seeds_from_mask(white_matter, density=1)
+seeds = utils.seeds_from_mask(white_matter, density=2)

"DOC: Some more details in installation instructions." Hrmm :)


Reply to this email directly or view it on GitHubhttps://github.com//pull/305/files#r8862410
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants