#Python always gives me issues

1 messages · Page 1 of 1 (latest)

glass mantle
#

Try pip install spotify-cli, it throws a GCC error which I have no clue how to fix. I'm using python:ucrt from the package manager

midnight hatch
#

how about posting what your error is, that's the best thing you can give if you want actual help

glass mantle
#

sure, but I'm sure it's a generic error that happens because pip is getting confused with all the gcc version we have

midnight hatch
#

it shouldn't

glass mantle
midnight hatch
#

I'll try in ucrt next

#

btw what's the pip package you installed?

#

what command did you use to install it?

glass mantle
#

pip install spotify-cli

midnight hatch
#

nope

#

not what I'm asking

#

was it just pacman -S mingw-w64-ucrt-x86_64-python-pip or was it something else?

#

because that would narrow it further down for me

#

because it looks like you installed the wrong PIP package

glass mantle
#

that's the one.

midnight hatch
#

it installed just fine for me

glass mantle
#

damn really?

midnight hatch
#

there must be something that's interfering with your pathing

glass mantle
#

do you switch msys environments when doing these?

midnight hatch
#

Always.

#

if I want clang I select the clang environment by launching clang64.exe etc

#

same thing for ucrt

#

It properly sets up the proper environment variables needed for that setup. I know there's the built in stuff, but for me it's the ease of mind that the environment launcher executables are there

glass mantle
#

that's weird, if pip was installed using ucrt, it should know which compilers to use

midnight hatch
#

Which it does. Because as shown on my end, it works.

glass mantle
#

Imma try a fresh install. You recommend using mingw-64's python for msys?

midnight hatch
#

I recommend the proper python package for your selected environment.

glass mantle
#

one python for each enviro?

midnight hatch
#

Yes.