Installation paquet sur la machine vp-istex-li #88

Closed djelakwo opened this issue on 13 Nov 2015 - 6 comments

@djelakwo djelakwo commented on 13 Nov 2015

Bonjour,

j'aimerai installer le paquet "langid" sur la machine vpli

pip install langid

Merci d'avance!

c'est fait : à tester.

@djelakwo djelakwo commented on 13 Nov 2015

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.

@djelakwo djelakwo commented on 16 Nov 2015

Bonjour,
Ça ne marche toujours pas,

voilà ce que j’obtiens comme erreurs :

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)

pkg_resources.DistributionNotFound: numpy

décidément. pip me résiste.
peux tu tester maintenant ?

@djelakwo djelakwo commented on 16 Nov 2015

ça y est ça marche.
merci encore

@ponticel ponticel closed this issue on 16 Nov 2015
Labels

Priority
No priority
Milestone
No milestone
Assignee
@ponticel ponticel
2 participants
@djelakwo @ponticel