-
Notifications
You must be signed in to change notification settings - Fork 19
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
Failed :checkPython on Windows #14
Comments
And here is the output of
|
Hello! I've never tried this myself (I always install python with an installer or with chocolately; windows store is such a strange thing). But, I will try to install python from the store and see how the plugin runs. Most likely, I will reproduce your case. Almost sure this case must be explicitly supported by the plugin's python path computation logic (it obviously trying to use prefix instead of the real executable). |
Hi @xvik, thanks for the quick response! This is a relatively fresh Windows install, I don't remember how I installed Python but I think you are right, this must have been done via the Windows Store. Thanks for looking into it! The main reason I want to use your plugin is exactly so I don't have to deal in my build file with Python being installed in weird locations across multiple platforms :) Let me know if there is anything I can do to help! |
I generally fixed Windows Store's python support. It required switching virtualenv to 20 instead of (old, but stable) 16, installed by default. I will also have to add more checks to prevent accidental virtualenv 16 usages. Plus, virtualenv 20 allows specifying the exact pip version to use so I would freeze used pip too (by default, virtualenv always loads the latest pip, which breaks old pythons now (as the pip 21 drops python 2 support)). Overall, this would take, maybe a week or more, so don't expect release too soon. But you can try to use a snapshot if you want. |
Thanks a lot! I'll try a snapshot if I get some time to work on EduMIPS64 before you publish a release. |
Released 2.3.0 |
It works now, thanks! |
Thanks again for your work here, I am using your plugin in my project now: EduMIPS64/edumips64#550 |
Nice! Thank you for the info! |
Done! Thanks! |
Wow! More than I expect! Thank you very much! |
Thank you for your excellent work! 👍🏼 |
Hello,
I am trying to configure
gradle-use-python-plugin
for EduMIPS64, but I have issues getting it to work on Windows. I can reproduce the issue with a minimal gradle file (test.gradle.kts
):I get the following error:
Here is the result of the Python command ran by
checkPython
:And here is the execution of
checkPython --stacktrace
. I hope you'll be able to help me. Happy to help troubleshoot things on my machine if needed. Thank you!The text was updated successfully, but these errors were encountered: