- 博客(3)
- 收藏
- 关注
原创 touch : 无法将“touch”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路 径,请确保路径正确,然后再试一次。
最近在学习有关Docker的知识,尝试使用Dockerfile定制镜像:错误如图所示:经过网络查询,1.出现得最多的一种解决办法是:先打开cmd,提前执行相关安装指令npm install touch-cli -g,接着以管理员身份运行powershell,输入:set-ExecutionPolicy RemoteSigned,在出现选择时,输入Y或A,更改执行策略,最后回到需要操作的目录下,输入touch Dockerfile,完成创建。(可惜这个方法在我这里没有奏效)。2.windows使用e
2021-08-09 18:27:17 2364
原创 (python)NameError: name ‘deque‘ is not defined
(python)NameError: name ‘deque’ is not definedcollections模块实现栈和队列时,举了一个例子:queueAndStack = deque()queueAndStack.append(1)queueAndStack.append(2)queueAndStack.append("hello")print(list(queueAndStack))#实现队列功能,从队列中取一个元素,根据先进先出原则,这里应输出 1print(queueAndSt
2020-07-17 10:58:42 3469 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人