-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Not able to use Python free-threaded interpreter as custom one in Preferences #23635
Comments
把python3.13t文件名修改为python3.13试试,注意备份数据 |
Hi @nikimagic thank you for the feedback! I think this validation error is caused due to the name of the executable selected. I think you did an attempt to change the name of the executable? From the screenshot seems like you have a Let us know! |
By default everything works. But it is impossible to select the file python3.13t.exe in the spider It should be import sys |
Thank you for the new info @nikimagic ! I see, so you are trying to set as custom interpreter the free-threaded version which comes in the name with the extra spyder/spyder/utils/programs.py Lines 1076 to 1082 in fc56f51
I think the regex above could be changed to be something like:
That should be enough to leave as valid the interpreter file with the extra |
Please note!!! python.exe |
Oh right, probably also some (d)ebug build there. Maybe then a regex like:
Could it be possible for you @nikimagic to check if changing the regex on your Spyder installation for the one above helps in regards of selecting the interpreters you have available? Let us know! |
@dalthviz, yeah, it should be enough to cover this new case.
@nikimagic, what the |
The output filename should be python{major}.{minor}t.exe and python{major}{minor}t.dll. Debug builds are python{major}.{minor}t_d.exe and python{major}{minor}t_d.dll. |
console1 Traceback (most recent call last):
|
Thank you for the check! So it seems like the suggested change to the regex indeed enables you to select the free-threaded interpreter 👍 Regarding the error, seems like we need to do something over |
I will be happy to help and check any new versions. |
According to this page, there are no free-threaded wheels for PyZMQ on Windows. That's the main binary dependency required by Spyder-kernels, so it can't work without it. For now there's nothing we can do about it, sorry @nikimagic. |
Thank you |
I will continue....
(venv313t) C:\Users\BoSyA\venv313t>pip install spyder-kernels The conflict is caused by: To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts (venv313t) C:\Users\BoSyA\venv313t> version of the environment without |
You cannot select python3.13t environment
Spyder 6.0.3
Windows.
The text was updated successfully, but these errors were encountered: