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

Python3 tsz Error #28

Closed
garywu520 opened this issue Nov 4, 2022 · 2 comments
Closed

Python3 tsz Error #28

garywu520 opened this issue Nov 4, 2022 · 2 comments

Comments

@garywu520
Copy link

Python3 tsz comman Error

Traceback (most recent call last):

  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/trzsz/iterm2/main.py", line 245, in main

    download_files(args, loop, session)

  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/trzsz/iterm2/main.py", line 80, in download_files

    send_action(True, __version__)

TypeError: send_action() missing 1 required positional argument: 'remote_is_windows'



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/trzsz-iterm2", line 8, in <module>

    sys.exit(main())

  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/trzsz/iterm2/main.py", line 252, in main

    fail_exit(e, False)

NameError: name 'fail_exit' is not defined
@lonnywong
Copy link
Member

lonnywong commented Nov 4, 2022

卸载之后重新安装一下吧,看来是依赖的 trzsz-libs 和 trzsz-iterm2 版本不同。

python3 -m pip uninstall trzsz-libs trzsz-svr trzsz-iterm2 trzsz

多执行几次这个,确定卸载完之后,再按指引重新安装。

@garywu520
Copy link
Author

garywu520 commented Nov 7, 2022

卸载之后重新安装一下吧,看来是依赖的 trzsz-libs 和 trzsz-iterm2 版本不同。

python3 -m pip uninstall trzsz-libs trzsz-svr trzsz-iterm2 trzsz

多执行几次这个,确定卸载完之后,再按指引重新安装。

按照这个(https://trzsz.github.io/iterm2)重新配置了下本地M1环境,可以了,谢谢!

@lonnywong lonnywong mentioned this issue Nov 11, 2022
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