无法在Mac终端中使用PIP安装python-geohash

时间:2019-06-06 20:13:31

标签: python pip anaconda geohashing

安装python-geocode并不容易。我在Mac(10.14.4)上运行Anaconda,在终端中,我使用的是:

pip install python-geohash

我收到以下错误:

    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
  1 warning generated.
  g++ -bundle -undefined dynamic_lookup -L/anaconda3/lib -arch x86_64 -L/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/src/geohash.o -o build/lib.macosx-10.7-x86_64-3.7/_geohash.cpython-37m-darwin.so
  clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
  ld: library not found for -lstdc++
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  error: command 'g++' failed with exit status 1

  ----------------------------------------
  Failed building wheel for python-geohash
  Running setup.py clean for python-geohash
Failed to build python-geohash

这使我认为我运行python-geohash所需的某些库已过期或尚未安装。谁能告诉我这里到底是什么问题?

0 个答案:

没有答案