Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Python Tool not installing a Package

gkalkat
5 - Atom

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

 

4 REPLIES 4
apathetichell
20 - Arcturus

Are you installing via Package.installPackages('glpk') ?

 

Are you running in admin?

 

gkalkat
5 - Atom

Yes. I am using that exact code and running as an admin. 

PhilipMannering
16 - Nebula
16 - Nebula

What about,

!pip install scikit-glpk
import glpk
gkalkat
5 - Atom

This installed the sckit version of it and it did install so this works as a solution. 

Labels
Top Solution Authors