"在Shell中我可以引用google.cloud,但在Spyd中不能"

2024-09-27 22:20:00 发布

您现在位置:Python中文网/ 问答频道 /正文

我在一台Windows机器上安装了Anaconda Spyder。在

在壳里我会:

C:\ProgramData\Anaconda2\Lib\site-packages>pip show google-cloud
Name: google-cloud
Version: 0.32.0
Summary: API Client library for Google Cloud
Home-page: https://github.com/GoogleCloudPlatform/google-cloud-pyt
Author: Google Cloud Platform
Author-email: googleapis-publisher@google.com
License: Apache 2.0
Location: c:\programdata\anaconda2\lib\site-packages

我启动Spyder。我在PYTHONPATH中添加一个条目来匹配上面的“Location”。我在Spyder中重新启动内核。当我试图

^{pr2}$

我明白了

^{3}$

怎么回事?在


Tags: com机器cloudwindowspackagesgooglesitelocation

热门问题