Je pensais que ce serait plus simple que qqn vienne devant mon mac pour me montrer les manips, mais bon.
J'ai tenté d'installer l'environnement Eiffel mais je n'ai pas réussi voire ici :
http://forums.macg.co/vbulletin/showthread.php?t=167596
Premièrement j'ai installé python 2.5 que je peux "appeler" par le terminal en tappant "python", jsuque là tout va bien ; puis j'ai du installer python 2.4 en pour installer les sources d'un programme de la société Numenta ; bref maintenant lorsque je tappe "python" ds le terminal, il m'affiche la version 2.4 et non plus la vers 2.5 :
donc comment faire pour basculer d'une version à l'autre?
Ensuite avec la version de mac os 10.4 seul python 2.3 est livré, comment dois-je me débarrasser de cette version afin que le system utilise la dernière version?
J'ai installé python 2.4 parce que j'ai envie d'installer la plateforme NuPic de chez Numenta (
http://www.numenta.com)
Les instructions sont les suivantes : (en rouge ce que je ne comprends pas ou ne sais pas faire en général)
------------------------------------------------------------------
1. Install Python 2.4.4
Download the Python 2.4.4 installer from Numenta or from python.org. The file name is:
python-2.4.4-macosx2006-10-18.dmg
Install Python 2.4.4 by double clicking the disk image (.dmg) icon and then double clicking on the
MacPython.mpkg icon and following the instructions.
Other versions of Python may work, but have not been tested by Numenta.
2. Download the release tarball appropriate for your system.
If you have an Intel processor, the release will be named:
nupic-1.0.0-darwin86.tgz
The rest of these instructions use darwin86, but just use darwin if you have a PPC system.
We recommend that you install Numenta software inside $HOME/nta where $HOME is your home
directory. These instructions assume this installation location, but the software is relocatable if you want
to install it somewhere else.
3. Untar the release into your installation directory.
mkdir $HOME/nta
cd $HOME/nta
tar xzf /path/to/nupic-1.0.0-darwin86.tgz
This will create a directory nupic-1.0.0-darwin86.
Inside this directory will be the standard "bin", "lib", "share" directories. See the Installing NuPIC
education page for a tour of the directory contents.
4. Create a current soft link.
cd $HOME/nta
ln -s nupic-1.0.0-darwin86 current
This step is optional, but Numenta recommends it to enable you to upgrade to new releases without
modifying any environment variables. The default installation directory for the source releases is also
$HOME/nta/current. The rest of these instructions assume that the current link exists.
5. Setup PATH and PYTHONPATH.
Modify your shell startup files so that your PATH environment variable includes
$HOME/nta/current/bin and your PYTHONPATH environment variable includes
$HOME/nta/current/lib/python2.4/site-packages
For example, if you are using bash, you must add the following lines to the $HOME/.bashrc
and $HOME/.bash_profile files.
NTA=$HOME/nta/current
export PATH=$NTA/bin:$PATH
export PYTHONPATH=$NTA/lib/python2.4/site-packages:$PYTHONPATH
When you have finished making the changes, you have to make them active by using the source
command on your .bash_profile or .bashrc file.
source .bashrc
6. Install the license file.
Numentas platform requires the presence of a license file, license.cfg. You should have received the file
by email after registering on Numentas website. Create directory $HOME/.nta and copy the license.cfg
file to this directory.
Note that the name of the directory is ".nta", not "nta" which you have used in previous steps.
7. Validate your installation.
Run the first example in the Numenta Programmers Guide to validate the installation:
cd $HOME/nta/current/share/projects/bitworm
python RunOnce.py
------------------------------------------------------------------
Pour l'instant j'ai installé python 2.4 cf ma première question, j'ai les sources, ainsi que la licence.
Les sources sont dans un dossier "telechargement" quis se trouve dans mon dossier user, dois-je déplacer le fichier .tar quelque part? ou comment indiquer de décompresser le fichier .tar qui se trouve dans mon dossier telechargement, à l'intérieur du dossier spécialement crée?
Bref des questions de compréhension de la gestion des commandes sur des fichiers sur syteme Unix en somme.
merci à ceux qui prendront la peine et le temps de lire.