IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Déploiement/Installation Python Discussion :

[EasyInstall] - pb installation


Sujet :

Déploiement/Installation Python

  1. #1
    Membre du Club
    Inscrit en
    Novembre 2007
    Messages
    45
    Détails du profil
    Informations forums :
    Inscription : Novembre 2007
    Messages : 45
    Points : 60
    Points
    60
    Par défaut [EasyInstall] - pb installation
    Bonjour,

    Je souhaiterais installer EasyInstall,
    Je suis donc la procédure suivante : http://peak.telecommunity.com/DevCenter/EasyInstall

    J'ai téléchargé le fichier : ez_setup.py

    Cependant lorsque je le lance j'obtiens les erreurs suivantes :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    ./ez_setup.py: line 17: DEFAULT_VERSION: command not found
    ./ez_setup.py: line 18: DEFAULT_URL: command not found
    ./ez_setup.py: line 20: md5_data: command not found
    ./ez_setup.py: line 21: setuptools-0.6b1-py2.3.egg:: command not found
    ./ez_setup.py: line 22: setuptools-0.6b1-py2.4.egg:: command not found
    ./ez_setup.py: line 23: setuptools-0.6b2-py2.3.egg:: command not found
    ./ez_setup.py: line 24: setuptools-0.6b2-py2.4.egg:: command not found
    ./ez_setup.py: line 25: setuptools-0.6b3-py2.3.egg:: command not found
    ./ez_setup.py: line 26: setuptools-0.6b3-py2.4.egg:: command not found
    ./ez_setup.py: line 27: setuptools-0.6b4-py2.3.egg:: command not found
    ./ez_setup.py: line 28: setuptools-0.6b4-py2.4.egg:: command not found
    ./ez_setup.py: line 29: setuptools-0.6c1-py2.3.egg:: command not found
    ./ez_setup.py: line 30: setuptools-0.6c1-py2.4.egg:: command not found
    ./ez_setup.py: line 31: setuptools-0.6c2-py2.3.egg:: command not found
    ./ez_setup.py: line 32: setuptools-0.6c2-py2.4.egg:: command not found
    ./ez_setup.py: line 33: setuptools-0.6c3-py2.3.egg:: command not found
    ./ez_setup.py: line 34: setuptools-0.6c3-py2.4.egg:: command not found
    ./ez_setup.py: line 35: setuptools-0.6c3-py2.5.egg:: command not found
    ./ez_setup.py: line 36: setuptools-0.6c4-py2.3.egg:: command not found
    ./ez_setup.py: line 37: setuptools-0.6c4-py2.4.egg:: command not found
    ./ez_setup.py: line 38: setuptools-0.6c4-py2.5.egg:: command not found
    ./ez_setup.py: line 39: setuptools-0.6c5-py2.3.egg:: command not found
    ./ez_setup.py: line 40: setuptools-0.6c5-py2.4.egg:: command not found
    ./ez_setup.py: line 41: setuptools-0.6c5-py2.5.egg:: command not found
    ./ez_setup.py: line 42: setuptools-0.6c6-py2.3.egg:: command not found
    ./ez_setup.py: line 43: setuptools-0.6c6-py2.4.egg:: command not found
    ./ez_setup.py: line 44: setuptools-0.6c6-py2.5.egg:: command not found
    ./ez_setup.py: line 45: setuptools-0.6c7-py2.3.egg:: command not found
    ./ez_setup.py: line 46: setuptools-0.6c7-py2.4.egg:: command not found
    ./ez_setup.py: line 47: setuptools-0.6c7-py2.5.egg:: command not found
    ./ez_setup.py: line 48: syntax error near unexpected token `}'
    ./ez_setup.py: line 48: `}'
    Est ce quelqu'un aurait une idée du problème?

  2. #2
    Membre expérimenté Avatar de pacificator
    Profil pro
    Inscrit en
    Août 2006
    Messages
    1 074
    Détails du profil
    Informations personnelles :
    Âge : 44
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 1 074
    Points : 1 728
    Points
    1 728
    Par défaut
    Bonjour,

    Ton fichier est-il bien executé par ton interpreteur python?

    Si tu crées un fichier hello.py
    Code python : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    #!/usr/bin/env python
     
    for i in range(5):
        print "hello wolrd"

    Cela fonctionne-t-il?
    "Etre conscient de la difficulté permet de l'éviter.."
    Lao-Tseu.

  3. #3
    Membre du Club
    Inscrit en
    Novembre 2007
    Messages
    45
    Détails du profil
    Informations forums :
    Inscription : Novembre 2007
    Messages : 45
    Points : 60
    Points
    60
    Par défaut merci
    Oui,

    J'avais bien une erreur dans mon script...
    J'ai oublié le "!" avant le chemin de python.
    Cela marche désormais.

    Mici

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Problème d'installation oracle 8.1.7 sous NT
    Par Anonymous dans le forum Installation
    Réponses: 7
    Dernier message: 02/08/2002, 14h18
  2. Installer ses composants
    Par Geronimo dans le forum C++Builder
    Réponses: 14
    Dernier message: 18/06/2002, 14h51
  3. Réponses: 19
    Dernier message: 24/05/2002, 16h36
  4. Réponses: 7
    Dernier message: 01/05/2002, 20h23
  5. [Kylix] Comment installer Kylix sur Mandrake 8.2 (page2)
    Par Philippe LE PONT dans le forum EDI
    Réponses: 3
    Dernier message: 01/05/2002, 12h52

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo