| | 346 | === Pyraf Installation (without stsci Python modules) === |
| | 347 | |
| | 348 | '''Compiled the Python script:''' |
| | 349 | |
| | 350 | cdelacruz@io:~/pyraf/pyraf-1.2.1$ python setup.py install |
| | 351 | |
| | 352 | Following error occurs: |
| | 353 | |
| | 354 | src/sscanfmodule.c:79:20: error: Python.h: No such file or directory |
| | 355 | |
| | 356 | cdelacruz@io:~/pyraf/pyraf-1.2.1$ sudo apt-get install python2.4-dev |
| | 357 | Reading package lists... Done |
| | 358 | Building dependency tree... Done |
| | 359 | The following NEW packages will be installed |
| | 360 | python2.4-dev |
| | 361 | 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. |
| | 362 | Need to get 1464kB of archives. |
| | 363 | After unpacking 4813kB of additional disk space will be used. |
| | 364 | Get: 1 http://us.archive.ubuntu.com dapper/main python2.4-dev 2.4.3-0ubuntu4 [1464kB] |
| | 365 | Fetched 1464kB in 1s (1365kB/s) |
| | 366 | Selecting previously deselected package python2.4-dev. |
| | 367 | (Reading database ... 120375 files and directories currently installed.) |
| | 368 | Unpacking python2.4-dev (from .../python2.4-dev_2.4.3-0ubuntu4_i386.deb) ... |
| | 369 | Setting up python2.4-dev (2.4.3-0ubuntu4) ... |
| | 370 | |
| | 371 | cdelacruz@io:~/pyraf/pyraf-1.2.1$ |
| | 372 | |
| | 373 | |