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..

Community
  • 1
  • 1
sg_sg94
  • 2,248
  • 4
  • 28
  • 56
  • 1
    Doesn't directly answer your Q, but [virtual environments](http://docs.python-guide.org/en/latest/dev/virtualenvs/) are the way to go. I really like [Anaconda's envs](http://conda.pydata.org/docs/using/envs.html) for keeping Python versions and various packages straight. – Matt Hall Nov 25 '15 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 – sg_sg94 Nov 25 '15 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! – Matt Hall Nov 25 '15 at 14:46

1 Answers1

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.

Matt Hall
  • 7,614
  • 1
  • 23
  • 36