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

paramiko dependecy #51

Open
klonuo opened this issue Sep 19, 2018 · 9 comments
Open

paramiko dependecy #51

klonuo opened this issue Sep 19, 2018 · 9 comments
Milestone

Comments

@klonuo
Copy link

klonuo commented Sep 19, 2018

Hi,

first of all, thanks for making this nice plugin :)

I use latest ST3 on Windows 10, and used git to install hermes instead package manager. However it fails for me at paramiko, which is only set as a dependency for Windows, and AFAIK it's used by pyzmq as optional package.
After removing paramiko line, everything seems to work as expected.

Cheers

@ngr-t
Copy link
Collaborator

ngr-t commented Sep 20, 2018

Thank you for reporting.

The reason why paramiko is included in dependencies is that Hermes calls open_tunnel() function, which uses paramiko as default in Windows, when it connects to remote kernels.

I think Package Control: Satisfy Dependencies command will install paramiko if you have the cloned repository in package directory (I'm not sure what did you do to install the package by git).

@klonuo
Copy link
Author

klonuo commented Sep 20, 2018

Ok, so this is the error I get when I start ST3:

Package Control: Installing 1 missing dependency
Package Control: The dependency "paramiko" is either not available on this platform or for this version of Sublime Text
Package Control: Installed missing dependency paramiko
Package Control: No updated packages
error: Package Control

1 missing dependency was just installed. Sublime Text should be restarted, otherwise one or more of the installed packages may not function properly.

After restart, it just repeats again.
I then removed paramiko from dependencies and plugin works just fine.

@ngr-t
Copy link
Collaborator

ngr-t commented Sep 21, 2018

Thank you for the detail. So it looks Package Control tried to satisfy dependencies but could not. It's unintended.
Could you tell me the version (build number) of your Sublime?
I'll look into it this weekend.

@ngr-t
Copy link
Collaborator

ngr-t commented Sep 21, 2018

https://github.com/wbond/package_control_channel/blob/master/repository/dependencies.json says that currently paramiko dependency is only for OSX. I overlooked that, sorry. I think paramiko dependency should work on Windows because it's entirely implemented in Python. I'll talk with sublime-paramiko maintainer.

@klonuo
Copy link
Author

klonuo commented Sep 22, 2018

I use ST build 3174

Thanks

@sschuhmann
Copy link
Collaborator

I experience the same problem, but installing the package through package control.

As @klonuo mentioned, the paraminko package seems only be available for OSX right now. This could be caused by the dependeny to pycrypto, which depends on msv c++.

It would be awesome to have this awesome plugin working on windows :)

@Aethylred
Copy link

Hermes is dependent on pyzmq which is dependent on paramiko, so always pops up an error dialogue on starting Sublime, and some of Herme's functions (ones that rely on ssh) just don't work.

The paramkio package is exclusive to OSX and not available for Linux or Windows.

@ngr-t
Copy link
Collaborator

ngr-t commented Oct 23, 2019

I'm sincerely sorry about leaving this problem.

@sschuhmann

This could be caused by the dependeny to pycrypto, which depends on msv c++.

It should not be collect.
This package does not use original paramiko which can be installed from pip, but a sublime dependency version which is sublime-paramiko .
If you are not familiar with dependencies in ST3 plugin, https://packagecontrol.io/docs/dependencies should help you.

The author of sublime-paramiko omitted dependency on pycrypt and use ECDSA module instead. It's pure Python implemented, so it should work on Windows and Linux too. Just the author had not tested this module on other platforms than OSX so marked it only works on OSX. He will receive PR that fixes it when it's confirmed to run on other platforms.
But it's not unclear for me how to confirm them to work on other platforms and it's left unresolved.

@pykong pykong added this to the 0.6 milestone Feb 28, 2020
@sschuhmann
Copy link
Collaborator

There were some changes in the sublime-paraminko package, mentioning also some dependencies for windows plattforms. This could mean it's now also available on windows hosts.
I'll test it the next time I have access to a windows machine

@cgahr cgahr modified the milestones: 0.6, 0.7.0 Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants