Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

unable to install dependencies #23

Open
dashingspidy opened this issue Nov 9, 2017 · 4 comments
Open

unable to install dependencies #23

dashingspidy opened this issue Nov 9, 2017 · 4 comments

Comments

@dashingspidy
Copy link

While installing dependencies, it stops in [golite] running 'gometalinter --install'
then this error appears in console:
[golite] running 'gometalinter --install' Traceback (most recent call last): File "golite.installer in /Users/arifhossain/Library/Application Support/Sublime Text 3/Installed Packages/Golite.sublime-package", line 59, in install_go_tools File "golite.installer in /Users/arifhossain/Library/Application Support/Sublime Text 3/Installed Packages/Golite.sublime-package", line 53, in install_go_tools File "golite.installer in /Users/arifhossain/Library/Application Support/Sublime Text 3/Installed Packages/Golite.sublime-package", line 64, in run_cmd File "./python3.3/subprocess.py", line 542, in check_call File "./python3.3/subprocess.py", line 523, in call File "./python3.3/subprocess.py", line 819, in __init__ File "./python3.3/subprocess.py", line 1448, in _execute_child FileNotFoundError: [Errno 2] No such file or directory: 'gometalinter'

But gometalinter --install works from terminal.

OS: Mac OS 10.12.6
Go version: 1.9.2

@mschurenko
Copy link

I had the same problem. I think it’s a path issue with sublime. I found that if I launched sublime via the cli with the “subl” command that my path was correct but if I launched it via the dock it was incorrect.

@dashingspidy
Copy link
Author

it works!

@wy-z
Copy link
Owner

wy-z commented Nov 10, 2017

Launch sublime via the cli should works~
On OS X, Sublime Text is launched via the dock, which never share's the user's shell environment. shellenv

@wy-z
Copy link
Owner

wy-z commented Nov 10, 2017

@mschurenko Thanks~

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

No branches or pull requests

3 participants