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

Add python 3.6 > to project #131

Open
bachetesla opened this issue Feb 8, 2022 · 1 comment
Open

Add python 3.6 > to project #131

bachetesla opened this issue Feb 8, 2022 · 1 comment

Comments

@bachetesla
Copy link
Contributor

problem

I think the problem is caused by a conflict between mockssh and paramiko.
by default, we don't have MockSSH installed. (we don't have it on requirements.txt).
after installing MockSSH this error occurred:

<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
sqlalchemy_media/__init__.py:2: in <module>
    from .attachments import Attachment, AttachmentCollection, AttachmentList, \
sqlalchemy_media/attachments.py:13: in <module>
    from .stores import StoreManager, Store
sqlalchemy_media/stores/__init__.py:12: in <module>
    from .os2 import OS2Store
sqlalchemy_media/stores/os2.py:18: in <module>
    from sqlalchemy_media.optionals import ensure_os2auth
sqlalchemy_media/optionals.py:56: in <module>
    import paramiko
/home/ae/.local/lib/python3.9/site-packages/paramiko/__init__.py:30: in <module>
    from paramiko.transport import SecurityOptions, Transport
/home/ae/.local/lib/python3.9/site-packages/paramiko/transport.py:66: in <module>
    from paramiko.sftp_client import SFTPClient
/home/ae/.local/lib/python3.9/site-packages/paramiko/sftp_client.py:41: in <module>
    from paramiko.sftp_file import SFTPFile
E     File "/home/ae/.local/lib/python3.9/site-packages/paramiko/sftp_file.py", line 66
E       self._close(async=True)
E                   ^
E   SyntaxError: invalid syntax

python

python3 --version
Python 3.9.7

OS

uname -a
Linux skrilla 5.13.0-27-generic #29-Ubuntu SMP Wed Jan 12 17:36:47 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

@MoralCode
Copy link

MoralCode commented Dec 10, 2022

in case it helps anyone, on my machine (kubuntu 22.04), all using pyenv:

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

No branches or pull requests

2 participants