-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error message for "Configuring Windows SDK "v7.0" for Python 2 on a 64 bit architecture" #15
Comments
(Hold your horses on that |
I don't know what the deal is with Appveyor logs, but they seem to print in the wrong order. Maybe it's related to IO buffering in Python (maybe worth trying an envvar Not sure if these messages are benign or not. Let us know what you find! |
I've got an update for you :-)
|
A PR for this would be great, if it's possible to do without
Yes, indeed. Did you ever find any more info about this? |
I'll have a look at such a PR. (I've also found out that the output of the compilation gets swallowed somewhere, so I might also include that?)
Not really anything more than what I had there. So this thing seems to happen for Python 2.7 and 3.4 in 64-bit (see here), but not for 32-bit or Python 3.5 and 3.6 (latest build here). I don't really know what that script is supposed to be doing, however, but I assume you had a good reason for including it? (As far as I know, I have no problems with the wheels that are built, but then I have not really tested them all on different Windows machines...) |
This SO answer has the info, but I believe the gist is- The script sets up a load of environment variables so that the compilation is done using the same compiler that compiled the Python.org distributions of Python. I think. Previously to using this script I was getting errors like these. |
Hmmm, thanks. I'll have a closer look at that tomorrow (even if only to satisfy my curiosity). Maybe it's got to do with the different VS environments: https://www.appveyor.com/docs/build-environment/ ? I use the latest VS2017 one from AppVeyor, while the documentation states that
That StackOverflow answer also has a lot of updates, so who knows, maybe these things are not needed anymore on a later version? |
This page also looks informative - https://github.com/cython/cython/wiki/CythonExtensionsOnWindows I hadn't thought about the specific appveyor image used - also might be worth comparing with builds done with https://github.com/ogrisel/python-appveyor-demo, since that's where the script came from. |
Still trying to make sense of all of this (and in particular why my builds where these errors occur seem to be working on Windows at all), but these links seem rather interesting, too, so I thought I'd save them in the discussion: |
After printing that
Configuring Windows SDK "v7.0" for Python 2 on a 64 bit architecture
, there are two red errors in my AppVeyor build:(cfr. https://ci.appveyor.com/project/YannickJadoul/parselmouth/build/1.0.13/job/4cofnsd0y05jgtb9)
Having had a quick look, it seems as if that's due to the lines
during the execution of https://raw.githubusercontent.com/ogrisel/python-appveyor-demo/09a1c8672e5015a74d8f69d07add6ee803c176ec/appveyor/run_with_env.cmd
This is not urgent, since my build still continues and finishes building everything, I think. But it might be nice to get rid of it (if possible) since the red color dóes make it seems as if there's a problem.
Besides, the
python --version
call is also highlighted in red, but I'm guessing that's because Python is printing to the stderr. I'll have a look if this is easily resolvable and submit a PR, if I manage?The text was updated successfully, but these errors were encountered: