Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hostname -I #10

Open
liyiinwang opened this issue Nov 28, 2023 · 3 comments
Open

hostname -I #10

liyiinwang opened this issue Nov 28, 2023 · 3 comments

Comments

@liyiinwang
Copy link

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
Copy link
Member

jwyang commented Nov 28, 2023

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

@liyiinwang
Copy link
Author

liyiinwang commented Nov 29, 2023 via email

@abrichr
Copy link
Contributor

abrichr commented Feb 6, 2024

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 #19 for automatically deploying to EC2 on AWS via Github Actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants