zak45 wrote: ↑Saturday 25 July 2020 12:49
Romel wrote: ↑Friday 24 July 2020 20:33
Code: Select all
Checking installation ....
----------------------------------------
Successfully imported googletrans
Error importing translate
Can you do this :
sudo -H python -m pip install translate
and
sudo pip list
ans show the output ?
pi@raspberrypi:~ $ sudo -H python -m pip install translate
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simple
Requirement already satisfied: translate in /usr/local/lib/python3.7/dist-packages (3.5.0)
Requirement already satisfied: tox in /usr/local/lib/python3.7/dist-packages (from translate) (3.17.1)
Requirement already satisfied: pre-commit in /usr/local/lib/python3.7/dist-packages (from translate) (2.6.0)
Requirement already satisfied: lxml in /usr/local/lib/python3.7/dist-packages (from translate) (4.5.2)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from translate) (2.21.0)
Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from translate) (6.7)
Requirement already satisfied: pluggy>=0.12.0 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (0.13.1)
Requirement already satisfied: py>=1.4.17 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (1.9.0)
Requirement already satisfied: toml>=0.9.4 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (0.10.1)
Requirement already satisfied: six>=1.14.0 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (1.15.0)
Requirement already satisfied: virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (20.0.26)
Requirement already satisfied: filelock>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (3.0.12)
Requirement already satisfied: importlib-metadata<2,>=0.12; python_version < "3.8" in /usr/local/lib/python3.7/dist-packages (from tox->translate) (1.7.0)
Requirement already satisfied: packaging>=14 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (20.4)
Requirement already satisfied: identify>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (1.4.23)
Requirement already satisfied: cfgv>=2.0.0 in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (3.1.0)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (5.3.1)
Requirement already satisfied: nodeenv>=0.11.1 in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (1.4.0)
Requirement already satisfied: distlib<1,>=0.3.1 in /usr/local/lib/python3.7/dist-packages (from virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0->tox->translate) (0.3.1)
Requirement already satisfied: appdirs<2,>=1.4.3 in /usr/local/lib/python3.7/dist-packages (from virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0->tox->translate) (1.4.4)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata<2,>=0.12; python_version < "3.8"->tox->translate) (3.1.0)
Requirement already satisfied: pyparsing>=2.0.2 in /usr/local/lib/python3.7/dist-packages (from packaging>=14->tox->translate) (2.4.7)
pi@raspberrypi:~ $ sudo pip list
sudo: pip: command not found