I want to use the following PyPI Package on macOS Catalina: https://pypi.org/project/readability/
What the Package does: Analyses .txt files you have in a certain directory and then gives you a .csv file containing readability values for all the examined .txt files.
My Problem: You can run this package using one simple command in Terminal. I was able to execute that command before but I forgot to save it and now I am sitting here and don't know what to do.
I am trying to run the following command:
$readability [--lang=<en>] --csv /Users/XXXX/Desktop/1980/*.txt >readabilitymeasures.csv
But I always get this error:
-bash: en: No such file or directory
It should be so simple because I managed it before but I reallyd don't know why it doesn't work.
This is the output I get when I try to pip install readability:
DEPRECATION:
Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: readability in ./Library/Python/2.7/lib/python/site-packages (0.3.1)