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

[Ver 1.1.1] Issue when running useLocalEnv() #76

Closed
lcr95 opened this issue Apr 29, 2020 · 1 comment
Closed

[Ver 1.1.1] Issue when running useLocalEnv() #76

lcr95 opened this issue Apr 29, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@lcr95
Copy link

lcr95 commented Apr 29, 2020

Getting error when running useLocalEnv(2)

~\Anaconda3\lib\site-packages\pyalink\alink\config.py in _get_default_local_ip()
5 def _get_default_local_ip():
6 cmd = '''ifconfig eth0|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"'''
----> 7 local_ip = subprocess.check_output(cmd, shell=True, stderr=subprocess.DEVNULL).decode("utf-8").strip()
8 if local_ip is None or local_ip == '':
9 local_ip = "localhost"

CalledProcessError: Command 'ifconfig eth0|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"' returned non-zero exit status 255.

@Fanoid
Copy link
Collaborator

Fanoid commented May 7, 2020

Sorry for inconvenience. Please use version 1.1.0 for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants