Repository navigation
Closed
Description
Description of Question
Im trying to install salt-ssh on windows powershell using the pip and Im getting the following error. can someone help me ?
Collecting salt-ssh (from -r .\pyinstaller-requirements.txt (line 12))
Using cached salt-ssh-2016.11.3.tar.gz
Complete output from command python setup.py egg_info:
2016.11.3
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\admini~1\appdata\local\temp\2\pip-build-wrdkyj\salt-ssh\setup.py", line 1238, in <module>
setup(distclass=SaltDistribution)
File "c:\python27\lib\distutils\core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "c:\users\admini~1\appdata\local\temp\2\pip-build-wrdkyj\salt-ssh\setup.py", line 893, in __init__
self.update_metadata()
File "c:\users\admini~1\appdata\local\temp\2\pip-build-wrdkyj\salt-ssh\setup.py", line 899, in update_metadata
attrvalue = getattr(self, attrname, None)
File "c:\users\admini~1\appdata\local\temp\2\pip-build-wrdkyj\salt-ssh\setup.py", line 1006, in _property_install_
requires
install_requires += _parse_requirements_file(SALT_WINDOWS_REQS)
File "c:\users\admini~1\appdata\local\temp\2\pip-build-wrdkyj\salt-ssh\setup.py", line 140, in _parse_requirements
_file
with open(requirements_file) as rfh:
IOError: [Errno 2] No such file or directory: 'c:\\users\\admini~1\\appdata\\local\\temp\\2\\pip-build-wrdkyj\\salt-
ssh\\requirements\\windows.txt'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\admini~1\appdata\local\temp\2\pip-build-wrdkyj\s
alt-ssh\
Setup
Needs windows server 2008 or 2012
Steps to Reproduce Issue
pip install salt-ssh ( on windows powershell )
Activity
gtmanfred commentedon Feb 23, 2017
Salt-ssh is not currently supported on windows.
We are working on developing it to be compatible for windows, but right now it is not supported.
Thanks,
Daniel
gtmanfred commentedon Feb 23, 2017
It does look like we have a problem with this that installing with pip doesn't work on windows starting in 2016.11.
Daniel
wtfiwtz commentedon Mar 26, 2018
FYI as an update, I had to do the following:
https://stackoverflow.com/questions/41843266/microsoft-windows-python-3-6-pycrypto-installation-error
pycrypto/pycrypto#221
... but it still fails here:
Not sure what is the correct library
pypiwin32orpywin32...wtfiwtz commentedon Mar 26, 2018
Ok I got a bit further:
... and now I can run
salt-ssh --helpsuccessfully.stale commentedon Jul 9, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
avrajsri commentedon Oct 6, 2019
pip uninstall crypto
Delete "crypto" Folder [C:\Users\AppData\Local\Programs\Python\Python37\Lib\site-packages]
pip install crypto
pip uninstall pycryptodome
pip install pycryptodome
pip uninstall pycryptodomex
pip install pycryptodomex
pip uninstall cryptography
pip install cryptography
Rename Folder "crypto" to "Crypto" [C:\Users\AppData\Local\Programs\Python\Python37\Lib\site-packages]
Then Use "from Crypto.Cipher import AES"