Comments (8)
@LeBigBot Je n'ai jamais essayé, mais j'imagine que oui.
from pygrammalecte.
J'ai réussi à installer Grammalecte-fr, ma nouvelle erreur est la suivante :
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 n’est pas une application Win32 valide
Voilà si cela peut vous aider à le résoudre
from pygrammalecte.
Hi, I tried to reproduce the error, but I don't get it. Here is what I tried:
python3.8 -m venv venv # create a virtual environment with Python 3.8
source venv/bin/activate # activate the newly created environment (with Linux)
pip install pygrammalecte # install the latest pygrammalecte
python3.8 my_script.py # execute the code you're talking about
This behaves well, it returns:
Ligne 1 [11:15] [g1__conj_je__b2_a1_1] Conjugaison erronée. Accord avec “je”. Le verbe devrait être à la 1ʳᵉ personne du singulier. (Suggestions : veux)
Ligne 2 [17:21] Mot inconnu : VHDL
Ligne 3 [3:7] Mot inconnu : VHDL
Ligne 3 [8:15] [doublon] Doublon. (Suggestions : est)
Ligne 3 [16:26] [gv1__ppas_être_confusion__b3_a1_1] Après “être”, le verbe ne devrait pas être à l’infinitif. (Suggestions : compliquées, compliquée, compliqués, compliqué)
Could you tell me the version of Python you're using (it seems 3.8), the version of pygrammalecte (use the command pip freeze
if you're not sure), and all the steps you did to reproduce the bug?
BTW, I'm french, you can speak french if you want.
from pygrammalecte.
Bonjour,
Je vais me permettre de parler en français ;)
Je rencontre la même erreur (avec Python 3.8, dans un environnement virtuel tout simple). Après investigation (dans mon cas), le soucis vient de cette partie de code:
subprocess.run( [ "grammalecte-cli.py", "-f", filepath, "-off", "apos", "--json", "--only_when_errors", ], capture_output=True, text=True, )
Le fichier n'est pas trouvé: FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable
from pygrammalecte.
Bonjour,
N'utilisant pas Windows, je ne suis jamais tombé sur cette erreur. La bonne nouvelle est que j'arrive à reproduire le bug avec Windows 10, la mauvaise est que je n'ai pas le temps tout de suite de corriger.
L'installation de Grammalecte a échoué. Normalement lors d'un pip freeze
on doit voir un truc du genre :
certifi==2021.10.8
charset-normalizer==2.0.11
Grammalecte-fr==1.12.0
idna==3.3
pygrammalecte==1.3.0
requests==2.27.1
urllib3==1.26.8
Où l'on voit que pygrammalecte a bien installé Grammalecte-fr. Mais sous Windows, Grammalecte ne s'est pas installé à la première utilisation de pygrammalecte. Et donc la commande mentionnée dans le précédent commentaire échoue.
Affaire à suivre 😉
from pygrammalecte.
Bonjour,
J'ai la même erreur et je constate que j'ai bien pygrammalecte 1.30, mais pas Grammalecte-fr
Comment puis-je l'installer correctement ?
from pygrammalecte.
@LeBigBot Je n'ai pas encore de solution, Grammalecte est vraiment pas simple à faire fonctionner sous Windows à cause de problème d'encodage. Je n'ai pas vraiment eu le temps de m'en occuper… La seule solution que je vois à court terme est d'utiliser autre chose que Windows (ou peut-être https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-10#1-overview)
from pygrammalecte.
C'est d'accord, pensez vous que cela marcherait sur AWS Lambda ?
from pygrammalecte.
Related Issues (8)
- FileNotFoundError: [Errno 2] No such file or directory: 'grammalecte-cli.py' HOT 3
- exit 0 when issue #1
- pygrammalecte n'est pas compatible avec Google Colab HOT 5
- Changer l'ordre des suggestions HOT 3
- Tester Grammalecte 2.0.0
- Grammalecte-fr not installed on Windows 10 HOT 1
- 404 Client Error when installing Grammalect HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygrammalecte.