- 博客(3)
- 收藏
- 关注
原创 vscode 配置python运行pytest
安装vscode 安装python(记得 添加path 一栏打√) vscode 安装 python 扩展,并且添加python解释器 Ctrl+Shift+P可以快捷使用vscode命令行,输入Python:Select Interpreter选择安装的python的路径 vscode 终端下输入 pip install pytest 安装 如果安装后运行pytest还是找不到,可能是路径不对,可以在电脑终端先卸载重新安装 运行pytes
2024-12-06 15:17:04
1637
原创 [Errno 2] No such file or directory: ‘./data/MNIST/train-images-idx3-ubyte.gz‘
在vscode中连接服务器训练模型时debug的时候路径正确,运行python文件路径错误解决:debug的时候:首先打开左下角的设置按钮,在方框中输入python dir,回车,找到python这一栏,打开,勾选上"Execute In File Dir"即可。运行python文件的时候不勾选...
2022-06-28 10:26:40
709
转载 蓝桥杯 带分数
原创地址:https://www.cnblogs.com/howie-liang/p/8011940.html带分数 原题知识点: 全排列函数 #include <algorithm> bool next_permutation(iterator start,iterator end) 返回值为true/false prev_permutation(star...
2018-03-28 15:50:34
160
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅