0

I'm dealin with installation problems for python 3.4 using Pip. I have python versions 3.4(.3) and 2.5, 2.7 When i pip install a package, it will only be available on 2.7 I found a 'solution' on : pip: dealing with multiple Python versions?

But seems not to work, maybe outdated..

3
  • 1
    Doesn't directly answer your Q, but virtual environments are the way to go. I really like Anaconda's envs for keeping Python versions and various packages straight. Commented Nov 25, 2015 at 14:29
  • The thing is. I used Anaconda till 1 week ago, it doesn't support boto3 and i need to use that package.. install python package is a mess Commented Nov 25, 2015 at 14:43
  • What do you mean by support? I use boto3 inside an Anaconda env. You can still use pip inside of the env (best to use only when there's no conda package). Just make sure you source activate the right env before installing! Commented Nov 25, 2015 at 14:46

1 Answer 1

1

FWIW, since it sounds like you have Anaconda and had trouble installing boto3, here's my workflow:

conda create -n myenv python=3.4 anaconda 

Leave out anaconda if you want a completely clean Python-only environment. Substitute myenv for whatever name you like. Now activate:

source activate myenv 

...and install boto3:

pip install boto3 

That works for me.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you !! This worked for me. I installed the packages in the env and it worked !

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.