Code Monkey home page Code Monkey logo

Comments (4)

fonnesbeck avatar fonnesbeck commented on July 23, 2024

Can you confirm that your gcc and gfortran are compatible? Sounds like that may be the issue. Also, does this occur with the current master as well, or just the 2.3.4 release?

from pymc2.

laszukdawid avatar laszukdawid commented on July 23, 2024

I've got the same problem and I'm sure I'm using both in version 5.4:

dawid@junkyard:~$ gcc -v
[cut cut cut]
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 
dawid@junkyard:~$ gfortran -v
[cut cut cut]
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 

Also, the actual problem starts with:

dawid@junkyard:~$ pip install pymc
Collecting pymc
  Using cached pymc-2.3.6.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    running build_src
    build_src
    building extension "pymc.flib" sources
    f2py options: ['skip:ppnd7']
    f2py:> build/src.linux-x86_64-2.7/pymc/flibmodule.c
    creating build
    creating build/src.linux-x86_64-2.7
    creating build/src.linux-x86_64-2.7/pymc
    IOError: [Errno 2] No such file or directory: 'skip:ppnd7'. Skipping file "skip:ppnd7".
    updatevars:gradlike: attempt to change 'dimension(nx)' to 'dimension(na)'. Ignoring.
    updatevars:gradlike: attempt to change 'dimension(nx)' to 'dimension(nb)'. Ignoring.
    updatevars:gradlike: attempt to change 'dimension (nmu)' to 'dimension(nmu)'. Ignoring.
    updatevars:gradlike: attempt to change 'dimension (na)' to 'dimension(na)'. Ignoring.
    Reading fortran codes...
    	Reading file 'pymc/flib.f' (format:fix,strict)
    Line #34 in pymc/flib.f:"      PARAMETER (infinity = 1.7976931348623157d308)"
    	get_parameters: got "unexpected EOF while parsing (<string>, line 0)" on ''
    Line #322 in pymc/flib.f:"      PARAMETER (infinity = 1.7976931348623157d308)"

and finishes with red:

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8TR38G/pymc/

from pymc2.

OasisYE avatar OasisYE commented on July 23, 2024

I also met the same problem

"Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-tqmyyxoc/pymc/"

from pymc2.

fonnesbeck avatar fonnesbeck commented on July 23, 2024

I can install via pip from PyPI on macOS and Python 3.6:

$ pip install pymc
Collecting pymc
  Downloading pymc-2.3.6.tar.gz (348kB)
    100% |████████████████████████████████| 358kB 2.9MB/s 
Installing collected packages: pymc
  Running setup.py install for pymc ... done
Successfully installed pymc-2.3.6

Given the odd unexpected EOF while parsing error, is it just an encoding issue?

from pymc2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.