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

cannot import name 'Loop' from 'uvloop.loop' on platform armv7l #641

Open
Stitch0712 opened this issue Oct 26, 2024 · 0 comments
Open

cannot import name 'Loop' from 'uvloop.loop' on platform armv7l #641

Stitch0712 opened this issue Oct 26, 2024 · 0 comments

Comments

@Stitch0712
Copy link

uvloop version: 0.19.0
Python version: 3.10.7
Platform: Linux 5.4.61 armv7l GNU/Linux

  • Can you reproduce the bug with PYTHONASYNCIODEBUG in env?:

  • Does uvloop behave differently from vanilla asyncio? How?:

    I tried to cross-compile uvloop and port it to my armv7l platform for use, following the build steps in Readme.txt. The only difference was that I modified the contents of the setup.py due to the fact that it was not clear how to select the arm's configuration items:
    image
    -174:cmd = ['./configure']
    +174:cmd = ['./configure', '--host=arm-linux-gnueabi']
    This did work and successfully cross compiled.The log of the compilation process is given in the attachment.
    MobaXterm_10.3.1.69LeetxServerVM-T113_20241026_151215.txt
    After making && make isntall I checked the format with the readelf -h loop.cpython-310-x86_64-linux-gnu.so directive and it was right.
    image
    But after I ported him to armv7l, import uvloop prompts:
    cannot import name 'Loop' from 'uvloop.loop' (/usr/lib/python3.10/site-packages/uvloop/loop.cpython [-310-x86_64-linux-gnu.so)]
    I'm not sure what else in the process might be causing this problem

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

1 participant