-
Notifications
You must be signed in to change notification settings - Fork 79
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
Installation error (Windows, Python 3.5) #126
Comments
There were no Windows builds for Python 3.5 because Appveyor didn't support it when I released 0.4.2. I'll try to add that now. You should probably give us the error message for good measure, in case it's an unknown issue. If the problem has something to do with |
Okay, I'm ready to release 0.4.3 with Python 3.5 builds (since it doesn't make sense going through the effort of re-building/releasing an old version) when we can confirm that your issue isn't a code bug that I should fix first. |
Original error output:
Additional item of note produced when rerunning the command with the -vv (double verbose) flag:
Thanks for looking into this so quickly. :) |
May be related to http://bugs.python.org/issue21821... |
@valhallasw, any ideas? |
I havent looked at Python 3.5 for Windows yet, but https://github.com/ogrisel/python-appveyor-demo is updated to support Python 3.5, and this project may need to copy some of those commits (or dynamically load the files from that project like the pywikibot |
I added 3.5 to Appveyor just now in 21fa211... although now I wonder if ogrisel/python-appveyor-demo@09a1c86 is necessary. Lego just pointed me to http://stevedower.id.au/blog/building-for-python-3-5-part-two/. This looks a lot more frustrating than I thought it would be. |
If you've built a wheel for Windows/Py3.5, email it to me (Gmail address with the same username as here) and I can attempt to install it directly and report back whether it works, or what errors it produces. |
Oh, I forgot to say that I need the 64-bit wheel since I have 64-bit Python. |
@earwig: as far as I understand, that blog is mostly for when you want to build a wheel that will work for other visual studio (> 2015) versions, but that's not too relevant for now. The error @jcgoble3 has suggests there is no compiler installed (which is consistent with their original report). It's using the .tar.gz, not the .wheel. |
https://ci.appveyor.com/project/earwig/mwparserfromhell/history doesn't have any recent builds at all? |
Sorry for the delay in responding. @valhallasw, that's because I only have it set up to build on master pushes (i.e., releases). I'm gonna change that to build on master/develop pushes but only upload to PyPI on the former. |
Appveyor is a lot, lot faster than three months ago. I like this. |
All compiling now, although I had a bunch of failed attempts and I really don't understand why they failed... |
Thanks for emailing me the wheel link. I installed from that wheel, and all is good with no errors. Nothing of interest, I think, in the output, but I'm including it here anyway:
Looks like this can be closed. Thanks for working on this. :) |
Hooray! |
Looks like Appveyor's final step of uploading the wheels to PyPI failed. Apparently |
Yep! Had to do it manually. Is recursive expansion really not allowed? |
...It doesn't seem quite right, or else I'm not sure how the other things (like |
I don't know. I gave up trying to understand cmd scripts years ago. Bash is much more intuitive. (I use both Windows and Ubuntu.) It does seem that |
That would make sense. Unfortunately, I can only guess at this point and I can't really test it without doing another full release. :P |
Okay, I found something that may or may not be of relevance: https://technet.microsoft.com/en-us/library/bb490954.aspx Near the bottom, it notes that if you use quotes in defining a variable value, those quotes are interpreted as a literal part of the value. As that command is the only one that doesn't stand completely by itself in appveyor.yml, I suspect that the quotes may be causing the issue, and that removing the quotes in the value at the top may be the answer. YAML doesn't require quotes for an obvious string value anyway. |
Hmm, how would that make a difference? YAML seems to strip the quotes when it parses the file. |
I don't know. Like I said, it might be relevant, or it might not. |
The only concrete suggestion I can make at this point is to post a question on Stack Overflow. There has to be someone there that can solve the problem. |
This is the best I can do. |
When attempting to install via pip on a freshly installed Python 3.5 on Windows 10, I get installation errors, where it fails when trying to compile the tokenizer. Obviously this is because it's working off of the source tarball, and I don't have a compiler. After looking at the package's page on PyPI, I only see Windows binaries for Pythons 2.7, 3.3, and 3.4, yet the release notes for v0.4.1 state that Python 3.5 is supported. Any chance of getting some binaries for Python 3.5 on Windows?
(I can provide the full error messages if needed, but as the cause seems obvious, I'm holding them back unless asked since they're rather lengthy.)
The text was updated successfully, but these errors were encountered: