Comments (4)
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.
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.
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.
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)
- Inference with Theano shared variable having missing data HOT 2
- Can't build pymc HOT 6
- pymc.test() error HOT 4
- Can't install PyMC neither through conda nor pip on Windows 7 HOT 2
- Sampling does not start or is very slow on mixture model tutorial HOT 2
- async and await are reserved keywords in python 3.7 HOT 3
- Zstride=1. / spatial_scale, eroDivisionError: float division by zero
- pymc fails to find openblas from numpy HOT 4
- Erroneous documentation for Normal HOT 1
- sample_posterior_predictive produces wrongly shaped output HOT 1
- Error messages during pymc.test()
- Successfully installed but can't import HOT 1
- PYMC 2 warning HOT 8
- Python packages installation error HOT 1
- Sample function (MCMC) running AGONIZINGLY slowly HOT 2
- Truncated pareto
- Why can't PyMC be installed on MAC? HOT 5
- Anaconda installing pymc 2.3.7 not 2.3.8 HOT 3
- Install error in Pymc: module 'pymc' has no attribute 'stochastic_from_dist' HOT 9
- BUG: AttributeError: module 'pymc' has no attribute 'diagnostics' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymc2.