duzhonglin's recent timeline updates
duzhonglin

duzhonglin

V2EX member #358081, joined on 2018-10-23 22:04:03 +08:00
sonarqube 代码静态检查报错
Python  •  duzhonglin  •  Dec 5, 2019  •  Lastly replied by jackleeforce3615
1
pytest 安装到虚拟环境
pytest  •  duzhonglin  •  Apr 12, 2019  •  Lastly replied by duzhonglin
2
接口测试的产生的数据
Python  •  duzhonglin  •  Jan 23, 2019  •  Lastly replied by DamonLin
10
Python 不同文件变量调用
Python  •  duzhonglin  •  Jan 8, 2019  •  Lastly replied by bxqqq
4
flask 官网教程执行 flask init-db 报错
Flask  •  duzhonglin  •  Nov 21, 2018  •  Lastly replied by duzhonglin
2
Flask 1.0.2
Flask  •  duzhonglin  •  Oct 25, 2018  •  Lastly replied by duzhonglin
6
duzhonglin's recent replies
祝早日康复
Apr 12, 2019
Replied to a topic by duzhonglin pytest pytest 安装到虚拟环境
@megachweng 这是代码
import pytest


def test_main():
assert 5!=5

if __name__ == "__main__":
pytest.main()

下面是报错提示:
[Running] python -u "d:\MyPytest\test_sample.py"
Traceback (most recent call last):
File "d:\MyPytest\test_sample.py", line 1, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'

[Done] exited with code=1 in 0.185 seconds


在命令行是可以正常执行得
周一至周五加班是调休,周末加班是双倍。节假日是三倍
@LeoQ 不好意思,这个帖子是我发错了,我想删除可惜现在删不了。。
Jan 8, 2019
Replied to a topic by duzhonglin Python Python 不同文件变量调用
@Gakho 谢谢
Nov 21, 2018
Replied to a topic by duzhonglin Flask flask 官网教程执行 flask init-db 报错
谢谢,我网上搜了一下没有看到说要用 flask-script 扩展呢
Oct 25, 2018
Replied to a topic by duzhonglin Flask Flask 1.0.2
@alphadog619 谢谢,我晚上回去试试
Oct 25, 2018
Replied to a topic by duzhonglin Flask Flask 1.0.2
@vipppppp 我是用的 vscode
Oct 25, 2018
Replied to a topic by duzhonglin Flask Flask 1.0.2
非常感谢,官网这个我也设置了没有效果的,我是以管理员的身份打开 Power shell, set FLASK_ENV=development。这样也没有效果的
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2137 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 00:49 · PVG 08:49 · LAX 17:49 · JFK 20:49
♥ Do have faith in what you're doing.