viraja1 / grammar-check

GNU Lesser General Public License v3.0
25 stars 5 forks source link

Could not find a version that satisfies the requirement grammar-check (from versions: ) No matching distribution found for grammar-check when installing with pip #7

Open zurgeg opened 5 years ago

zurgeg commented 5 years ago

I install with pip and I get this:

$ pip3.7 install --user --upgrade grammar-check
Collecting grammar-check
  Could not find a version that satisfies the requirement grammar-check (from versions: )
No matching distribution found for grammar-check
You are using pip version 18.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Can anyone fix this

pidugusundeep commented 5 years ago

@zurgeg even i have the same issue

ghost commented 5 years ago

The same problem.. Solution??

syedmoosaraza commented 4 years ago

error

i am facing this error when i am sinstalling grammar-check lib from pycharm even from the pip please help me answer this issue

Pikamander2 commented 4 years ago

I'm getting the same issue.

@viraja1 - Is there a fix for this?

Pikamander2 commented 4 years ago

I couldn't figure out how to fix it, but here's the best replacement I've found so far:

https://github.com/Azd325/gingerit

Unfortunately it uses a web API, so it might be too slow/limited for some people's needs.

Here's some example code for it:

from gingerit.gingerit import GingerIt
import pprint

text = "I would like to buy one apples"

ginger_parser = GingerIt()

ginger_grammar_results = ginger_parser.parse(text)

#pprint.pprint(ginger_grammar_results)

ginger_corrections = ginger_grammar_results['corrections']

pprint.pprint(ginger_corrections)

print("\nNumber of grammar issues found with Ginger: " + str(len(ginger_corrections)) + "\n")

for correction in ginger_corrections:
    print("\t(Char #" + str(correction['start']) + ") Use '" + correction['correct'] + "' instead of '" + correction['text'] + "'")

Example output:

[{'correct': 'apple', 'definition': None, 'start': 24, 'text': 'apples'}]

Number of grammar issues found with Ginger: 1

    (Char #24) Use 'apple' instead of 'apples'
zurgeg commented 4 years ago

Oh, run these commands on your machine to upload it to pip after cloning the repo to your machine (or on Windows just download the zip and unzip it)

cd Place-You-Put-Your-Repo
pip install setuptools
pip install twine
python setup.py sdist
twine upload dist/*
jxmorris12 commented 4 years ago

Hi! Since this project has been abandoned, I started a new fork over at https://github.com/jxmorris12/language_tool_python.

My version supports new versions of Java and LanguageTool. language-check is stuck on Java 8 and LanguageTool 3.2; latest versions are Java 14 and LanguageTool 4.9!

I'm happy to help you with your issue if you raise it over at my repository! Thanks!

zurgeg commented 4 years ago

@jxmorris12 This project is not abandoned nor is it outdated. Just because it uses an old version might just mean that that old version is what the dev is used to. This one supports Java 14 and the Java version really doesn't matter here... I will still check out your repo though!

jxmorris12 commented 4 years ago

Won’t install on Oracle Java 14 for my system, or many other users’. And hasn’t been updated in a year+, or over five years of LT development. Sorry though. Feel free to choose whichever software package works best for your use case.

yishairasowsky commented 2 years ago

@viraja1 So in summary, how to solve this:

>pip install --user --upgrade grammar-check
ERROR: Could not find a version that satisfies the requirement grammar-check (from versions: none)
ERROR: No matching distribution found for grammar-check
yishairasowsky commented 2 years ago

@zurgeg any thoughts on my previous comment? Thanks!

zurgeg commented 2 years ago

Yes, that is correct, it has been awhile since I first commented on this issue so I didn't notice it, sorry for the late reply!

On Sun, Jan 30, 2022 at 2:46 AM yishai @.***> wrote:

@zurgeg https://github.com/zurgeg any thoughts on my previous comment? Thanks!

— Reply to this email directly, view it on GitHub https://github.com/viraja1/grammar-check/issues/7#issuecomment-1025089521, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDEQMSEF56LLSKNETNUCFTUYTUDRANCNFSM4H5A6RUA . You are receiving this because you were mentioned.Message ID: @.***>

zurgeg commented 2 years ago

Wait, I misread that comment, just git clone https://github.com/viraja1/grammar-check, and then cd grammer-check, and run python setup.py install, and it should work, but the last time this repo was updated was in 2015, and jxmorris12's fork is a lot more recent, so changing to that would be a better solution

yishairasowsky commented 2 years ago

Awesome, thanks!

On Mon, Jan 31, 2022 at 4:47 PM zurgeg @.***> wrote:

Wait, I misread that comment, just git clone https://github.com/viraja1/grammar-check, and then cd grammer-check, and run python setup.py install, and it should work, but the last time this repo was updated was in 2015, and jxmorris12's fork is a lot more recent https://github.com/jxmorris12/language_tool_python, so changing to that would be a better solution

— Reply to this email directly, view it on GitHub https://github.com/viraja1/grammar-check/issues/7#issuecomment-1025822678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJN7CNYR6P34QVUJKI6YSBTUY2OHFANCNFSM4H5A6RUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

-- Please let me know if you have any questions. Many thanks! Best wishes, Yishai Rasowsky Phone (972) 54-848-2245 Spare (972) 54-751-6040 *Learning: Blog http://talkinginlearning.wordpress.com Questions https://www.dafyomi.co.il/askollel.htm Classes: Kol Halashon https://www.kolhalashon.com/New/RavDaf/RavInfoD.aspx?RavID=999149&English=True&Lang=English

Torah Downloads https://torahdownloads.com/s-437-rabbi-yishai-rasowsky.html Professional: Portfolio https://github.com/yishairasowsky/professional_qualifications/blob/master/md/portfolio.md | Linkedin https://www.linkedin.com/in/yishai-rasowsky-a28189164/ *