[BioPython] Installation problems

Iddo idoerg at burnham.org
Wed Oct 20 18:40:12 EDT 2004


Try:

python setup.py build

Make sure you have 2.2 at least. 2.3 is better.

Cheers,

Iddo

Walter Ash wrote:

> When I attempt to build biopython using setup.py I get syntax errors 
> that don't make any sense.  My python distribution appears to be 
> working normally for all other applications and scripts.  I'm 
> wondering if anybody else has encountered this and resolved it?
>
> # ./setup.py build
> ./setup.py: line 21: Distutils based setup script for Biopython.
>
> [help and version info snipped]
>
> : No such file or directory
> ./setup.py: line 26: syntax error near unexpected token `('
> ./setup.py: line 26: `if sys.version_info[:2] < (2, 2):'
>
> -----------------
>
> There is a very long delay between the "no such file or directory" 
> error and the syntax error message.  I'm using redhat enterprise 3 
> (Red Hat Enterprise Linux WS release 3 (Taroon Update 3)) with the 
> following kernel:
>
> Linux blahblah.ucalgary.ca 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 
> EDT 2004 i686 i686 i386 GNU/Linux
>
> and this python version:
>
> Python 2.2.3 (#1, Aug  8 2003, 08:44:02)
> [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-13)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
>
>
> _______________________________________________
> BioPython mailing list  -  BioPython at biopython.org
> http://biopython.org/mailman/listinfo/biopython
>
>


-- 
Iddo Friedberg, Ph.D.
The Burnham Institute
10901 North Torrey Pines Road
La Jolla, CA 92037 USA
T: (858) 646 3100 x3516
F: (858) 713 9930
http://ffas.ljcrf.edu/~iddo



More information about the BioPython mailing list