Giter Club home page Giter Club logo

Comments (6)

jun66j5 avatar jun66j5 commented on June 26, 2024

That is an issue of pyca/cryptography, not paramiko. Instead, please search the same and report it to pyca/cryptography project.

from paramiko.

moran0710 avatar moran0710 commented on June 26, 2024

Thanks, I'll go to the cryptography issue to reflect
Also please do I need to delete this issue, it feels like it can also be put here as a temporary solution for this kind of error, I just used github and don't know much about the usage specs

from paramiko.

bskinn avatar bskinn commented on June 26, 2024

No, please don't delete it. It'll help others who might come with the same problem to understand the situation.

from paramiko.

moran0710 avatar moran0710 commented on June 26, 2024

okay i know ,thanks
i will report this but to the right place

from paramiko.

jun66j5 avatar jun66j5 commented on June 26, 2024

The same issue has been reported at pyca/cryptography#10300. Also, according to pyca/cryptography#10300 (comment), the issue is no longer appeared since Python 3.9.2.

I just tried with Python 3.9.0 and 3.9.13 in my environment. I confirmed it is reproduced with Python 3.9.0 and not reproduced with Python 3.9.13.

I think we could close this issue.

pip list

Package      Version
------------ -------
bcrypt       4.1.2
cffi         1.16.0
cryptography 42.0.2
paramiko     3.4.0
pip          22.0.4
pycparser    2.21
PyNaCl       1.5.0
setuptools   58.1.0

Python 3.9.0

C> C:\usr\tmp\venv-py3.9.0\Scripts\python -c "import paramiko; print(paramiko.__version__)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\usr\tmp\venv-py3.9.0\lib\site-packages\paramiko\__init__.py", line 22, in <module>
    from paramiko.transport import (
  File "C:\usr\tmp\venv-py3.9.0\lib\site-packages\paramiko\transport.py", line 33, in <module>
    from cryptography.hazmat.primitives.ciphers import algorithms, Cipher, modes
  File "C:\usr\tmp\venv-py3.9.0\lib\site-packages\cryptography\hazmat\primitives\ciphers\__init__.py", line 11, in <module>
    from cryptography.hazmat.primitives.ciphers.base import (
  File "C:\usr\tmp\venv-py3.9.0\lib\site-packages\cryptography\hazmat\primitives\ciphers\base.py", line 10, in <module>
    from cryptography.exceptions import (
  File "C:\usr\tmp\venv-py3.9.0\lib\site-packages\cryptography\exceptions.py", line 9, in <module>
    from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
ImportError: DLL load failed while importing _rust: The specified procedure could not be found.

Python 3.9.13

C> C:\usr\tmp\venv-py3.9.13\Scripts\python -c "import paramiko; print(paramiko.__version__)"
3.4.0

from paramiko.

bskinn avatar bskinn commented on June 26, 2024

Agreed, it seems clear that this has been resolved by the cryptography dependency.

from paramiko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.