首页 > 其他分享 >Problem with input() in Spyder 5.1.5 (Anaconda)

Problem with input() in Spyder 5.1.5 (Anaconda)

时间:2022-09-03 10:56:50浏览次数:90  
标签:clu conda Anaconda input Problem packages spyder

Problem with input() in Spyder 5.1.5 (Anaconda)

错误提示

Traceback (most recent call last):
  File "C:\Users\clu\Anaconda3\lib\site-packages\qtconsole\base_frontend_mixin.py", line 138, in _dispatch
    handler(msg)
  File "C:\Users\clu\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole\widgets\debugging.py", line 278, in _handle_input_request
    return super(DebuggingWidget, self)._handle_input_request(msg)
  File "C:\Users\clu\Anaconda3\lib\site-packages\qtconsole\frontend_widget.py", line 512, in _handle_input_request
    self._readline(msg['content']['prompt'], callback=callback, password=msg['content']['password'])
  File "C:\Users\clu\Anaconda3\lib\site-packages\qtconsole\console_widget.py", line 2422, in _readline
    self._show_prompt(prompt, newline=False, separator=False)
TypeError: _show_prompt() got an unexpected keyword argument 'separator'

 

解决方案:

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:

  1. Use our Mac installer, which you can find here.

  2. 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

 

执行完第一个命令之后的提示

done
#
# To activate this environment, use
#
#     $ conda activate spyder-cf
#
# To deactivate an active environment, use
#
#     $ conda deactivate

 

标签:clu,conda,Anaconda,input,Problem,packages,spyder
From: https://www.cnblogs.com/chucklu/p/16652138.html

相关文章

  • Anaconda (Python distribution)
    Anaconda(Pythondistribution)AnacondaisadistributionofthePythonandRprogramminglanguagesforscientificcomputing(datascience,machinelearningap......
  • MathProblem 80 128 pennies and a blindfold problem
    Youareblindfoldedbeforeatable.Onthetableareaverylargenumberofpennies.Youaretold128ofthepenniesareheadsupandtherestaretailsup.Ho......
  • MathProblem 79 Three humans, three monkeys, and a boat problem
    Oneonesideofariverarethreehumans,onebigmonkey,twosmallmonkeys,andoneboat.Eachofthehumansandthebigmonkeyarestrongenoughtorowtheb......
  • Problem P04. [算法课分治] 找到 k 个最小数
    先sort排序,在输出最小的k个数。#include<iostream>#include<bits/stdc++.h>#include<cstdio>usingnamespacestd;intn,k;intarr[10005];intmain(){......
  • Problem P05. [算法课分治] 寻找第 k 个最大元素
    先sort进行排序,然后输出第k大的元素即可#include<iostream>#include<bits/stdc++.h>#include<cstdio>usingnamespacestd;intn,k;intarr[10005];intmain......
  • CF1513 E Cost Equilibrium / F Swapping Problem
    E先做差,发现排列如果出现正负正负或负正负正就会挂,调整一下匹配即可使min变大同时如果正和负都>1,则不存在中间一段左右两段其他的,这样也会挂然后随便组合一下F手玩发......
  • Problem P01. [算法课分治] 最大二叉树
    需要注意的:scanf()的返回值是EOF,输入结束通过指针指向左右子树的二叉树构建#include<iostream>#include<bits/stdc++.h>#include<cstdio>usingnamespacestd;......
  • 安装 anaconda
    目录下载安装换源创建自己的环境在环境里安装自己需要的包启动jupyter下载到官方网站找到需要的安装包https://www.anaconda.com/products/distribution在Ubuntu用......
  • CF464E The Classic Problem
    传送门思路\(2^{100000}\)?别想了,普通高精度肯定不行但我们发现,求最短路的过程中,其实是用到了比较大小和加法操作细想比较大小的过程,当长度相同的数,我们会先略过前面......
  • MathProblem 76 Two bags and marble problem
    Youchooseoneoftwoidenticallookingbagsatrandom.Onebaghasthreeblackmarblesandonewhitemarble.Theotherhasthreewhitemarblesandoneblackm......