cannot import name 'Loop' from 'uvloop.loop' on platform armv7l
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 30/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- linux, python
- Domaine
- build-system, operating-systems
Piste de recherche
Commencez par Readme.txt et setup.py, en particulier par la commande configure et le nom de fichier de l’extension générée, puis comparez l’architecture de build avec l’environnement d’exécution armv7l et reproduisez l’échec de l’importation. C’est terminé lorsque le paquet compilé pour une autre architecture s’importe sur armv7l et expose Loop depuis uvloop.loop.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
uvloop version: 0.19.0
Python version: 3.10.7
Platform: Linux 5.4.61 armv7l GNU/Linux
-
Can you reproduce the bug with
PYTHONASYNCIODEBUGin 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:
-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.
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
- Langage dominant
- Cython
- Étoiles
- 11.9k
- Forks
- 615
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de MagicStack/uvloop
-
License not clear Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
MagicStack/uvloop#759 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
MagicStack/uvloop#741 · 2 réactions ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
MagicStack/uvloop#702 · 8 commentaires · 9 réactions ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
MagicStack/uvloop#766 ·
-
Directly constructed subprocess pipe protocols segfault when callbacks use a non-process owner Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
MagicStack/uvloop#765 ·
Toutes les issues de MagicStack/uvloop
Issues similaires
-
nix: vendorHash is outdated Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
typelevel/sbt-typelevel#929 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
openSUSE/python-rpm-macros#219 ·
-
HMR stops working Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
Qiskit/mcp-servers#221 ·