0
알파인 리눅스에 swiglpk
패키지의 설치는 다음 추적에 실패 GLPK on Alpine Linux를 설치하는 방법은 무엇입니까?
Collecting swiglpk>=1.2.14; extra == "all" (from cameo[all]==0.6.3->-r requirements.txt (line 1))
Downloading swiglpk-1.2.14.tar.gz
Complete output from command python setup.py egg_info:
which: no glpsol in (/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
Trying to determine glpk.h location
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-_g57y7ed/swiglpk/setup.py", line 45, in <module>
copy_glpk_header()
File "/tmp/pip-build-_g57y7ed/swiglpk/setup.py", line 28, in copy_glpk_header
glpsol_path = os.path.dirname(subprocess.check_output(['which', 'glpsol']))
File "/usr/local/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/usr/local/lib/python3.5/subprocess.py", line 708, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['which', 'glpsol']' returned non-zero exit status 1
그래서
glpsol
는 경로를 찾을 수 없습니다.
가능한 경우 glpk
/glpsol
을 알파인 리눅스에 설치할 수 있습니까?