简体   繁体   English

无法导入google-python-cloud-debugger

[英]failed to import google-python-cloud-debugger

after installing sudo pip install google-python-cloud-debugger==1.10 安装sudo pip install google-python-cloud-debugger==1.10

import googleclouddebugger

import cdbg_native as native
ImportError: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

the vm is a freshly installed machine vm是新安装的计算机

according to this https://stackoverflow.com/a/10986298/4391936 I have to updated my LD_LIBRARY_PATH . 根据此https://stackoverflow.com/a/10986298/4391936,我必须更新LD_LIBRARY_PATH but I can't is my /path/to/mysodir 但我不能是我的/path/to/mysodir

You are probably missing some dependencies like python-dev . 您可能会缺少一些依赖项,例如python-dev

Try running something like this: 尝试运行以下内容:

sudo apt-get install curl ca-certificates gcc build-essential cmake \\ python python-dev libpython2.7 python-setuptools

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Python 和 HTTP Google Cloud Functions 上的“导入请求” - Python and "import requests" on HTTP Google Cloud Functions 在Google Cloud Shell中安装了python模块,但是python导入给出了ImportError - Installed python module in google cloud shell but python import is giving ImportError 如何在 Google App Engine (python) 中导入 Google Cloud 语音识别 - How to import google cloud speech recognition in Google App Engine (python) 尝试在 python 中导入谷歌云库时出现“DefaultCredentialsError” - `DefaultCredentialsError` when attempting to import google cloud libraries in python 无法在 python 脚本中导入 google.cloud 模块 - Can not import google.cloud module in python script 为什么我不能在Python中导入Google Cloud客户端库? - Why can't I import the Google Cloud client library in Python? Gitlab CI Runner无法以Python导入Google.Cloud - Gitlab CI Runner can't import Google.Cloud in Python CERTIFICATE_VERIFY_FAILED使用google cloud api和Python - CERTIFICATE_VERIFY_FAILED using google cloud api with Python Google Cloud Natural Language Python“无法从‘google.cloud.language_v1’导入名称‘enums’” - Google Cloud Natural Language Python "cannot import name 'enums' from 'google.cloud.language_v1'" Google Cloud SDK 安装失败 - Google Cloud SDK installation failed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM