-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Windows support #62
Comments
I'm no longer using Windows. I don't like to waste my time with such thing. |
Windows isn't my favorite development platform either, but it's nice to be compatible for their benefit. There are development tools that aren't Unix compatible, and it's annoying to have to go back and forth between them. You end up with a build system that needs multiple operating systems just to build the application. |
As someone who is just in need of running Python but am clueless as how things are done in it, this StackOverflow answer makes it seem like it's now simple to have support for multiple pythons in Windows. I don't know if it's true but maybe this helps someone in my situation. |
How granular does the Python Launcher support version numbers? Would Can the Python Launcher parse the version in |
@mcandre fuck if I know. Python seems as easy to deploy on Windows as |
Seems short-sighted to me, if you care about pyenv spreading. A lot of us work in places where we have to spend some of our time in Windows, and I'm more likely to prefer a tool I can use across environments than one that only runs in some of them. I'm not a fan of Windows either, but the availability of things like virtualenvwrapper across environments has made it much easier for me to justify using them. |
I also do not use Windows but users of my open-source projects do, so it would be great to have support for pyenv on Windows. I would use it together to AppVeyor to test my software on Windows without having Windows |
As others have commented: Windows development may not be awesome, but a lot of us do use Windows for work because we have to (and some people just love it). I understand that you don't want to spend the time on it yourself, of course. Assuming someone could write Windows-friendly scripting, though, would you potentially accept PRs for it? |
you can try pywin[https://github.com/davidmarble/pywin] |
Also anyenv might be an option: https://github.com/mislav/anyenv, assuming that Go on Windows works well. |
I'm interested in getting this working on Windows in my spare time. A couple of things I wouldn't mind feedback on though:
|
@edbordin |
@blueyed Yeah, I wasn't too sure about that project because (a) it seems inactive, and (b) it doesn't seem to implement the |
@yyuu i have a mac and windows machine and I would like to know how to run this on Windows since I use both for testing so that sorta comment s gonna get a lot of dislikes even on GitHub |
Came here to see if this ticket has possibly changed or had an update to it. Of course, I'm disappointed to not see it, but the tone in this thread is totally wrong. The griping and down-thumbing you're doing here has been enough to drive other maintainers away from other projects. This vast majority of this project has been done by 5 people. And they've likely done so to solve their own particular problem, and now we all are benefiting from them doing the extra work of sharing it--this is not a light task. I doubt any of them get paid to do this, and even if they are, they're not getting paid by you all. Just being a user doesn't entitle you to features much less one as huge as this. So thanks maintainers! We really appreciate all that you do on this project for the community. |
@raiderrobert Most of the down-thumbing was on the original response to the feature request which quite frankly had an arrogant and dismissive tone. Of course the maintainers owe nothing to anybody, but if you address people in that manner you cannot reasonably expect zero backlash. Being generous doesn't give you unlimited license to be a jerk to everybody. To me, the majority of the responses here have just been constructive feedback on why people would find this feature useful. Whether it is feasible given how much time the devs have is a totally different story - perhaps making that point would have a been a better way to close the issue. Having said all that, I'd also like to thank the maintainers for a really useful tool. |
If you're still trying to find out how to get pyenv running on Windows, you might want to read up a little about the Windows Subsystem for Linux |
Nope. |
Unfortunately it looks like automatic switching of virtual environments offered by pyenv-virtualenv plugin is simply not possible with windows cmd :( https://superuser.com/questions/933527/windows-run-script-on-cd |
work fine in WSL on Windows 10. So, I kinda agree, nothing to do here. |
It didn't work on wsl for me @cicorias. How did you install it? |
I’ve been using Wlinux from the App Store. What distribution are you using and what errors? There probably missing packages that wlinux adds. |
On the inspiration of this thread I have ported pyenv for windows which contains basic features of pyenv. Link: pyenv-win I want to thanks following people in the thread. Who made me, to took a decision on porting for windows. |
@yyuu why would you close the issue? Even if you don't use Windows, a lot of the users of Please consider your users a bit more in the future. And thank you @kirankotari for your port! |
True, but I don't own, use, or have access to Windows PCs, and I think this is likely true of the other maintainers.
Absolutely, which is why we have
The earlier comments by @raiderrobert and @edbordin are spot on. I agree that the original reply to this issue was rude, but we aren't obligated to support windows just because people ask. I know that's disappointing for all of you windows users, but we just can't support it at this time. I'll add a section to the top comment with a link to |
Once pyenv-win is considered to be working well for many people it may be worth a mention in the readme even? But I do wonder how much there really is to share between the two what with them both trying to use native scripting languages which makes them inherently separate code even if they were to do similar things. I suppose maybe a lot of cli-level testing could be shared and would encourage them to retain similar interfaces? |
Sure, I just added a note 👍 The idea for a shared "interface compatibility test suite" is great, I'm always in favor of more testing, I just don't have the time for that currently. |
@flying-sausages the main reason I couldn't use WSL for python was the lack of CUDA support, so having a native Windows option is great! On my current project I've giving Anaconda a try since they allow you to specify the interpreter version on all platforms and they also make things like numpy+mkl easier on Windows. The conda |
thanks guys for the support. @altendky thanks for bringing the point. My initial intention is to fork the pyevn itself to support windows, I love the pyenvs' the way today they are, but the differences I have encountered were massive changes which I am listing below. Help me to support as more features from
Lot more feature yet to come. I have listed the new feature at pyenv-win/projects feel free to support or add more feature expectations in pyenv-win we will try our best to support them. |
Thanks @kirankotari and others who contributed to the pyenv-win project. I just change developing work from Mac to Windows so I really need tools like this. I use it with virtualenv and this combination can handle many basic use of developing work. Thanks again! |
@edbordin CUDA support is coming up in WSL2 as per the latest announcement |
Could we port pyenv to Windows?
I imagine
.bat
scripts could mimic the behavior of the.sh
scripts.A note from the pyenv maintainers:
pyenv
does not currently support Windows outside of the Windows Subsystem for Linux (WSL). We have no current plans to support Windows in the future.@kirankotari has helpfully provided a port of
pyenv
for windows calledpyenv-win
, which hopefully will meet the needs of windows users.The text was updated successfully, but these errors were encountered: