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

Update 2017-11-11-environments.md #48

Merged
merged 1 commit into from
Apr 1, 2017
Merged

Conversation

richardjgowers
Copy link
Member

No description provided.

@orbeckst
Copy link
Member

Why the date 2017-11-11?

Otherwise looks fine to me.

@orbeckst
Copy link
Member

... or is this an alternative for PR #47 ?

@richardjgowers
Copy link
Member Author

This is a PR to the PR. I didn't want to directly edit Mac's post this much without his approval

@kain88-de
Copy link
Member

Why the date 2017-11-11?

Makes the post appear at the top on my local builds of the website. And it's far enough in the future that I'm likely seeing that I need to change the date. If you know another good way to prepare blog posts and render them as a preview I'm all ears.

@@ -1,62 +1,75 @@
---
layout: post
title: Working with different package versions
title: Managing software versioning using Conda environments
Copy link
Member

Choose a reason for hiding this comment

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

I wouldn't stick to just conda here. For some people that would mean switching their complete python stack (and most scientists I know are averse to switching working systems). The idea behind the post is to show people how they can use newer version of MDAnalysis while still keeping their old scripts running.

@richardjgowers
Copy link
Member Author

richardjgowers commented Mar 29, 2017 via email

@kain88-de
Copy link
Member

No you can add conda on top. You would switch completely.

If you install conda and switch to it you will change your global python installation and keep everything that is installed in ~/.local/lib/pythonX.X. The local installation is a problem though for compiled packages like MDAnalysis, here the version of numpy we compile MDAnalysis against has to match the global version. So for a switch to conda I would recommend to make a list of packages in ~/.local/lib/pythonX.X and install them from conda-forge or reinstall from pip.

@orbeckst
Copy link
Member

#48 (comment)

Why the date 2017-11-11?

Makes the post appear at the top on my local builds of the website. And it's far enough in the future that I'm likely seeing that I need to change the date. If you know another good way to prepare blog posts and render them as a preview I'm all ears.

Perhaps jekyll drafts works for you: https://jekyllrb.com/docs/drafts/

@orbeckst
Copy link
Member

No you can add conda on top. You would switch completely.

What works for me is to use virtualenv for most work but also have a conda environment (namely for Python 3) that I activate on demand with a bash function

function anaconda3 ()
{
    export PATH=${HOME}/anaconda3/bin:$PATH;
    echo "Using anaconda3..."
}

@kain88-de kain88-de merged commit d9c1217 into python-envs Apr 1, 2017
@kain88-de kain88-de deleted the richardjgowers-patch-1 branch April 1, 2017 07:19
kain88-de pushed a commit that referenced this pull request Apr 7, 2017
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.

3 participants