gluobe/infrastructure-2.0-workshop

pip install wand

Closed this issue · 0 comments

Lab 2 - step 4 - 3

Error on main import

root@ip-172-31-13-96:~# pip install wand
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    from pip import main
ImportError: cannot import name main

Fix

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
hash -r
pip install wand 

or : pip install --user wand ?

edit :
Tried this without pip install --upgrade pip but still getting an error.

root@ip-172-31-8-2:/home/ubuntu# pip install wand
Traceback (most recent call last):
  File "/usr/bin/pip", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python2.7/locale.py", line 581, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

Use fix!