microsoft / SoM

Set-of-Mark Prompting for GPT-4V and LMMs
MIT License
1.11k stars 87 forks source link

hostname -I #10

Open liyiinwang opened 10 months ago

liyiinwang commented 10 months ago

Traceback (most recent call last): File "E:\anaconda\envs\som\lib\subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['hostname -I']' returned non-zero exit status 1.

May I ask how to solve this problem

jwyang commented 10 months ago

what is the command producing this error and what is the full log?

liyiinwang commented 10 months ago

How to solve this error? I ran it on Windows and encountered many errors. I have been running it for several days now. Please be sure to help me

------------------ 原始邮件 ------------------ 发件人: "microsoft/SoM" @.>; 发送时间: 2023年11月29日(星期三) 凌晨5:18 @.>; @.**@.>; 主题: Re: [microsoft/SoM] hostname -I (Issue #10)

what is the command producing this error and what is the full log?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

abrichr commented 8 months ago

According to ChatGPT:

Windows does not have a direct equivalent for hostname -l, which displays the FQDN (Fully Qualified Domain Name) in Unix/Linux systems. To achieve similar functionality in Windows, you can use a combination of environment variables and the nslookup command.

It seems this repo is only compatible with Linux for the time being. See https://github.com/microsoft/SoM/pull/19 for automatically deploying to EC2 on AWS via Github Actions.