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

简介: gcc: error: /FIPython.h: File o directory non esistente
1. $ pip install lmdb
2. Collecting lmdb
3.   Downloading lmdb-0.93-py3-none-any.whl
4. Collecting cffi>=0.8 (from lmdb)
5.   Using cached cffi-1.10.0-cp36-cp36m-manylinux1_x86_64.whl
6. Collecting pycparser (from cffi>=0.8->lmdb)
7.   Downloading pycparser-2.18.tar.gz (245kB)
8.     100% |████████████████████████████████| 256kB 471kB/s 
9. Installing collected packages: pycparser, cffi, lmdb
10.   Running setup.py install for pycparser ... done
11. Successfully installed cffi-1.10.0 lmdb-0.93 pycparser-2.18
12. $ python
13. Python 3.6.1+ (heads/3.6:af839fe2fe, Mar 22 2017, 08:21:52) 
14. [GCC 6.3.0 20170316] on linux
15. Type "help", "copyright", "credits" or "license" for more information.
16. >>> import lmdb
17. gcc: error: /FIPython.h: File o directory non esistente
18. Traceback (most recent call last):
19.   File "/tmp/e/lib/python3.6/site-packages/lmdb/__init__.py", line 42, in <module>
20.     from lmdb.cpython import *
21. ModuleNotFoundError: No module named 'lmdb.cpython'
22. 
23. 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

作者说他已经修复了,不过我这边在windows 10下直接进行pip install lmdb 还是不行,最后还是用anaconda3:conda install -c conda-forge python-lmdb给配好的


AIEarth是一个由众多领域内专家博主共同打造的学术平台,旨在建设一个拥抱智慧未来的学术殿堂!【平台地址:https://devpress.csdn.net/aiearth】 很高兴认识你!加入我们共同进步!

目录
相关文章
|
24天前
|
存储 编译器 C语言
深入理解GCC 和 G++ 编译器
GCC 和 G++ 是 GNU 工具链中的核心编译器,支持 C 和 C++ 程序开发。本文详细介绍其编译流程、常用选项及动态链接与静态链接的区别。编译过程分为预处理、编译、汇编和链接四个阶段,每个阶段有特定任务和命令选项。常用选项如 `-E`、`-S`、`-c` 和 `-o` 分别用于预处理、生成汇编代码、生成目标文件和指定输出文件。动态链接节省空间且易于更新,但依赖运行时库;静态链接独立高效,但文件较大且更新困难。合理选择优化选项(如 `-O0` 至 `-O3`)可提升程序性能。掌握这些知识有助于开发者更高效地编写、调试和优化代码。
56 23
深入理解GCC 和 G++ 编译器
|
6月前
|
前端开发 C语言
gcc动态库升级
gcc动态库升级
|
4月前
|
编译器 Linux C语言
gcc的编译过程
GCC(GNU Compiler Collection)的编译过程主要包括四个阶段:预处理、编译、汇编和链接。预处理展开宏定义,编译将代码转换为汇编语言,汇编生成目标文件,链接将目标文件与库文件合并成可执行文件。
132 11
|
6月前
|
编译器 开发工具 C语言
Gcc 链接文件
Gcc 链接文件
53 4
|
6月前
|
编译器 C语言 C++
MinGW安装gcc
MinGW安装gcc
128 0
|
8月前
|
自然语言处理 编译器 Go
GCC:GNU编译器
GCC:GNU编译器
134 0
|
8月前
|
Java 编译器 Linux
技术经验解读:【转载】详解GCC的下载和安装(源码安装)
技术经验解读:【转载】详解GCC的下载和安装(源码安装)
261 0
|
9月前
|
C语言
gcc的简易用法(编译、参数与链接)
【5月更文挑战第14天】gcc的简易用法(编译、参数与链接)。
72 1
|
9月前
|
Unix Java 编译器
安装gcc
【5月更文挑战第14天】安装gcc。
164 1
|
8月前
|
C语言
关于如何解决mingw64安装后配置完环境变量仍然执行不了gcc命令
关于如何解决mingw64安装后配置完环境变量仍然执行不了gcc命令