错误:模块“object没有属性”symlin

2024-10-03 21:25:57 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用Python2.7安装Ansible,但在安装时出现错误。在

下面是我的步骤,我正在使用Windows10 64位

  1. 安装Python2.7

  2. 转到命令行并转到目录C:\Python27\Scripts

  3. 键入commandpip install ansible

错误

Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\dave\\appdata\\local\\temp\\pip-build-_tn3so\\ansible\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\dave\appdata\local\temp\pip-ltscus-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\dave\appdata\local\temp\pip-build-_tn3so\ansible\

Tags: installpipbuildlocal错误codeansiblerecord
1条回答
网友
1楼 · 发布于 2024-10-03 21:25:57

正如the fine manual中明确指出的那样,Windows不支持用作控制机器。即使安装了它,下一个问题就是试图说服它使用一个正常的ssh客户机,PuTTY不是其中之一。在

我确信您可以使用Windows Subsystem for Linux来访问不合理操作系统中的合理操作系统

相关问题 更多 >