1

First of all, I'm a really newbie to python and anaconda, so please take this under consideration when replying my question :).

I have a Jupyter notebook and I would like to use geograpy library there. But I have no idea how to install it into anaconda.

On this library website there is manual how to install it using pip - but i believe this is something else.

Any hints would be more than welcome :)

EDIT

After trying pip install geograpy I have following error

Rolling back uninstall of Pillow
Command "/opt/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-tcpdwncf/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-az_qg2uz-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-tcpdwncf/Pillow/
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
PastorPL
  • 968
  • 3
  • 17
  • 36

2 Answers2

0

There should be an Anaconda Prompt (use the Windows search bar) that you can navigate to (looks like a command window once you open it), and

pip install geography

should work there. There may be a more technical answer to this, but this is the approach that always works for me when pip install does not in the command window.

bjpreisler
  • 118
  • 1
  • 8
  • The libraries I install through the Anaconda Prompt remain separate from the usual pip install in the command window for some reason. If you are having the same issue, this may help out – bjpreisler Apr 04 '17 at 18:32
  • Thanks for hint, but I'm using linux mint – PastorPL Apr 04 '17 at 19:00
0

Well, Pillow was causing a problem. But follow and installing additionaly tool for it solved a problem.

However, when anybody else will try to use gergrapy, then wach out- it works only for Python 2 :(

PastorPL
  • 968
  • 3
  • 17
  • 36