擅长:python、mysql、java
<p>您需要将您的<code>soundcloud</code>外部库包含到应用程序包中。在应用程序中的具体位置取决于应用程序使用的框架,但是<code>soundcloud</code>必须存在于PYTHONPATH的某个地方。在</p>
<p>而且,<code>soundcloud</code>不是一个单独的库。您还需要<a href="http://farmdev.com/projects/fudge/" rel="nofollow">fudge</a>和{<cd4>}(从1.4.2开始就包含在appengine中)。只需从本地pip安装中获取两个包文件夹,并将它们粘贴到应用程序中已加载到路径中的某个位置。在</p>
<p>要查看本地安装的pip文件夹的位置,只需假装正在卸载其中一个包。在我的机器上,如下所示:</p>
<pre><code>sparker% sudo pip uninstall fudge
Password:
Uninstalling fudge:
/Library/Python/2.7/site-packages/fudge
/Library/Python/2.7/site-packages/fudge-1.0.3-py2.7.egg-info
Proceed (y/n)? n
</code></pre>
<p>您只需要抓取<code>fudge</code>文件夹就可以包含在您的应用程序中,但是我会同时使用这两个文件夹。以后再知道哪个版本的应用程序与你的应用程序捆绑在一起总是很好的,这是最容易知道的方法。在</p>