Python 为什么会出现错误';ConfigFileNotFound';在jupyter笔记本中配置OCI时?
你好。。! 我正在尝试在python jupyter笔记本中配置OCI文件。以下步骤为以下步骤: 1> 创建环境并激活,2>从环境中运行jupyter Notes 3>安装的oci 代码: pip安装virtualenv py-m virtualenv envname#激活环境 jupyter笔记本#从环境中开始使用jupyter笔记本Python 为什么会出现错误';ConfigFileNotFound';在jupyter笔记本中配置OCI时?,python,jupyter-notebook,oracle-cloud-infrastructure,Python,Jupyter Notebook,Oracle Cloud Infrastructure,你好。。! 我正在尝试在python jupyter笔记本中配置OCI文件。以下步骤为以下步骤: 1> 创建环境并激活,2>从环境中运行jupyter Notes 3>安装的oci 代码: pip安装virtualenv py-m virtualenv envname#激活环境 jupyter笔记本#从环境中开始使用jupyter笔记本 pip intall oci from oci.config import from_file from oci.signer import Signer c
pip intall oci
from oci.config import from_file
from oci.signer import Signer
config = from_file()
instanceid = 'oci1.XXXXXXXXXXXXXXXXXX'
auth = Signer(
tenancy = config['ocid1.xxxxxxxxxxxxxx'],
user = config['ocid1.xxxxxxxxxxxxxxxxxxxxx'],
fingerpring = config['xxxxxxxxxxxxxxxxxx'],
private_key_file_location = config['path\to ppk file saved folder\example.ppk']
)
获取错误“ConfigFileNotFound”
有人能帮我解决这个错误吗
提前谢谢。希望你一切顺利。
你能看一下这个博客吗?这个看起来很相关,可能会有用。
非常感谢!!
阿努帕姆·辛哈部分有帮助