Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1216 connectés 

  FORUM HardWare.fr
  Programmation
  Python

  Nouvel utilisateur perdu

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Nouvel utilisateur perdu

n°1801390
SangJun
Posté le 17-10-2008 à 12:48:24  profilanswer
 

Bonjour à tous,
 
Après avoir tâté de plusieurs langages, voilà que je débarque sur du Python.
Me voilà dans l'installation d'Opus & UrbanSim, et je commence par l'installation de Python. D'un dépârt qui commençait simple, je suis déjà bloqué :bug:
 
Je vais vous exposer un peu ce que j'ai fait :
 
Step 1: Installing Python  
 
        Opus and UrbanSim are implemented in Python, making heavy use of numerical Python packages and other software. Currently, Opus and UrbanSim are known to work on either Python 2.4 or Python 2.5. The official Python website includes documentation, downloads, and much else.  
 
            J'installe les versions 2.6 et 2.5
 
        # Download and install the Python Enthought Edition – Python 2.4.3 for Windows Enhanced Python Distribution from http://code.enthought.com/enthon/. This will install Python and all of UrbanSim's required Python packages, as well as several other useful Python packages.  
        # Upgrade your numpy (http://numpy.scipy.org/) package to at least version 1.0.1. This is a fast array-processing library used throughout Opus.  
 
          Pas de problème (hormis que http://code.enthought.com/enthon/ renvoie une erreur 404)
 
       # Install scipy 0.5.2 (http://www.scipy.org/); this is an open-source software for mathematics, science, and engineering. Opus needs the scipy.ndimage package.  
        (If you have trouble installing scipy you can install just the ndimage packages.)
 
            Messages d'erreurs => installation par ndimage
 
            1. Create a site-packages directory into which to install additional packages (e.g.: ~home/python24/lib/python2.4/site-packages).
 
               => c:\python25\Lib\site-packages
 
            2. Add this site-packages directory to your PYTHONPATH.  
            3. Create a scipy directory within site-packages (e.g. ~home/python24/lib/python2.4/site-packages/scipy). This is needed so that the two scipy subpackages have a place in which to install.  
            4. Create a __init__.py file in the scipy folder (e.g. ~/home/python24/lib/python2.4/site-packages/scipy/__init__.py). Python needs this file to exist in order to be able to import scipy. The file may be empty.
 
                La précédente installation a déjà installé plusieurs fichiers => vider __init__.py de son contenu grace à Notepad
 
            5. Download ndimage.zip. This version is compatible with the latest Opus and UrbanSim.  
            6. Unzip ndimage.zip.  
            7. cd into the unzipped directory.  
            8. Build and install the package via a command like the following. The path after the --prefix parameter is the location containing your Python's lib directory:[/INDENT][/INDENT]
                   

Code :
  1. python setup.py install --prefix=c:\python25


                Message d'erreur 'python' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes
 
 
Donc voilà où j'en suis sans trop savoir comment m'en sortir.
 
 
Merci d'avance

mood
Publicité
Posté le 17-10-2008 à 12:48:24  profilanswer
 

n°1801397
gilou
Modérateur
Modzilla
Posté le 17-10-2008 à 13:26:36  profilanswer
 

SangJun a écrit :

Bonjour à tous,
 Pas de problème (hormis que http://code.enthought.com/enthon/ renvoie une erreur 404)
Merci d'avance


Inquiétant, cette erreur. Ca t'a quand même installé le python correspondant?
Sinon, tu devrais l'obtenir a partir de ce lien: http://www.enthought.com/products/epd.php
A+,


---------------
There's more than what can be linked! --    Iyashikei Anime Forever!    --  AngularJS c'est un framework d'engulé!  --
n°1801579
SangJun
Posté le 17-10-2008 à 17:24:19  profilanswer
 

J'ai voulu tout désinstaller et recommencer sur quelque chose de propre mais ...
 
http://img442.imageshack.us/img442/1817/erreurlq6.jpg
 
Et malheureusement la restauration n'était pas activée [:m1sery]

n°1801776
gilou
Modérateur
Modzilla
Posté le 18-10-2008 à 12:57:18  profilanswer
 

Essayes de desinstaller les trucs de l'installation ratée d'avant a la main avec ajouter/supprimer des programmes dans windows, mais la, je ne peux en dire plus, car ca ne dit pas ce qui pose probleme.
A+,


---------------
There's more than what can be linked! --    Iyashikei Anime Forever!    --  AngularJS c'est un framework d'engulé!  --
n°1801779
SangJun
Posté le 18-10-2008 à 13:14:08  profilanswer
 

c'est justement ce que j'ai fait, il ne me restait que ça :'(

n°1801824
gilou
Modérateur
Modzilla
Posté le 18-10-2008 à 16:49:08  profilanswer
 

Et avec un autre python, ca ne marcherait pas? celui d'active state par exemple??
A+,


---------------
There's more than what can be linked! --    Iyashikei Anime Forever!    --  AngularJS c'est un framework d'engulé!  --
n°1802795
SangJun
Posté le 21-10-2008 à 13:58:01  profilanswer
 

Après suppression de dossiers, réparation avec le fichier d'installation et désinstallation, je suis arrivé à quelque chose de propre :)


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  Python

  Nouvel utilisateur perdu

 

Sujets relatifs
need HELP - confirmation inscription compte utilisateur sur base ODBCInteraction utilisateur et macro
Un enregistrement perdu lors de mon SELECTMettre un password sans utilisateur a un site ??
Référence DirectX pour l'utilisateur final"intercepter" quand l'utilisateur presse "Ctrl"+"S" [RESOLU]
[VBS] copie d'un fichier avec une liste d'utilisateurChoix du lien (relatif ou absolu) où l'utilisateur sera dirigé
[AD - LDAP] Ajout d'un nouvel utilisateur dans un groupe 
Plus de sujets relatifs à : Nouvel utilisateur perdu


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR