Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
489 views
in Technique[技术] by (71.8m points)

安装python api时报错ModuleNotFoundError: No module named '_ctypes'

我升级python 3.7后, 然后安装DolphinDB database的python?api时出现ModuleNotFoundError: No module named '_ctypes'。如下图所示:_cyptes_20200326103607.png有什么解决办法吗?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

先装? libffi-devel,再编译 python3.7。

ubuntu  
sudo apt-get install libffi-dev

Centos?
yum install libffi-devel -y

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...