-
Notifications
You must be signed in to change notification settings - Fork 676
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
Visual Studio considering python 3.10 as 0.0 and giving warning of support being dropped for 0.0 when it shouldn't (2022 preview) #6795
Comments
We need to investigate if 3.10 is broken in debugging. 3.10 is not officially supported by PTVS at this time. We should add 3.10 to our CTI test matrix. |
PTVS page (https://docs.microsoft.com/en-us/visualstudio/python/overview-of-python-tools-for-visual-studio) gives completely different impression: |
This bug prevents PTVS from recognising embedded Python 3.10 interpreters (e.g. within Blender 3.1). You can't debug Python code in these processes at all, even if you manually select it as the code type. Please fix this soon! |
Will do, this is my next bug to fix :) |
How do we fix this in the meantime? |
There is no fix in the meantime. Supporting a new version of python is not trivial, as our classes that wrap python c structs need to be updated to match. In any case, this has been fixed and will be in the next preview version of VS. |
Maybe we need to get support for Python 0.0 the anarchy version of Python. |
MS should have released VS2022 with 3.9 not 3.10 |
@oiChef I'm not sure what you mean. VS2022 DID release with 3.9 support, and WITHOUT support for 3.10. That's precisely what this bug is reporting, and that's what was fixed. |
I'm not sure what you mean when you say "preconfigured with 3.10". There is no version of Visual Studio that has Python 3.10 bundled in it. When you select "Python development" from the Visual Studio installer, you can optionally choose to install the Python interpreter, which we bundle into VS as a convenience (bundle being a very loose term here, we grab binaries from python.org shortcuts, nothing is really bundled). The checkout is unchecked by default, because we would rather you install it from python.org. See below: You'll know if Visual Studio installed your version of python, because it will be under a shared VS directory, not in the normal python.org install location. It sounds like maybe your machine had python 3.10 installed on it before the VS install? |
You are correct. The system has an earlier installation of 3.10 in WindowsApps folder. |
Has it been fixed? I have the very latest version of VS2022 and I get the same error I have always had when trying to use Python 3.10 |
I am writing code using 3.10. to me this is just an annoying message. We can write code all day long. |
Perhaps you should read the issues above. It certainly has multiple impacts on people, despite your own personal indifference. |
I retracted mine. Newbie of python inside recent-VS. |
@baylf2000 Yes, the issue has been fixed in an internal preview version, but that fix might not have made it out to the public yet. |
Hi, |
@MichelBeaudet You should be able to download the latest preview version of VS2022 and it will contain the fix. Alternatively, you can wait for 17.2 GA (on 5/10) and that will also contain the fix. |
Hi, I already have VS2022 version 17.1.5 and still have the error! So I understand that there's another version between 17.1.5 and 17.2. |
Just enable preview updates in the installer |
This issue has been moved from a ticket on Developer Community.
[severity:It bothers me. A fix would be nice]
! [image.png] (https://aka.ms/dc/image?name=B0a0125ba564a4f419e9faa345546259d637720302395575702_20211109-102039-image.png&tid=0a0125ba564a4f419e9faa345546259d637720302395575702)
There is not much to explain, the above is probably enough to explain the issue.
Original Comments
Feedback Bot on 11/8/2021, 11:04 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: