草庐IT

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 - 这是什么错误 `make.exe": no_c_compiler: Command not found`

我正在尝试构建grpc来自Windows2012Server版本的源代码。我从Python网站下载并安装了Python3.5,并安装了整个MinGW包以及git和gitbash。按照从源代码构建的说明进行操作:$gitclonehttps://github.com/grpc/grpc.git$cdgrpc$gitsubmoduleupdate--init$make$[sudo]makeinstall执行make后出现上述错误。这是供您细读的shell输出。PSC:\Users\thunderboltsid\grpc>make[MAKE]Generating/c/Users/thunde

python - Windows下的PyGObject : Could not locate gdk_pixbuf_new_from_file

我正在尝试使用GdkPixbuf.Pixbuf.new_from_file()从文件创建一个新的pixbuf,但是Python解释器给我以下错误:GLib.Error:g-invoke-error-quark:Couldnotlocategdk_pixbuf_new_from_file:'gdk_pixbuf_new_from_file'奇怪的是new_from_file_at_size()没有给出任何错误并且按预期工作。我在Windows10、Python3.4下工作,我已经从here安装了PyGObject. 最佳答案 看来有一

windows - 在 Windows 10 Bash 上安装 webpack(Windows 上的 Ubuntu 上的 Bash)。继续获取 "webpack: command not found"

我正在努力解决这个React/Reduxtutorial我需要安装webpack。我正在研究Windows10bashshell。这是我用来安装的npm命令和安装输出:~$npminstall--save-devwebpackwebpack-dev-servervoting-client@1.0.0/home/username/voting-client+--webpack@1.14.0¦+--acorn@3.3.0¦+--async@1.5.2¦+--clone@1.0.2¦+--enhanced-resolve@0.9.1¦¦+--graceful-fs@4.1.11¦¦+--me

windows - 通过 Get-WmiObject : Exception calling SetDefaultPrinter : Not Supported 设置默认打印机时出错

概览我正在尝试使用PowerShell在Windows2012R2中设置默认打印机。每当我在本地执行此操作时,它都可以正常工作,但是无论我如何尝试远程运行它(我需要这样做),它总是会失败并出现以下错误。我已经尝试使用域管理员帐户以及我需要为其更改默认打印机的用户凭据,但它仍然失败。错误Exceptioncalling"SetDefaultPrinter":"Notsupported"Atline:1char:1+(Get-WmiObject-ClassWin32_Printer-Filter"(Name='MicrosoftXPSDocumentWrite...+~~~~~~~~~~~

windows - 无法加载 DLL 'e_sqlite3' : The specified module could not be found

我有一个XamarinForms解决方案。我添加了sqlite-net-pcl作为所有项目的引用。它在Android上运行良好,但在Windows8.1和WindowsPhone8.1上崩溃。我有一个IOS项目,但我目前没有OSX来尝试。我在Windows项目中使用它来访问数据库:usingSystem.IO;usingSQLite;usingXamarin.Forms;usingHelloXamarin.Windows;usingWindows.Storage;[assembly:Dependency(typeof(SQLiteDb))]namespaceHelloXamarin.W

windows - EC2 Windows 用户数据 : Powershell does not run as expected

我正在尝试通过用户数据中的Powershell命令引导EC2Windows实例。我试图通过用户数据执行的步骤是:安装巧克力使用chocolatey安装Python使用chocolatey安装AWSCLI使用AWSCLI从S3下载Powershell脚本运行该Powershell脚本用户数据非常简单:Set-ExecutionPolicyBypass-Force;iex((New-ObjectSystem.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'));chocoinstallpython3-y;c

java - 卡夫卡 : could not find or load main class installation Windows

我正在尝试在我的计算机上安装ApacheKafka。我下载了最新版本2.12-2.0.0。我想在Windows上运行它,在我收到的\bin\windows目录中键入“.\zookeeper-server-start.bat../../config/zookeeper.properties”后:错误:无法找到或加载主类Files\Java\jdk-10.0.1\lib;C:\Program引起:java.lang.ClassNotFoundException:Files\Java\jdk-10/0/1\lib;C:\ProgramJava在我的电脑上正常运行java-version:op

c++ - 在 Vista 上调用 RPC 调用时为 "operation is not supported"

我的应用程序使用MicrosoftRPC进行进程间通信。当两个进程在同一台机器上运行并且一个进程试图调用声明为(IDL符号)的方法时:error_status_trpcMethod([in]pipebyteparameter);此调用因RPC_S_CANNOT_SUPPORT(“不支持请求的操作”)而失败,并且永远不会到达服务器端,并且永远不会调用所提供管道的push()/pull()原语。这仅在使用ncalrpc协议(protocol)时在Vista上重现,否则不会重现。我还在事件查看器日志中发现了以下内容:应用程序(“我的程序exe文件名”\service)(PID:344)正在使

windows - docker 错误 : Container command not found or does not exist when running from Win10

这让我发疯......我有Win10,我已经安装了Docker工具箱Docker=1.10.2Compose=1.6.0VirtualBox=5.0.14我已经在Linux[Amazonlinux]中成功启动了LAMP,但是当我尝试做同样的事情时,终端响应“错误:容器命令未找到或不存在”据我了解,Windows解释CMD语法的方式有问题。我试过了-CMD["/run.sh"]-ENTRYPOINT["/run.sh"]-CMD/run.sh-CMD'/run.sh'-CMDrun.sh-CMD"/run.sh"但似乎没有任何效果。注意:当我运行CMD/run.sh时,错误没有出现,但容