Hi, I am running into an error when trying to install a package using the python tool. The package I am trying to install is glpk. The error seems to only happen when trying to install the package on Alteryx and not on a regular ide that uses python.Below I have pasted the exact error I am geting. Would anybody have any ideas as to how to resolve these issues?
fatal error C1083: Cannot open include file: 'glpk.h': No such file or directory
ERROR: Failed building wheel for glpk Failed to build glpk ERROR: Could not build wheels for glpk which use PEP 517 and cannot be installed directly
Solved! Go to Solution.
Are you installing via Package.installPackages('glpk') ?
Are you running in admin?
Yes. I am using that exact code and running as an admin.
What about,
!pip install scikit-glpk
import glpk
This installed the sckit version of it and it did install so this works as a solution.