【发布时间】:2021-04-27 20:23:03
【问题描述】:
我正在尝试在 PyCharm 中运行一个简单的代码 - 每次运行代码都需要 30 秒才能连接到控制台,这相当令人沮丧......有人可以推荐我如何加快速度吗?
我在代码的每个开头都收到此文本:
C:\Users\Selected\anaconda3\python.exe "C:\Program Files\JetBrains\PyCharm 2020.3.2\plugins\python\helpers\pydev\pydevconsole.py" --mode=client --port=56186
C:\Users\Selected\anaconda3\lib\site-packages\IPython\core\history.py:226: UserWarning: IPython History requires SQLite, your history will not be saved
warn("IPython History requires SQLite, your history will not be saved")
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend(['C:\\Users\\Selected\\PycharmProjects\\pythonProject', 'C:/Users/Selected/PycharmProjects/pythonProject'])
Python 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help.
PyDev console: using IPython 7.19.0
PyCharm 一开始就要求安装 python 解释器 - 它是否出于某种原因安装了 amd 版本?
【问题讨论】: