-
-
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
Problem with input() in Spyder 5.1.5 (Anaconda) #17616
Comments
Hey @EgonHeuson, thanks for reporting. This error is fixed in our latest version (5.3.0). Since it's still not available in Anaconda, you have two options:
|
Thank you! That worked. Too bad that the version provided with Anaconda cannot be updated yet. :-)
… Le 5 avr. 2022 à 16:07, Carlos Cordoba ***@***.***> a écrit :
Hey @EgonHeuson <https://github.com/EgonHeuson>, thanks for reporting. This error is fixed in our latest version (5.3.0).
Since it's still not available in Anaconda, you have two options:
Use our Mac installer, which you can find here <https://github.com/spyder-ide/spyder/releases>.
Create a new environment with conda-forge packages. For that, please close Spyder, open the Anaconda Prompt and run the following commands there:
conda create -n spyder-cf -c conda-forge spyder
conda activate spyder-cf
spyder
After that, you can connect Spyder to your base environment by following these instructions:
http://docs.spyder-ide.org/current/faq.html#using-existing-environment <http://docs.spyder-ide.org/current/faq.html#using-existing-environment>
—
Reply to this email directly, view it on GitHub <#17616 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AH3CXU7BURAKP7XQWV5D5MTVDRCLHANCNFSM5SSXHQ2A>.
You are receiving this because you were mentioned.
|
Excellent, than you very much! |
@pjm07, you need to install spyder-kernels 2.3.0 in your base environment, but that version is still not available in Anaconda. |
In my base environment, I used Anaconda prompt to execute |
You can't mix Conda and Conda-Forge packages, so that's why you can't do that. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@ccordoba12 and/ or @dalthviz I am also having an internal error pop up when I try to use the input() to call a file name. runfile('C:/Users/alexa/.spyder-py3/temp.py', wdir='C:/Users/alexa/.spyder-py3') I uninstalled and reinstalled both anaconda and Spyder with no success. I am a new to programming and sincerely appreciate any support you can provide. Thank you. |
Hey @ackerman-alex, please download and install our Windows installer, which shouldn't have this error. You can find it here: https://github.com/spyder-ide/spyder/releases |
@ccordoba12 I redownloaded Spyder via your windows installer and the issue is still there. Spyder is also telling me it is up to date. Versions: Spyder version: 5.1.5 |
@ccordoba12 I redownloaded Spyder 5.3.1 via your windows installer and the issue is still there. Spyder is also telling me it is up to date. Issue is still only with input(). I have also tried reinstalling anaconda and that did not help. Versions: Spyder version: 5.1.5 Dependancies Mandatory:atomicwrites >=1.2.0 : 1.4.0 (OK) Optional:cython >=0.21 : 0.29.28 (OK) |
You're still using the Spyder version that comes with Anaconda. To avoid that problem you could uninstall Anaconda. |
@ccordoba12 uninstalling Anaconda seems to work. I was unaware I could use Spyder as a standalone. This is probably a stupid question, but will there be any functionality loss using Spyder as a standalone? Thank you so much for your help. I sincerely appreciate you taking the time to help me out. |
You can only use the packages that come with it, i.e. Numpy, Pandas, Matplotlib, Scipy and Sympy. If you need to use other packages, you need to follow the instructions in our docs, but replacing all commands that start with We are aware that's very cumbersome and we're working to improve it, hopefully by the end of the year.
No problem. I'm glad to know that you were able to successfully use Spyder again. |
this worked. thanks @ccordoba12
|
Since I did this, whenever I open Spyder and try to run my code that ran perfectly fine before hand, I get all kinds of module errors. I'm told that I don't have Pandas as a module, when it is in the right path, and pip installed and updates, I'm told "ImportError: Can't determine version for numexpr", I get 'json_normalize is not in Pandas' when it is, and the fix for that which I was using before it says json_normalize doesn't exist. I have no clue what happened, but would like to take a step backwards. How would I undo the install you wrote? |
not taking input |
привет @ccordoba12
я сделал как вы говорили |
нуууу.. я пока новичок я не знаю что писать дальше |
надо сделать видео по решению этого проблема. что бы было проще |
@CoveMach, you need to install all libraries you need to use in the new
|
@akash9a, every time you need to start Spyder, you need to open the Anaconda Prompt and run there
That will launch our latest version (i.e. 5.3.1) instead of the one that comes with Anaconda. |
@saidkamolsam, вы сказали
Вам больше ничего не нужно делать. С этого момента просто выполняйте следующие команды:
Надеюсь, мои сообщения хорошо переведены на русский язык (я использовал автоматический переводчик). |
ok спасибо |
😀🥳сработало!!! |
Отлично! Спасибо, что сообщили нам об этом. |
I am absolutely new to programming and to Python/Spyder, and I'm having the same issue, Spyder crashes whenever I try to run the input function. I installed the standalone Spyder but I can't get the correct version to run. Can anyone help me? |
Hi @kmkieva if you installed the standalone version you need to run it from the created shortcut (it should be called
The first command creates the new environment, the second command activates the new environment and the last command launches Spyder. |
I failed when running the first line. (base) C:\Users\T>conda create -n spyder-cf -c conda-forge spyder ProxyError: Conda cannot proceed due to an error in your proxy configuration.
|
Hi, I have tried all of the fixes in the above thread and I'm still experiencing the same issues as OP. Are there any other resources I can look into? |
Hi @anorreyv are you not able to create a conda env using the conda-forge channel? Are you sure you are launching the correct version of Spyder (from the Also, just in case, Spyder 5.2.2 is now available in the anaconda default channel so maybe you can try to update from Spyder 5.1.5 to 5.2.2 with something like:
|
I did not realize the new version was available. Thank you so much for your response, that fixed it! |
@ccordoba12 Thanks for your solution, btw do you know when will Anaconda upgrade Spyder? I wonder if you have communication channel with Anaconda. |
They updated recently to version 5.2.2, which also fixes this problem. To update to it you need to run
|
@dalthviz 's update lines of code works for me! Thanks! |
@dalthviz Thank you so much!! |
In order to have spyder upgraded from 5.1.5 to 5.3.3 I updated anaconda, removed spyder, and then installed it again.
|
@kmoreti Maybe anaconda does not support spyder 5.3.3, as it only remind to to upgrade spyder to 5.2.2 . You might test 5.3.3 on anaconda , and give feedback here. |
@chucklu, I received the reminder to upgrade to spyder 5.3.3, that's why I tried that specific version. |
Hi all, just in case, as @kmoreti mentioned I think Spyder 5.3.3 is now available from the default anaconda channel (https://anaconda.org/anaconda/spyder/files?version=5.3.3)! However, seems like the conda solver has a rough time when trying to move Spyder to version 5.3.3 (could take a good a mount of time and fail due to conflicts, probably due to the |
Description
What steps will reproduce the problem?
Only when I try to execute an "input()" command, it crashes.
"inputValue = input()"
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: