c'est fait : à tester.
merci,
l'utilitaire pip à été installé, mais pas "langid"
-- pip install langid
Downloading/unpacking langid
Running setup.py egg_info for package langid
Downloading/unpacking numpy (from langid)
Running setup.py egg_info for package numpy
Running from numpy source directory.
warning: no previously-included files matching '.pyc' found anywhere in distribution
warning: no previously-included files matching '.pyo' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
Installing collected packages: langid, numpy
Running setup.py install for langid
error: could not create '/usr/local/lib/python2.7/dist-packages/langid': Permission denied
Complete output from command /usr/bin/python -c "import setuptools;file='/applis/istex/home/build/langid/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-ewSxzI-record/install-record.txt:
running install
running build
running build_py
running egg_info
writing requirements to langid.egg-info/requires.txt
writing langid.egg-info/PKG-INFO
writing top-level names to langid.egg-info/top_level.txt
writing dependency_links to langid.egg-info/dependency_links.txt
writing entry points to langid.egg-info/entry_points.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'langid.egg-info/SOURCES.txt'
writing manifest file 'langid.egg-info/SOURCES.txt'
running install_lib
creating /usr/local/lib/python2.7/dist-packages/langid
error: could not create '/usr/local/lib/python2.7/dist-packages/langid': Permission denied
Command /usr/bin/python -c "import setuptools;file='/applis/istex/home/build/langid/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-ewSxzI-record/install-record.txt failed with error code 1
Storing complete log in /applis/istex/home/.pip/pip.log
ça devrait être OK.
Bonjour,
Ça ne marche toujours pas,
istex@vp-istex-li:~$ langid
Traceback (most recent call last):
File "/usr/local/bin/langid", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in
working_set.require(requires)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
décidément. pip me résiste.
peux tu tester maintenant ?
ça y est ça marche.
merci encore
Bonjour,
j'aimerai installer le paquet "langid" sur la machine vpli
pip install langid
Merci d'avance!