首页 > 解决方案 > 安装 python-openstackclient 时出现分段错误(核心转储)

问题描述

我正在尝试在 Ubuntu 18.04 上安装 python-openstackclient

面临以下错误:

Installing collected packages: typing-extensions, zipp, importlib-metadata, pbr, stevedore, pyparsing, packaging, wrapt, six, debtcollector, netifaces, importlib-resources, netaddr, pytz, iso8601, oslo.i18n, oslo.utils, simplejson, munch, jsonpointer, jsonpatch, requestsexceptions, jmespath, decorator, pycparser, cffi, cryptography, dogpile.cache, PyYAML, os-service-types, chardet, idna, certifi, urllib3, requests, keystoneauth1, appdirs, openstacksdk, PrettyTable, pyperclip, wcwidth, colorama, attrs, cmd2, cliff, osc-lib, msgpack, oslo.serialization, python-novaclient, python-cinderclient, rfc3986, oslo.config, python-keystoneclient, python-openstackclient
Segmentation fault (core dumped) ```


Python version: 3.6.9 
pip version: 9.0.1 

标签: pythonpython-3.xopenstack

解决方案


尝试使用 -vvv 标志安装更详细,我猜加密包核心转储,尝试安装:

pip3 install cryptography 

推荐阅读