草庐IT

argument-error

全部标签

Windows 中的 Python h2o : cannot initialize (TypeError: argument of type 'NoneType' is not iterable)

我正在尝试在我的公司使用pythonh2o。使用命令后:>importh2o>h2o.init()我得到了h2o\connection.py:110:UserWarning:Proxyenvironmentvariable`HTTP_PROXY`withvalue`http://username:password@proxy.**.com:8080`found.ThismayinterferewithyourH2OConnection.warnings.warn("Proxyenvironmentvariable`"+name+"`withvalue`"+value+"`found.T

windows - 通过 SSH 连接到 Windows 主机时来自 docker-machine 的 "Error Checking TLS connection: Host is not running"

我有一台运行docker实例和默认docker-machine虚拟机的远程Windows主机。当我通过SSH连接到主机并尝试运行任何docker-machine命令时,即>eval$(docker-machineenvdefault--shellbash)docker-machineemits"ErrorcheckingTLSconnection:Hostisnotrunning."我在StackOverflow上搜索并发现了其他人重新生成证书并获得成功的案例,所以我尝试了这个但没有成功。我重新启动了docker-machine虚拟机,但没有成功。如果docker-machine命令在

windows - 无法在上下文 None 上使用 cuDNN, fatal error : cudnn. h:没有这样的文件或目录

我正在尝试配置theano以在我的Windows机器上使用gpu。我已经将.theanorc设置为使用device=gpu但是当我运行一些应该使用gpu的代码时,我收到以下错误:CannotusecuDNNoncontextNone:cannotcompilewithcuDNN.Wegotthiserror:c:\users\...\appdata\local\temp\try_flags_pt24sj.c:4:19:fatalerror:cudnn.h:Nosuchfileordirectorycompilationterminated.MappednameNonetodevicec

.net - c++ fatal error c1083项目以前很好,现在怎么办?

我有一个(com)c++项目,它使用(.net)c++dll。项目编译运行正常。现在,我所做的只是对dll进行更改,并且在重新编译我的(com)项目时出现fatalerrorc1083-无法打开包含文件stdafx.h。这意味着什么? 最佳答案 寻找您的stdafx.h。以下是可能性:如果它没有丢失,请尝试重新启动您的机器。您还可以使用sysinternals的handle.exe找出谁持有该文件。如果缺少,请创建它。另一方面,您的项目可能最初没有使用预编译header,并且错误地打开了该选项。因此,关闭项目属性中的预编译头选项。

c++ - 最终链接失败 : Invalid argument when including windows. h

我已经为Windows上的C++开发设置了MinGW和EclipsewithCDT。一切都很好,直到我#include.一旦这样做,我就会收到链接器错误消息c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:finallinkfailed:Invalidargument其中开头的路径解析为C:/MinGW/mingw32/bin/ld.exe.我不知道错误消息试图告诉我什么...所以请帮我解密。 最佳答案 因为我实际上不同意Lol4t0的意见,这太

windows - 在 Win32 GUI 应用程序中使用标准输出 : crashes if I don't have a redirect to file in arguments

我正在构建一个Win32GUI应用程序。在该应用程序中,我使用了一个旨在用于命令行应用程序的DLL。假设Foo.exe是我的GUI应用程序,而bar()是DLL中的一个函数,它将“hello”打印到标准输出。Foo.exe调用bar()。如果我从命令行运行Foo.exe,重定向(>)(即Foo.exe>out.txt),它将“hello”写入out.txt并正常退出(如预期的那样)。但是,如果我运行Foo.exe而不重定向(从cmd.exe或通过在Windows资源管理器中双击),它会在调用bar()时崩溃。如果我在调试器中运行Foo.exe,在命令行中使用重定向(通过项目的VS属性设

windows - Knife 窗 : Network Error: getaddrinfo: Name or service not known (windows:22)

我有一个Ubuntu工作站,我正在尝试引导一个Windows节点。Windows节点在端口2222上打开了ssh。我一直在关注http://docs.opscode.com/plugin_knife_windows.html.ateetor@ateetor-virtual-machine:~/chef/chef-repo$sudogeminstallknife-windows--http-proxy=[REMOVED]Successfullyinstalledknife-windows-0.5.121geminstalledInstallingridocumentationforkni

windows - Git: 无法推送 {n/a (unpacker error)}

我在我的本地机器[WindowsOS]中创建了一个裸仓库并安装了gitolite。当我尝试将更改推送到裸仓库时,出现以下错误:$gitpushoriginmasterCountingobjects:3,done.Writingobjects:100%(3/3),293bytes,done.Total3(delta0),reused3(delta0)error:insufficientpermissionforaddinganobjecttorepositorydatabase./objectsfatal:failedtowriteobjecterror:unpackfailed:unp

windows - Windows 上的 git : fatal: protocol error: bad line character: @-

我在Windows上使用SourceTree+Git没有任何问题。我能够从命令(终端/BASH)使用git命令。我更喜欢将终端用于gitpush/pull等。不幸的是,在重新安装我的机器后(服务器/git相同),我遇到了这个痛苦的错误。在一台新机器上,我安装了Git1.9.5(Git-1.9.5-preview20141217.exe)并配置为仅使用BASH并使用正确的SSHkey文件进行plink。我能做到gitlog在我的存储库中,但是gitpull或gitpush给出这个错误:me@NEW-MACHINE/c/Workspace/project(master)$gitpullfa

c# - 系统.UnauthorizedAccessException : Creating an instance of the COM component fails with error 80070005 (C#)

我在使用C#.NET命令行应用程序时遇到问题,其主要思想是使用COM对象从其他程序获取数据。当手动执行或作为Node.js服务器中的子进程运行时,它工作正常,但是当整个项目作为Windows服务安装时,C#应用程序响应以下错误:System.UnauthorizedAccessException:CreatinganinstanceoftheCOMcomponentwithCLSID{D64DB4A9-3B26-4D2B-B556-9DA433C54175}fromtheIClassFactoryfailedduetothefollowingerror:80070005Accessis