"help" () 函数找不到文档



Python新手,非常想利用help((功能进行模块描述等。

我最初用python 3.7安装了anaconda3,在Windows7上用VScode进行编辑。

当我打开Python并键入帮助("模块"(时

(base) C:UsersOwner>python
Python 3.7.6 (default, Jan  8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)] :: Ana
conda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> help()
Welcome to Python 3.7's help utility!
If this is your first time using Python, you should definitely check out
the tutorial on the Internet at https://docs.python.org/3.7/tutorial/.
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules.  To quit this help utility and
return to the interpreter, just type "quit".
To get a list of available modules, keywords, symbols, or topics, type
"modules", "keywords", "symbols", or "topics".  Each module also comes
with a one-line summary of what it does; to list the modules whose name
or summary contain a given string such as "spam", type "modules spam".
help> modules
Please wait a moment while I gather a list of all available modules...
C:UsersOwneranaconda3libsite-packagesIPythonkernel__init__.py:13: ShimWa
rning: The `IPython.kernel` package has been deprecated since IPython 4.0.You sh
ould import from ipykernel or jupyter_client instead.
"You should import from ipykernel or jupyter_client instead.", ShimWarning)
INTEL MKL ERROR: The operating system cannot run %1. mkl_intel_thread.dll.
Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll.
(base) C:UsersOwner>

我在网上到处寻找解决方案。这可能与numpy有关,所以我决定安装一个干净的python 3.8。安装完成后,我现在可以获得以下任何帮助((列表以及我想要描述的模块或符号的描述。

Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> help()
Welcome to Python 3.8's help utility!
If this is your first time using Python, you should definitely check out
the tutorial on the Internet at https://docs.python.org/3.8/tutorial/.
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules.  To quit this help utility and
return to the interpreter, just type "quit".
To get a list of available modules, keywords, symbols, or topics, type
"modules", "keywords", "symbols", or "topics".  Each module also comes
with a one-line summary of what it does; to list the modules whose name
or summary contain a given string such as "spam", type "modules spam".
help> symbols
Here is a list of the punctuation symbols which Python assigns special meaning
to. Enter any symbol to get more help.
!=                  +                   <=                  __
"                   +=                  <>                  `
"""                 ,                   ==                  b"
%                   -                   >                   b'
%=                  -=                  >=                  f"
&                   .                   >>                  f'
&=                  ...                 >>=                 j
'                   /                   @                   r"
'''                 //                  J                   r'
(                   //=                 [                   u"
)                   /=                                     u'
*                   :                   ]                   |
**                  <                   ^                   |=
**=                 <<                  ^=                  ~
*=                  <<=                 _
help> +
'more' is not recognized as an internal or external command,
operable program or batch file.
help> (+)
No Python documentation found for '(+)'.
Use help() to get the interactive help utility.
Use help(str) for help on the str class.
help>

我做错了什么?我从一开始就注意到了一些问题。我还没有能够通过任何蟒蛇或蟒蛇教程。这只是最基本的问题。谢谢你的帮助。

我认为您应该重新安装您的python包。

"more"是C:\windows/system32中的.exe文件。我必须将PATH系统变量设置为该地址。

以下是帮助我度过难关的线索:

使用解释器查找模块';sys';在Python 中

最新更新