我尝试使用 codenvy.com 运行一个简单的 python 2.7 项目,但出现此错误:
[ERROR] testing-python2_unpack/requirements.txt: no such file or directory
requirements.txt 文件是什么,放在哪里以及运行一个简单的文件应该是什么
print "Hello world!"
最佳答案
requirements.txt
列出项目的包依赖项,与它一起安装——它是 python 包的基本属性。
如果你的包没有依赖项,你可能会得到一个空文件——只需运行
$ touch requirements.txt
在包中创建一个空文件。
关于codenvy - 如何在 codenvy 中运行简单的 python 2.7 项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29135020/