gcc: error:/FIPython.h: File o directory non esistente

1760 단어 컴퓨터 시각
$ pip install lmdb
Collecting lmdb
  Downloading lmdb-0.93-py3-none-any.whl
Collecting cffi>=0.8 (from lmdb)
  Using cached cffi-1.10.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting pycparser (from cffi>=0.8->lmdb)
  Downloading pycparser-2.18.tar.gz (245kB)
    100% |████████████████████████████████| 256kB 471kB/s 
Installing collected packages: pycparser, cffi, lmdb
  Running setup.py install for pycparser ... done
Successfully installed cffi-1.10.0 lmdb-0.93 pycparser-2.18
$ python
Python 3.6.1+ (heads/3.6:af839fe2fe, Mar 22 2017, 08:21:52) 
[GCC 6.3.0 20170316] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lmdb
gcc: error: /FIPython.h: File o directory non esistente
Traceback (most recent call last):
  File "/tmp/e/lib/python3.6/site-packages/lmdb/__init__.py", line 42, in 
    from lmdb.cpython import *
ModuleNotFoundError: No module named 'lmdb.cpython'

During handling of the above exception, another exception occurred:

이 오류는 원작자가 github에서 말했다.
Grumbe, same issue as in #136... Forgot to look at that before making another release. Fix is simple, will delete the bad egg when I get home
...
I deleted that wheel.. has the problem abated?
https://github.com/dw/py-lmdb/issues/165
i.e. "pip install lmdb", "easy_install lmdb", "python -m pip install lmdb", "python -m easy_install lmdb". At least one of these commands should 'just work' :)
https://github.com/dw/py-lmdb/issues/95
저자는 이미 복구했다고 말했지만, 내 쪽은 윈도우즈 10에서 직접 pip install lmdb를 진행하면 안 된다. 마지막으로anaconda3:conda install-c conda-forge python-lmdb로 맞추는 것이다

좋은 웹페이지 즐겨찾기