Python中文
首页
教程
问答
标签
搜索
登录
注册
当pip安装GoogleAppEngineCloudStorageClient,<your_app_directory> 是什么?
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>按照安装说明<a href="https://cloud.google.com/appengine/docs/python/googlecloudstorageclient/download" rel="nofollow">here</a>操作时,^{<cd1>中的<code><your_app_directory></code>是什么</p> <pre><code>pip install GoogleAppEngineCloudStorageClient -t <your_app_directory/lib> </code></pre> <p>是吗?在</p> <p>我试过:</p> <ol> <li>/应用程序文件夹</li> <li>我在GAE上运行的托管我的.py文件的主文件夹</li> <li>与venv子文件夹下的(2)相同</li> </ol> <p>但是我得到了:</p> <p>ImportError:没有名为cloudstorage的模块</p> <p>如果我尝试:</p> ^{pr2}$ <p>以及:</p> <p>重要错误:没有命名的模块lib.云存储在</p> <p>如果我尝试:</p> <pre><code>import lib.cloudstorage as gcd </code></pre> <p>所有这些。在</p> <p>例如</p> <pre><code>>>> os.listdir("/applications/lib") ['cloudstorage', 'GoogleAppEngineCloudStorageClient-1.9.15.0-py2.7.egg-info'] >>> import lib.cloudstorage Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named lib.cloudstorage >>> </code></pre>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>我不确定最后是不是这样做的,但在执行以下操作后,我不再收到导入错误:</p> <pre><code>sys.path.append('/applications/lib') </code></pre>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
如何找到类似于How'matplotlib.pyplot.gcf()`works?
10 回答
如何找到类字段的定义?
10 回答
如何找到精灵在团队中的位置?
7 回答
如何找到素数,但有错误。我找不到你
2 回答
如何找到素数(Python)
7 回答
如何找到索引i右侧的不同值
4 回答
如何找到索引Numpy数组时将折叠哪些轴?
2 回答
如何找到索引中的值,在列表中增加值?
2 回答
如何找到纬度/经度/高度点之间的三维距离?
8 回答
如何找到线和numpy meshgrid生成的曲面之间的交点?
3 回答
如何找到线段上距任意点最近的点?
6 回答
如何找到组中所有可能的子组
1 回答
如何找到组内值之间的最小差异
8 回答
如何找到经过训练的朴素贝叶斯分类器用于决策的单词?
2 回答
如何找到给selenium webdriver对象的文件夹名?
10 回答
如何找到给出最佳分数的列车测试分割的最佳随机状态值?
4 回答
如何找到给定Python发行版提供的模块?
6 回答
如何找到给定subversion工作副本的根文件夹
5 回答
如何找到给定一维阵列中的所有峰值?
6 回答
如何找到给定列表中的字符串组合,这些字符串加起来就是某个字符串(没有外部库)
8 回答