Python中文
首页
教程
问答
标签
搜索
登录
注册
TravicCI build dont find Managa.py[Django]命令
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我正在学习一个教程和一个完全的新手。 在教程中,导师使用docker作为虚拟环境,因为我目前正在使用我的Win-10-Home机器,所以我决定使用普通的'ol<code>python venv</code></p> <p>出于某种原因,TravicCI没有修改我的manage.py命令,我不知道为什么</p> <p>这是TCI日志</p> <pre><code>0.58s$ git clone --depth=50 --branch=master https://github.com/therealgenish/recipe-app-api.git therealgenish/recipe-app-api $ source ~/virtualenv/python3.6/bin/activate $ python --version Python 3.6.7 $ pip --version pip 19.0.3 from /home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/pip (python 3.6) install $ pip install -r requirments.txt $ app\manage.py test && flake8 appmanage.py: command not found The command "app\manage.py test && flake8" exited with 127. Done. Your build exited with 1. </code></pre> <p>它之所以是<code>app\manage.py</code>而不是<code>manage.py</code>是因为它在app文件夹之外,所以我想</p> <p>该<code>.travis.yaml</code>:</p> <pre><code>language: python python: - 3.6 install: - pip install -r requirments.txt script: - app\manage.py test && flake8 </code></pre> <p>和<a href="https://shorturl.at/bEIJ1" rel="nofollow noreferrer">link to the github project</a></p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>这是一个简单的语法问题 travis需要有关<code>manage.py</code>文件所在位置的帮助</p> <p>解决方案:</p> <p><code>script: - cd app/ && python manage.py test && flake8 </code></p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
如何在乒乓球比赛中预测球的轨迹,对于AI球拍预测?
9 回答
如何在乒乓球游戏中阻止球
10 回答
如何在乘法和模中不乘空间?
10 回答
如何在乘法和除以2个不同的数字之间进行交换?
3 回答
如何在也是数据一部分的单个字符上拆分大字符串
8 回答
如何在乾草堆中找到針,有更好的解決方案嗎?
7 回答
如何在事件wxWidgets中传递自定义数据
1 回答
如何在事件中使用lambda i=i?
10 回答
如何在事件中心只接收最近的数据
1 回答
如何在事件发生之前保持云函数运行?
9 回答
如何在事件发生后使页面重定向到同一页面
2 回答
如何在事件回调之间保持python生成器的状态
7 回答
如何在事件处理程序(pythonsocket、sphinx)中保留docstring
8 回答
如何在事件处理程序中更改wxRichTextCtrl的光标位置?
7 回答
如何在事件处理程序中访问外部对象?
5 回答
如何在事件循环中将协程打包为正常函数?
10 回答
如何在事件循环之外运行协同程序?
7 回答
如何在事件循环结束时为并发未来的所有线程调用类方法?
7 回答
如何在事件文件中只保留一份摘要?
1 回答
如何在事件模板中添加事件
3 回答