Comment installer des packages python sur le Serveur?
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Comment installer des packages python sur le Serveur?

by
OlivierK
Created on 2016-11-29 08:50:51 (edited on 2024-09-04 12:36:57) in Hébergements Web

Hello, j'aimerais savoir comment faire pour pouvoir installer des packages Python sur mon Server?
J'essaie de faire "pip install" mais je n'ai pas l'air d'avoir le droit. J'ai l'erreur suivante:

[Errno 13] Permission denied: '/usr/lib/python2.7/dist-packages/easy-install.pth' IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/dist-packages/easy-install.pth'1

Cordialement


2 Replies ( Latest reply on 2017-09-17 14:32:00 by
janus57
)

Bonjour,

sur un mutu c'est impossible, vous devez upload les dépendances à la main.

Cordialement, janus57

Il n'y a pas de command line sur OVH?

Quand je me connecte en SSH, je me retrouve avec ceci:

Je ne peux pas taper quoi que ce soit...

Bonjour,

vous avez un accès SSH normale avec une offre pro ou supérieur, mais en aucun cas vous n'avez de droit d'administrateur pour installer des packages/logiciels.

Cordialement, janus57