djay0529 / mdanalysis

Automatically exported from code.google.com/p/mdanalysis
0 stars 0 forks source link

MDAnalysis doesn't build when cython is installed (Ubuntu 14.04) #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install stock Ubuntu 14.04.
2. sudo apt-get install python-dev python-numpy python-biopython
3. sudo apt-get install cython
4. sudo pip install mdanalysis

What is the expected output? What do you see instead?
Expected: module builds.  It does build if you leave out step 3.
Actual output:
$ sudo pip install mdanalysis
Downloading/unpacking mdanalysis
  Downloading MDAnalysis-0.8.1.tar.gz (7.1MB): 7.1MB downloaded
  Running setup.py (path:/tmp/pip_build_root/mdanalysis/setup.py) egg_info for package mdanalysis
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_root/mdanalysis/setup.py", line 92, in <module>
        if not int(Cython.__version__.replace(".","")) >= int(required_version.replace(".", "")):
    ValueError: invalid literal for int() with base 10: '0201post0'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_root/mdanalysis/setup.py", line 92, in <module>

    if not int(Cython.__version__.replace(".","")) >= int(required_version.replace(".", "")):

ValueError: invalid literal for int() with base 10: '0201post0'

----------------------------------------
Cleaning up...

What version of the product are you using? On what operating system?
Version 0.8.1 on Ubuntu 14.04

Please provide any additional information below.
Seems like the Cython version number has non-digit characters and this causes 
the problem.

Original issue reported on code.google.com by ggyim...@gmail.com on 16 Mar 2015 at 9:12

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for reporting. This problem has been fixedin the development branch and 
will work in the upcoming 0.9.0 release (in the next few days). See Issue 204 
for a workaround or use the DevelopmentBranch 
https://code.google.com/p/mdanalysis/wiki/DevelopmentBranch

Oliver

Original comment by orbeckst on 16 Mar 2015 at 10:01