0

When I am trying to install sudo pip install language_check I got this error:

Collecting language_check
Downloading language-check-1.0.tar.gz
Complete output from command python setup.py egg_info: zip_safe flag not set; analyzing archive contents...
Installed /tmp/pip-build-_cYgOq/language-check/.eggs/3to2-1.1.1-py2.7.‌​
egg error in language-check setup command: package_data must be a dictionary 
mapping package names to lists of wildcard patterns
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_cYgOq/language-check/
phd
  • 82,685
  • 13
  • 120
  • 165
user054
  • 31
  • 1
  • 5
  • Please [edit] and add the entire error message, all lines. – phd Jul 20 '17 at 08:29
  • Collecting language_check Downloading language-check-1.0.tar.gz Complete output from command python setup.py egg_info: zip_safe flag not set; analyzing archive contents... Installed /tmp/pip-build-_cYgOq/language-check/.eggs/3to2-1.1.1-py2.7.egg error in language-check setup command: package_data must be a dictionary mapping package names to lists of wildcard patterns ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_cYgOq/language-check/ – user054 Jul 20 '17 at 09:00

4 Answers4

1

It's a bug in language-check. They fixed it at 23 March but didn't include in any release yet (release 1.0 was from 21 March).

Download the sources from Github and install with

python setup.py install
phd
  • 82,685
  • 13
  • 120
  • 165
0

I believe that if you install the latest version of Python, python3.6.2 it should work.

lukess
  • 964
  • 1
  • 14
  • 19
kanja klub
  • 121
  • 1
  • 1
  • 12
0
git clone -b patch-1 https://github.com/SpartorA/language-check.git

python setup.py install

Above will work

Midas Dev
  • 101
  • 1
  • 9
0

I was able to successfully install language-check in my Python 3.7 environment on MacOS as follows:

  1. Check Java installation :

  1. Install language-check

pip install language-check, won't directly work, you would have to:

  • Install from a forked & fixed repo for language-check
  • pip install git+https://github.com/MCFreddie777/language-check.git