-
Notifications
You must be signed in to change notification settings - Fork 53
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
can't find hsds-node executable #211
Comments
Hi @assaron Do you have /usr/local/bin/ in your PATH? If you run: "hsds-node" on the command line, what happens? |
@jreadey Yes, I have it, that's why I don't understand what's going on:
I've added some debug output, and for some reason The debug code:
The output of
|
I have no idea why Still, is there a reason why |
And I've checked some other Ubuntu-based installations, there for system-wide Python |
I've only ever tested the no-docker option with Anaconda python. In Anaconda the sys.exec_prefix points to something like: Is there a specific reason you need to run with native python? |
No, there is no specific reason why I need to use native python, but it was also a bit unexpected that it doesn't work, while all of the dependencies are installed. As for the fix, doesn't it make sense just to use
|
Glad you were able to get it working. I've always been a little leery of changing the system python packages (e.g. what if a different python app requires different package versions?), but I'm fine with making this change. I'd reverse the search order though - look in exec_prefix, then cmd_dir. If I don't have an active conda environment, it won't find anything in exec_prefix. If I am running conda, I'd expect to use the version in the conda path. |
I thought that was the point of cmd_dir, it tries to find the appropriate location of hsds installation, be it in conda or native, no? |
I've tried to install hsds with my change inside a conda environment and it seems to work just fine:
|
@assaron - I've updated the unbloundlocal branch to fix this issue and some other updates for running without docker. Can you give it a try? |
@jreadey Thanks! It seems to work well! My issue is resolved then |
Great! I've merged the changes into master. |
I am seeing the same issue as above, but I think its for the more basic issue of potentially not having a potential location in PATH. But, I am not sure what I need to add on my Windows machine to PATH. When I try to start the HSDS server with runall.bat I get:
And when I run hsds-node, I get an error: "no node_type argument found" What location do I need to add to PATH? |
Hi, I'm trying to run hsds server from this package without docker and running into the following problem:
However, there is
hsds-node
executable in/usr/local/bin
:Why I could getting this error?
The text was updated successfully, but these errors were encountered: