1

When I try to install python swiftclient and access it from a notebook, I receive an error:

!pip install --user python-swiftclient --upgrade

import swiftclient

>> Requirement already up-to-date: python-swiftclient in /Users/snowch/anaconda/lib/python2.7/site-packages
>> ...
>> ImportError: No module named swiftclient

However, importing swiftclient works fine from a standard python prompt.

Any ideas?

Thomas K
  • 39,200
  • 7
  • 84
  • 86
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
  • You have to make sure that `pip` belongs to the same interpreter as your `ipython` script. – cel Mar 08 '16 at 16:27
  • I'm fairly sure it is. Did you get the above commands to work? – Chris Snow Mar 08 '16 at 16:29
  • Fairly sure is not helpful :). Have you verified that `which ipython` and `which pip` point to the same interpreter? – cel Mar 08 '16 at 16:32

0 Answers0