Package Details: python-scs 2.0.2-1

Git Clone URL: https://aur.archlinux.org/python-scs.git (read-only)
Package Base: python-scs
Description: Convex cone solver via operator splitting.
Upstream URL: http://github.com/cvxgrp/scs/
Licenses: MIT
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 2
Popularity: 0.001651
First Submitted: 2017-01-20 18:10
Last Updated: 2018-11-23 15:16

Latest Comments

kaur commented on 2018-11-23 00:33

Building fails in a clean chroot as it looks outside the srcdir. Change line 25 to install -D -m644 ../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"

JohnRobson commented on 2018-06-05 23:58

To be able to install this package you must to install this 'blas' package: "openblas-lapack". (Don't install: blas, openblas lapack cblas lapacke, atlas-lapack).

Check your installation:

from numpy.distutils.system_info import get_info

get_info('blas_opt')

{'libraries': ['openblas', 'openblas'], 'library_dirs': ['/usr/lib64'], 'language': 'c', 'define_macros': [('HAVE_CBLAS', None)]}

thrasibule commented on 2018-06-05 21:54

Well looks like your numpy install is broken. This errors out in get_info from numpy.distutils.system_info. This is what I get:

In [1]: from numpy.distutils.system_info import get_info

In [2]: get_info('blas_opt') Out[2]: {'libraries': ['openblas', 'openblas'], 'library_dirs': ['/usr/lib64'], 'language': 'c', 'define_macros': [('HAVE_CBLAS', None)]}

thrasibule commented on 2017-09-05 22:58

Which version of blas are you using? I'm using openblas and it installs fine.

omtcyfz commented on 2017-09-05 22:03

Build fails for some reason; error message:

:: Building python-scs package(s)...
==> Making package: python-scs 1.2.7-1 (Wed Sep 6 01:00:17 MSK 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Namespace(blas64=False, extraverbose=False, float32=False, gpu=False, int32=False, root_dir='./', scs=False)
Traceback (most recent call last):
File "setup.py", line 239, in <module>
run_install()
File "setup.py", line 57, in run_install
blas_info = get_info('blas_opt')
File "/usr/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 380, in get_info
return cl().get_info(notfound_action)
File "/usr/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 572, in get_info
self.calc_info()
File "/usr/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 1589, in calc_info
atlas_info = get_info('atlas_3_10_blas_threads')
File "/usr/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 380, in get_info
return cl().get_info(notfound_action)
File "/usr/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 572, in get_info
self.calc_info()
File "/usr/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 1220, in calc_info
atlas_version, atlas_extra_info = get_atlas_version(**atlas)
File "/usr/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 1400, in get_atlas_version
c = cmd_config(Distribution())
File "/usr/lib/python3.6/distutils/cmd.py", line 57, in __init__
raise TypeError("dist must be a Distribution instance")
TypeError: dist must be a Distribution instance
==> ERROR: A failure occurred in build().
Aborting...