You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
......
Collecting swiglpk
Using cached swiglpk-4.65.1.tar.gz (30 kB)
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Ilknur\anaconda3\envs\masspy\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Ilknur\AppData\Local\Temp\pip-install-jkgdvhfk\swiglpk_2f4580227db041b9b88e4cd94c33661c\setup.py'"'"'; file='"'"'C:\Users\Ilknur\AppData\Local\Temp\pip-install-jkgdvhfk\swiglpk_2f4580227db041b9b88e4cd94c33661c\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Ilknur\AppData\Local\Temp\pip-pip-egg-info-zer12uhm'
cwd: C:\Users\Ilknur\AppData\Local\Temp\pip-install-jkgdvhfk\swiglpk_2f4580227db041b9b88e4cd94c33661c
Complete output (16 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Ilknur\AppData\Local\Temp\pip-install-jkgdvhfk\swiglpk_2f4580227db041b9b88e4cd94c33661c\setup.py", line 53, in
copy_glpk_header()
File "C:\Users\Ilknur\AppData\Local\Temp\pip-install-jkgdvhfk\swiglpk_2f4580227db041b9b88e4cd94c33661c\setup.py", line 31, in copy_glpk_header
glpsol_path = os.path.dirname(subprocess.check_output(['which', 'glpsol']))
File "C:\Users\Ilknur\anaconda3\envs\masspy\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Users\Ilknur\anaconda3\envs\masspy\lib\subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\Ilknur\anaconda3\envs\masspy\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Ilknur\anaconda3\envs\masspy\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
Trying to determine glpk.h location
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
I was able to install the package from the tar.gz by manually installing glpk, swig and downgrading some dependencies. However, when I run the example code from the textbook, my simulation plots don't look like those on the example results from the website. (also I am on windows)
......
Collecting swiglpk
Using cached swiglpk-4.65.1.tar.gz (30 kB)
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Ilknur\anaconda3\envs\masspy\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Ilknur\AppData\Local\Temp\pip-install-jkgdvhfk\swiglpk_2f4580227db041b9b88e4cd94c33661c\setup.py'"'"'; file='"'"'C:\Users\Ilknur\AppData\Local\Temp\pip-install-jkgdvhfk\swiglpk_2f4580227db041b9b88e4cd94c33661c\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Ilknur\AppData\Local\Temp\pip-pip-egg-info-zer12uhm'
cwd: C:\Users\Ilknur\AppData\Local\Temp\pip-install-jkgdvhfk\swiglpk_2f4580227db041b9b88e4cd94c33661c
Complete output (16 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Ilknur\AppData\Local\Temp\pip-install-jkgdvhfk\swiglpk_2f4580227db041b9b88e4cd94c33661c\setup.py", line 53, in
copy_glpk_header()
File "C:\Users\Ilknur\AppData\Local\Temp\pip-install-jkgdvhfk\swiglpk_2f4580227db041b9b88e4cd94c33661c\setup.py", line 31, in copy_glpk_header
glpsol_path = os.path.dirname(subprocess.check_output(['which', 'glpsol']))
File "C:\Users\Ilknur\anaconda3\envs\masspy\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Users\Ilknur\anaconda3\envs\masspy\lib\subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\Ilknur\anaconda3\envs\masspy\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Ilknur\anaconda3\envs\masspy\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
Trying to determine glpk.h location
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The text was updated successfully, but these errors were encountered: