简体   繁体   English

鼻子测试命令显示PowerShell中的错误,我该怎么办?

[英]nosetests command shows error in powershell, what should i do?

I am a newbie to python and learning python from Zed A. shaw's book "Learn python the hard way" (3rd edition) . 我是python的新手,并且可以从Zed A. shaw的书“以困难的方式学习python”(第三版)中学习python

I am trying to run the nosetests command but it does nothing rather shows some error message (as shown in the screenshot attached). 我正在尝试运行nosetests命令,但是它什么也不做,而是显示一些错误消息(如所附的屏幕截图所示)。

Link to the exercise 链接到练习

Could you please help me out what to do? 你能帮我做什么吗?

Thanks in advance. 提前致谢。

Error: 错误:

错误信息

根据OP,他在错误的目录中运行命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我从virtualenv运行nosetests时,为什么会出现“无效的命令nosetests”错误? - Why do I get the error “Invalid command nosetests” when I run nosetests from my virtualenv? 每次我尝试从烧瓶导入烧瓶时,它都会显示导入错误。 我该怎么办? - everytime i try to import flask from flask it shows import error. What should i do? 我的目录应用程序显示空白页面,我该怎么办? - My catalog app shows a blank page, what should I do? 我应该如何在Python中执行此错误 - What should I do this error in Python 当测试通过时,鼻子测试/单元测试仍然显示错误? - nosetests/unittest still shows error when test passes? 如何将nosetests的输出重定向到文本文件? - how do i redirect the output of nosetests to a textfile? 我试图在这个 python 程序中使用递归,但它显示 NameError。 我应该怎么办? - I am trying to use Recursion in this python program but it shows NameError. What should I do? 我该怎么做? - What should I do for this? 如何仅在跟踪中使用runTest和newfunc跟踪鼻子测试错误/失败的来源? - How do I trace the source of nosetests error/failure with only runTest and newfunc in the traceback? 我输入这个,我收到错误我应该做什么 - i type this and i am getting error what i should do
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM