I'm trying to install astra-toolbox for python on windows and I'm getting this error.
Anyone have any ideas?
I'm trying to install astra-toolbox for python on windows and I'm getting this error.
Anyone have any ideas?
i have tried to install via pip method but it's not working facing the same error as you. if you go to official installation documentation instructions no method to use pip method is given.
i have anaconda installed in my system so i have tried using these commands source:
conda install -c astra-toolbox astra-toolbox
conda install -c astra-toolbox/label/dev astra-toolbox
this solve the issue and astra-toolbox is installed in my system.
PS. this will downgrade package in anaconda. so better to install in separate python environment.
tl;dr: this pypi apckage is only intened for linux installation, choose an official windows install instruction as mentioned by the other answer
The question is a bit old, but I thought I give some insight into the error. The pypi project astra-toolbox only contains .tar.gz source distributions.
When you called pip install, it downlaoded the tar.gz and then executes the setup.py script to perform installation. That, however, contains linux specific build isntructions, namely, a autogen/configure/make toolchain, which cannot work.
Specifically, it fails at the first step:
subprocess.call(['./autogen.sh'])
Generating the error message you are seeing because autogen.sh is not a win32 application