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

AttributeError: module 'os' has no attribute 'link'. on Termux pip install matrix-commander #9

Open
Benjamin-Loison opened this issue Feb 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Benjamin-Loison
Copy link
Owner

Benjamin-Loison commented Feb 24, 2024

On my Fairphone 4 LineageOS.

matrix-commander -m 'test'
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/matrix-commander", line 5, in <module>
    from matrix_commander import main
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/matrix_commander/__init__.py", line 1, in <module>
    from .matrix_commander import main
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/matrix_commander/matrix_commander.py", line 45, in <module>
    import aiofiles.os
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/aiofiles/os.py", line 41, in <module>
    link = wrap(os.link)
                ^^^^^^^
AttributeError: module 'os' has no attribute 'link'. Did you mean: 'unlink'?

Same issue on Waydroid.

Identical issue at termux-packages/issues/18666. Note that it mentions matrix-commander.

Related to Benjamin-Loison/termux-app/issues/13.

Could request to publish an aiofiles release to solve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant