Ask Your Question
0

I can't install Qutip in fedora 24

asked 2016-08-03 23:36:28 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Whenever I type this code pip install qutip to install Qutip (installation link for Qutip), error code showing like this

[root@pi qutip-3.1.0]# pip install qutip

Collecting qutip

Using cached qutip-3.1.0.tar.gz Installing collected packages: qutip Running setup.py install for qutip ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-obxEVL/qutip/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-7jgzsw-record/install-record.txt --single-version-externally-managed --compile: Installing without the fortran mcsolver. running install running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building py_modules sources building extension "qutip.cy.spmatfuncs" sources building extension "qutip.cy.stochastic" sources building extension "qutip.cy.sparse_utils" sources building extension "qutip.cy.graph_utils" sources building extension "qutip.control.cy_grape" sources building data_files sources build_src: building npy-pkg config files running build_py creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/qutip copying qutip/version.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/continuous_variables.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/metrics.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/picloud.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/tomography.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/entropy.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/about.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/__init__.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/sesolve.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/propagator.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/states.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/tensor.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/rhs_generate.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/setup.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/steadystate.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/permute.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/mcsolve.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/distributions.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/superop_reps.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/bloch.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/partial_transpose.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/floquet.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/parallel.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/essolve.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/utilities.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/subsystem_apply.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/bloch3d.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/three_level_atom.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/mesolve.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/logging.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/correlation.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/fileio.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/sparse.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/qobj.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/visualization.py -> build/lib.linux-x86_64-2.7/qutip copying qutip/random_objects.py -> build/lib.linux-x86_64-2.7/qutip ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-08-04 00:08:00 -0500

aeperezt gravatar image

You need to install redhat-rpm-config

sudo dnf install redhat-rpm-config

Good Luck

edit flag offensive delete link more

Comments

Thanks, this saves me another hour to figure it out. Btw, I also found Cython to be missing when installing Qutip, that would also come up as an error with a fresh Fedora 24.

Sandbo gravatar imageSandbo ( 2016-09-05 15:26:42 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-08-03 23:36:28 -0500

Seen: 141 times

Last updated: Aug 04 '16