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

The Bin Path Issue in dist_train.py line 79 #117

Closed
Zarca opened this issue Jun 23, 2020 · 2 comments
Closed

The Bin Path Issue in dist_train.py line 79 #117

Zarca opened this issue Jun 23, 2020 · 2 comments

Comments

@Zarca
Copy link

Zarca commented Jun 23, 2020

Hi,
I noticed that when use the distribution train, when launch the kvstore server and client, it seems that
the bin path is fixed to within "/usr/local/bin:/bin:/usr/bin:/sbin/" in dglke/dist_train.py like below:

os.environ['PATH'] = '/usr/local/bin:/bin:/usr/bin:/sbin/'

however, if the user's develop environment is conda, is may cause some problem.
For me ,I use conda as my python environment,
so the two executable files named dglke_server and dglke_clinet is automatically loacated in "/root/miniconda3/bin/" directory , so it will cause this two files can't be launch correctly.

I suggest that ,maybe when it comes to the path setting, it should add some code to find the right path of dglke's running executable files like dglke_server etc.

Is that right?

@classicsong
Copy link
Contributor

Currently DGL-ke does not provide conda install. We will provide it latter. Sorry for the inconvenience.

@classicsong
Copy link
Contributor

You need to add it into your PATH environment manually.

@Zarca Zarca closed this as completed Jul 30, 2020
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

2 participants