不幸的是,安装vpython不能像普通python包那样简单。这个过程比这要复杂得多。如果你想用PyCharm开发,你仍然可以。在
首先,您需要在windows上安装vpython。这很可能会将自己安装为python的主要安装站点包之一。在
这样做之后,只需选择安装了vpython的python安装。在
如果要创建virtualenv,请使用system-site-packages进行创建:$ virtualenv help [12:51:06]
Usage: virtualenv [OPTIONS] DEST_DIR
Options:
version show program's version number and exit
(...)
no-site-packages DEPRECATED. Retained only for backward compatibility.
Not having access to global site-packages is now the
default behavior.
system-site-packages
Give the virtual environment access to the global
site-packages.
(...)