简体   繁体   English

列出来自enthought的conopy安装python包的所有模块?

[英]listing all modules from enthought's conopy installation of python packages?

I have installed canopy express that comes with many packages to avoid interdependencies. 我已经安装了许多软件包附带的canopy express,以避免相互依赖。 python works fine on the prompt. python在提示符下正常工作。 I can execute codes and all is well. 我可以执行代码,一切都很好。 but the link cites many packages are included in canopy express such as pytest. 链接引用了很多包都包含在冠层快递中,如pytest。 but when I try to import pytest, I get importError . 但是当我尝试导入pytest时,我得到importError Even the help("modules") to list all the modules does not work. 即使列出所有模块的help("modules")也不起作用。 Anyone using Canopy express can comment if these packages(pytest, curl, distribute etc) are present or not. 使用Canopy express的任何人都可以评论这些包(pytest,curl,distribution等)是否存在。

Enthought Canopy Python 2.7.3 | 64-bit | (default, Aug  8 2013, 05:37:06) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> help("modules")
no Python documentation found for 'modules'

>>> import pytest
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pytest
>>> import distribute
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named distribute
>>> import curl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named curl
>>> import pandas
>>>

While it's a bit confusing at times, Canopy Express refers to both the lightweight installer that is available to free users as well as referring to the set of packages that is available to these users. 虽然有时令人困惑,但Canopy Express既指向免费用户提供的轻量级安装程序,也指这些用户可用的一组程序包 By default, the installer does not include all of these but only the main packages, such as numpy, matplotlib, and pandas. 默认情况下,安装程序不包括所有这些,只包括主包,例如numpy,matplotlib和pandas。

From within Canopy, you should be able to install any of the remaining free packages (pytest, curl, etc.) and, if you've registered for an Enthought account, you'll be able to use this manager to update/delete these packages as well. 从Canopy内部,您应该能够安装任何剩余的免费软件包(pytest,curl等),如果您已经注册了Enthought帐户,您将能够使用此管理器更新/删除这些软件包包也是。

See the following articles for more help, including information on command line tools for updating: 有关更多帮助,请参阅以下文章,包括有关更新的命令行工具的信息:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM