grammar-check icon indicating copy to clipboard operation
grammar-check copied to clipboard

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

Open zurgeg opened this issue 6 years ago • 14 comments

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

zurgeg avatar Jul 03 '19 01:07 zurgeg

@zurgeg even i have the same issue

pidugusundeep avatar Jul 30 '19 11:07 pidugusundeep

The same problem.. Solution??

ghost avatar Aug 02 '19 02:08 ghost

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

syedmoosaraza avatar Oct 11 '19 10:10 syedmoosaraza

I'm getting the same issue.

@viraja1 - Is there a fix for this?

Pikamander2 avatar Mar 03 '20 06:03 Pikamander2

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'

Pikamander2 avatar Mar 03 '20 07:03 Pikamander2

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/*

zurgeg avatar Mar 20 '20 12:03 zurgeg

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!

jxmorris12 avatar May 01 '20 16:05 jxmorris12

@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!

zurgeg avatar May 02 '20 02:05 zurgeg

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.

jxmorris12 avatar May 02 '20 05:05 jxmorris12

@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 avatar Jan 30 '22 07:01 yishairasowsky

@zurgeg any thoughts on my previous comment? Thanks!

yishairasowsky avatar Jan 30 '22 07:01 yishairasowsky

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 avatar Jan 30 '22 21:01 zurgeg

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

zurgeg avatar Jan 31 '22 14:01 zurgeg

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/ *

yishairasowsky avatar Jan 31 '22 15:01 yishairasowsky