python - Remote server setup: nuclide-start-server command doesn't work -
i'm not able connect remotely using atom's new nuclide package. ran npm install -g nuclide-server
, followed the trouble shooting instructions nuclide docs http://nuclide.io/docs/remote/ keep getting errors. when run nuclide-start-server
on server, end error:
traceback (most recent call last): file "scripts/nuclide_server_manager.py", line 25, in <module> nuclide_server import log_file file "/usr/local/lib/node_modules/nuclide-server/scripts/nuclide_server.py", line 18, in <module> import utils file "/usr/local/lib/node_modules/nuclide server/scripts/utils.py", line 16, in <module> pkg_resources import resource_string
in atom when try connect, error pretty summarized above:
bad stdout remote server: synsyn synsyn stderr:bash: cannot set terminal process group (-1): invalid argument bash:no job control in shell traceback (most recent call last): file "scripts/nuclide_server_manager.py", line 25, in nuclide_server import log_file file "/usr/local/lib/node_modules/nuclide-server/scripts/nuclide_server.py", line 18, in import utils file "/usr/local/lib/node_modules/nuclide-server/scripts/utils.py", line 16, in pkg_resources import resource_string importerror: no module named pkg_resources
any appreciated. thanks.
found answer problem post --> no module named pkg_resources:
i encountered same importerror today while trying use pip. somehow setuptools package had been deleted in python environment.
to fix issue, run setup script setuptools:
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -o - | python
if have version of distribute, or setuptools below 0.6, have uninstall first.*
see installation instructions further details.
fyi: might need put sudo after pipe. did. or put entire command in quotes, sudo in beginning.
Comments
Post a Comment