-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip3 install qml error #128
Comments
blas and lapack is not found. Make sure that those packages (or
alternatively mkl) is found in your environment / installed.
…On Tue, 9 Jun 2020 at 12:14, Gerardo Raggi ***@***.***> wrote:
Hello everyone, I have never had problems installing with pip3 before.
Collecting qml
Downloading
https://files.pythonhosted.org/packages/7b/f3/c08d18659054cdf5e5dc531ee32ab20e6aa1d3772545837557828a03b1f5/qml-0.4.0.27.tar.gz
(41kB)
100% |████████████████████████████████| 51kB 1.2MB/s
Building wheels for collected packages: qml
Running setup.py bdist_wheel for qml ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools,
tokenize;*file*='/tmp/pip-build-b9e7yqyc/qml/setup.py';f=getattr(tokenize,
'open', open)(*file*);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, *file*, 'exec'))" bdist_wheel -d
/tmp/tmpm3f7m3g3pip-wheel- --python-tag cp36:
MKL-discover: MKLROOT was not set
running bdist_wheel
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 extension "ffchl_module" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.f90' to
sources.
building extension "farad_kernels" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/farad_kernels-f2pywrappers.f' to
sources.
adding 'build/src.linux-x86_64-3.6/farad_kernels-f2pywrappers2.f90' to
sources.
building extension "fcho_solve" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/fcho_solve-f2pywrappers.f' to sources.
building extension "fdistance" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/fdistance-f2pywrappers.f' to sources.
building extension "fkernels" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/fkernels-f2pywrappers.f' to sources.
building extension "fslatm" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/fslatm-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/fslatm-f2pywrappers2.f90' to sources.
building extension "frepresentations" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/frepresentations-f2pywrappers.f' to
sources.
adding 'build/src.linux-x86_64-3.6/frepresentations-f2pywrappers2.f90' to
sources.
build_src: building npy-pkg config files
running build_py
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/qml
copying qml/compound.py -> build/lib.linux-x86_64-3.6/qml
copying qml/representations.py -> build/lib.linux-x86_64-3.6/qml
copying qml/data.py -> build/lib.linux-x86_64-3.6/qml
copying qml/alchemy.py -> build/lib.linux-x86_64-3.6/qml
copying qml/*init*.py -> build/lib.linux-x86_64-3.6/qml
copying qml/fchl.py -> build/lib.linux-x86_64-3.6/qml
copying qml/kernels.py -> build/lib.linux-x86_64-3.6/qml
copying qml/slatm.py -> build/lib.linux-x86_64-3.6/qml
copying qml/distance.py -> build/lib.linux-x86_64-3.6/qml
copying qml/math.py -> build/lib.linux-x86_64-3.6/qml
copying qml/wrappers.py -> build/lib.linux-x86_64-3.6/qml
copying qml/arad.py -> build/lib.linux-x86_64-3.6/qml
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg',
'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95',
'pathf95', 'nagfor']'
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg',
'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95',
'pathf95', 'nagfor']'
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'ffchl_module' extension
compiling C sources
C compiler: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC
creating build/temp.linux-x86_64-3.6/build
creating build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build
creating
build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6
compile options: '-Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6
-I/home/graggi/.local/lib/python3.6/site-packages/numpy/core/include
-I/usr/include/python3.6m -c'
extra options: '-O3 -fopenmp -m64 -march=native -fPIC
-Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
x86_64-linux-gnu-gcc: build/src.linux-x86_64-3.6/ffchl_modulemodule.c
x86_64-linux-gnu-gcc:
build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c
compiling Fortran 90 module sources
creating build/temp.linux-x86_64-3.6/qml
Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form
-fno-second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore
-fPIC -O3 -funroll-loops
Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form
-fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3
-funroll-loops
compile options: '-Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6
-I/home/graggi/.local/lib/python3.6/site-packages/numpy/core/include
-I/usr/include/python3.6m -c'
extra options: '-Jbuild/temp.linux-x86_64-3.6/qml
-Ibuild/temp.linux-x86_64-3.6/qml'
extra f90 options: '-O3 -fopenmp -m64 -march=native -fPIC
-Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f90: qml/ffchl_module.f90
qml/ffchl_module.f90:275:36:
& t_width, d_width, cut_distance, order, pd, ang_norm2, &
1
Warning: Unused dummy argument ‘cut_distance’ at (1)
[-Wunused-dummy-argument]
compiling Fortran sources
Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form
-fno-second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore
-fPIC -O3 -funroll-loops
Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form
-fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3
-funroll-loops
compile options: '-Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6
-I/home/graggi/.local/lib/python3.6/site-packages/numpy/core/include
-I/usr/include/python3.6m -c'
extra options: '-Jbuild/temp.linux-x86_64-3.6/qml
-Ibuild/temp.linux-x86_64-3.6/qml'
extra f90 options: '-O3 -fopenmp -m64 -march=native -fPIC
-Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f90: qml/ffchl_scalar_kernels.f90
extra f90 options: '-O3 -fopenmp -m64 -march=native -fPIC
-Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f90: build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.f90
extra f77 options: '-O3 -fopenmp -m64 -march=native -fPIC
-Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f77: build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.f
/usr/bin/gfortran -Wall -g -Wall -g -shared
build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_modulemodule.o
build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.o
build/temp.linux-x86_64-3.6/qml/ffchl_module.o
build/temp.linux-x86_64-3.6/qml/ffchl_scalar_kernels.o
build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.o
build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.o
-L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7
-lgfortran -o build/lib.linux-x86_64-3.6/qml/
ffchl_module.cpython-36m-x86_64-linux-gnu.so -lgomp -lblas -llapack
/usr/bin/ld: cannot find -lblas
/usr/bin/ld: cannot find -llapack
collect2: error: ld returned 1 exit status
error: Command "/usr/bin/gfortran -Wall -g -Wall -g -shared
build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_modulemodule.o
build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.o
build/temp.linux-x86_64-3.6/qml/ffchl_module.o
build/temp.linux-x86_64-3.6/qml/ffchl_scalar_kernels.o
build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.o
build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.o
-L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7
-lgfortran -o build/lib.linux-x86_64-3.6/qml/
ffchl_module.cpython-36m-x86_64-linux-gnu.so -lgomp -lblas -llapack"
failed with exit status 1
------------------------------
Failed building wheel for qml
Running setup.py clean for qml
Failed to build qml
Installing collected packages: qml
Running setup.py install for qml ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools,
tokenize;*file*='/tmp/pip-build-b9e7yqyc/qml/setup.py';f=getattr(tokenize,
'open', open)(*file*);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, *file*, 'exec'))" install --record
/tmp/pip-0kdli_b1-record/install-record.txt
--single-version-externally-managed --compile --user --prefix=:
MKL-discover: MKLROOT was not set
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 extension "ffchl_module" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.f90' to
sources.
building extension "farad_kernels" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/farad_kernels-f2pywrappers.f' to
sources.
adding 'build/src.linux-x86_64-3.6/farad_kernels-f2pywrappers2.f90' to
sources.
building extension "fcho_solve" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/fcho_solve-f2pywrappers.f' to sources.
building extension "fdistance" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/fdistance-f2pywrappers.f' to sources.
building extension "fkernels" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/fkernels-f2pywrappers.f' to sources.
building extension "fslatm" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/fslatm-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/fslatm-f2pywrappers2.f90' to sources.
building extension "frepresentations" sources
f2py options: ['--quiet']
adding
'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to
sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to
include_dirs.
adding 'build/src.linux-x86_64-3.6/frepresentations-f2pywrappers.f' to
sources.
adding 'build/src.linux-x86_64-3.6/frepresentations-f2pywrappers2.f90' to
sources.
build_src: building npy-pkg config files
running build_py
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/qml
copying qml/compound.py -> build/lib.linux-x86_64-3.6/qml
copying qml/representations.py -> build/lib.linux-x86_64-3.6/qml
copying qml/data.py -> build/lib.linux-x86_64-3.6/qml
copying qml/alchemy.py -> build/lib.linux-x86_64-3.6/qml
copying qml/*init*.py -> build/lib.linux-x86_64-3.6/qml
copying qml/fchl.py -> build/lib.linux-x86_64-3.6/qml
copying qml/kernels.py -> build/lib.linux-x86_64-3.6/qml
copying qml/slatm.py -> build/lib.linux-x86_64-3.6/qml
copying qml/distance.py -> build/lib.linux-x86_64-3.6/qml
copying qml/math.py -> build/lib.linux-x86_64-3.6/qml
copying qml/wrappers.py -> build/lib.linux-x86_64-3.6/qml
copying qml/arad.py -> build/lib.linux-x86_64-3.6/qml
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg',
'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95',
'pathf95', 'nagfor']'
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg',
'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95',
'pathf95', 'nagfor']'
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'ffchl_module' extension
compiling C sources
C compiler: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC
creating build/temp.linux-x86_64-3.6/build
creating build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build
creating build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6
compile options: '-Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6 -I/home/graggi/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c'
extra options: '-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
x86_64-linux-gnu-gcc: build/src.linux-x86_64-3.6/ffchl_modulemodule.c
x86_64-linux-gnu-gcc: build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c
compiling Fortran 90 module sources
creating build/temp.linux-x86_64-3.6/qml
Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
compile options: '-Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6 -I/home/graggi/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c'
extra options: '-Jbuild/temp.linux-x86_64-3.6/qml -Ibuild/temp.linux-x86_64-3.6/qml'
extra f90 options: '-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f90: qml/ffchl_module.f90
qml/ffchl_module.f90:275:36:
& t_width, d_width, cut_distance, order, pd, ang_norm2, &
1
Warning: Unused dummy argument ‘cut_distance’ at (1) [-Wunused-dummy-argument]
compiling Fortran sources
Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
compile options: '-Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6 -I/home/graggi/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c'
extra options: '-Jbuild/temp.linux-x86_64-3.6/qml -Ibuild/temp.linux-x86_64-3.6/qml'
extra f90 options: '-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f90: qml/ffchl_scalar_kernels.f90
extra f90 options: '-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f90: build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.f90
extra f77 options: '-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f77: build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.f
/usr/bin/gfortran -Wall -g -Wall -g -shared build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_modulemodule.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.o build/temp.linux-x86_64-3.6/qml/ffchl_module.o build/temp.linux-x86_64-3.6/qml/ffchl_scalar_kernels.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -lgfortran -o build/lib.linux-x86_64-3.6/qml/ffchl_module.cpython-36m-x86_64-linux-gnu.so -lgomp -lblas -llapack
/usr/bin/ld: cannot find -lblas
/usr/bin/ld: cannot find -llapack
collect2: error: ld returned 1 exit status
error: Command "/usr/bin/gfortran -Wall -g -Wall -g -shared build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_modulemodule.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.o build/temp.linux-x86_64-3.6/qml/ffchl_module.o build/temp.linux-x86_64-3.6/qml/ffchl_scalar_kernels.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -lgfortran -o build/lib.linux-x86_64-3.6/qml/ffchl_module.cpython-36m-x86_64-linux-gnu.so -lgomp -lblas -llapack" failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;*file*='/tmp/pip-build-b9e7yqyc/qml/setup.py';f=getattr(tokenize,
'open', open)(*file*);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, *file*, 'exec'))" install --record
/tmp/pip-0kdli_b1-record/install-record.txt
--single-version-externally-managed --compile --user --prefix=" failed with
error code 1 in /tmp/pip-build-b9e7yqyc/qml/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#128>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVWNHZEXVST4BULOQJT7YTRVYKQ5ANCNFSM4NZJVG7Q>
.
|
Hi, you need to install the prerequisit packages on your system: http://www.qmlcode.org/installation.html
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everyone, I have never had problems installing with pip3 before. I have Ubuntu 18.04.4 LTS. Thanks
Collecting qml
Downloading https://files.pythonhosted.org/packages/7b/f3/c08d18659054cdf5e5dc531ee32ab20e6aa1d3772545837557828a03b1f5/qml-0.4.0.27.tar.gz (41kB)
100% |████████████████████████████████| 51kB 1.2MB/s
Building wheels for collected packages: qml
Running setup.py bdist_wheel for qml ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-b9e7yqyc/qml/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpm3f7m3g3pip-wheel- --python-tag cp36:
MKL-discover: MKLROOT was not set
running bdist_wheel
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 extension "ffchl_module" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.f90' to sources.
building extension "farad_kernels" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/farad_kernels-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/farad_kernels-f2pywrappers2.f90' to sources.
building extension "fcho_solve" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/fcho_solve-f2pywrappers.f' to sources.
building extension "fdistance" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/fdistance-f2pywrappers.f' to sources.
building extension "fkernels" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/fkernels-f2pywrappers.f' to sources.
building extension "fslatm" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/fslatm-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/fslatm-f2pywrappers2.f90' to sources.
building extension "frepresentations" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/frepresentations-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/frepresentations-f2pywrappers2.f90' to sources.
build_src: building npy-pkg config files
running build_py
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/qml
copying qml/compound.py -> build/lib.linux-x86_64-3.6/qml
copying qml/representations.py -> build/lib.linux-x86_64-3.6/qml
copying qml/data.py -> build/lib.linux-x86_64-3.6/qml
copying qml/alchemy.py -> build/lib.linux-x86_64-3.6/qml
copying qml/init.py -> build/lib.linux-x86_64-3.6/qml
copying qml/fchl.py -> build/lib.linux-x86_64-3.6/qml
copying qml/kernels.py -> build/lib.linux-x86_64-3.6/qml
copying qml/slatm.py -> build/lib.linux-x86_64-3.6/qml
copying qml/distance.py -> build/lib.linux-x86_64-3.6/qml
copying qml/math.py -> build/lib.linux-x86_64-3.6/qml
copying qml/wrappers.py -> build/lib.linux-x86_64-3.6/qml
copying qml/arad.py -> build/lib.linux-x86_64-3.6/qml
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'ffchl_module' extension
compiling C sources
C compiler: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
creating build/temp.linux-x86_64-3.6/build
creating build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build
creating build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6
compile options: '-Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6 -I/home/graggi/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c'
extra options: '-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
x86_64-linux-gnu-gcc: build/src.linux-x86_64-3.6/ffchl_modulemodule.c
x86_64-linux-gnu-gcc: build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c
compiling Fortran 90 module sources
creating build/temp.linux-x86_64-3.6/qml
Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
compile options: '-Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6 -I/home/graggi/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c'
extra options: '-Jbuild/temp.linux-x86_64-3.6/qml -Ibuild/temp.linux-x86_64-3.6/qml'
extra f90 options: '-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f90: qml/ffchl_module.f90
qml/ffchl_module.f90:275:36:
Warning: Unused dummy argument ‘cut_distance’ at (1) [-Wunused-dummy-argument]
compiling Fortran sources
Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
compile options: '-Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6 -I/home/graggi/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c'
extra options: '-Jbuild/temp.linux-x86_64-3.6/qml -Ibuild/temp.linux-x86_64-3.6/qml'
extra f90 options: '-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f90: qml/ffchl_scalar_kernels.f90
extra f90 options: '-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f90: build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.f90
extra f77 options: '-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
gfortran:f77: build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.f
/usr/bin/gfortran -Wall -g -Wall -g -shared build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_modulemodule.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.o build/temp.linux-x86_64-3.6/qml/ffchl_module.o build/temp.linux-x86_64-3.6/qml/ffchl_scalar_kernels.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -lgfortran -o build/lib.linux-x86_64-3.6/qml/ffchl_module.cpython-36m-x86_64-linux-gnu.so -lgomp -lblas -llapack
/usr/bin/ld: cannot find -lblas
/usr/bin/ld: cannot find -llapack
collect2: error: ld returned 1 exit status
error: Command "/usr/bin/gfortran -Wall -g -Wall -g -shared build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_modulemodule.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.o build/temp.linux-x86_64-3.6/qml/ffchl_module.o build/temp.linux-x86_64-3.6/qml/ffchl_scalar_kernels.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -lgfortran -o build/lib.linux-x86_64-3.6/qml/ffchl_module.cpython-36m-x86_64-linux-gnu.so -lgomp -lblas -llapack" failed with exit status 1
Failed building wheel for qml
Running setup.py clean for qml
Failed to build qml
Installing collected packages: qml
Running setup.py install for qml ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-b9e7yqyc/qml/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-0kdli_b1-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
MKL-discover: MKLROOT was not set
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 extension "ffchl_module" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/ffchl_module-f2pywrappers2.f90' to sources.
building extension "farad_kernels" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/farad_kernels-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/farad_kernels-f2pywrappers2.f90' to sources.
building extension "fcho_solve" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/fcho_solve-f2pywrappers.f' to sources.
building extension "fdistance" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/fdistance-f2pywrappers.f' to sources.
building extension "fkernels" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/fkernels-f2pywrappers.f' to sources.
building extension "fslatm" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/fslatm-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/fslatm-f2pywrappers2.f90' to sources.
building extension "frepresentations" sources
f2py options: ['--quiet']
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/frepresentations-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-3.6/frepresentations-f2pywrappers2.f90' to sources.
build_src: building npy-pkg config files
running build_py
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/qml
copying qml/compound.py -> build/lib.linux-x86_64-3.6/qml
copying qml/representations.py -> build/lib.linux-x86_64-3.6/qml
copying qml/data.py -> build/lib.linux-x86_64-3.6/qml
copying qml/alchemy.py -> build/lib.linux-x86_64-3.6/qml
copying qml/init.py -> build/lib.linux-x86_64-3.6/qml
copying qml/fchl.py -> build/lib.linux-x86_64-3.6/qml
copying qml/kernels.py -> build/lib.linux-x86_64-3.6/qml
copying qml/slatm.py -> build/lib.linux-x86_64-3.6/qml
copying qml/distance.py -> build/lib.linux-x86_64-3.6/qml
copying qml/math.py -> build/lib.linux-x86_64-3.6/qml
copying qml/wrappers.py -> build/lib.linux-x86_64-3.6/qml
copying qml/arad.py -> build/lib.linux-x86_64-3.6/qml
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'ffchl_module' extension
compiling C sources
C compiler: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-b9e7yqyc/qml/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-0kdli_b1-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-b9e7yqyc/qml/
The text was updated successfully, but these errors were encountered: