2014-01-08 4 views
-1

Я считаю, что я только что установил пип, нос, раздачу и virtualenv. Я хотел проверить и в терминале запустить pydoc-модули, чтобы посмотреть, что там было - никто из них не появляется. Я что-то упускаю? Должны появляться эти модули. Выход терминала ниже (Mac, Python 2.7).Проверьте, установлены ли модули правильно

Для установки этих модулей я сначала установил пик, используя sudo easy_install pip. Тогда я сделал следующее:

pip install virtualenv 
pip install nose 
pip install distribute 

Все, казалось, «работа» - терминал загружены некоторые вещи и распечатаны некоторый вывод, что я думаю, что подразумевалось, что она работала (я не могу вернуться и копировать/вставить вывод, так как я закрыли окно терминала и снова открыли в надежде, что могут появиться мои новые модули)

Как узнать, успешно ли я установил эти модули? Есть я?

My Name-MacBook:~ myname$ pydoc modules 

Please wait a moment while I gather a list of all available modules... 

2014-01-08 11:56:42.191 Python[3196:1107] Error loading /Developer/Library/Frameworks/InterfaceBuilderKit.framework/InterfaceBuilderKit: dlopen(/Developer/Library/Frameworks/InterfaceBuilderKit.framework/InterfaceBuilderKit, 265): Library not loaded: @rpath/DevToolsRemoteClient.framework/Versions/A/DevToolsRemoteClient 
    Referenced from: /Developer/Library/Frameworks/InterfaceBuilderKit.framework/InterfaceBuilderKit 
    Reason: image not found 
2014-01-08 11:56:42.531 Python[3196:1107] Cannot find executable for CFBundle 0x7ff9d4354070 </System/Library/Frameworks/Message.framework> (not loaded) 
AVFoundation  _TE     dircache   pstats 
AddressBook   _Win    dis     pty 
AppKit    __builtin__   distutils   pwd 
AppleScriptKit  __future__   dl     py2app 
AppleScriptObjC  _abcoll    doctest    py_compile 
Audio_mac   _ast    dumbdbm    pyclbr 
Automator   _bisect    dummy_thread  pydoc 
BaseHTTPServer  _builtinSuites  dummy_threading  pydoc_data 
Bastion    _codecs    easy_install  pyexpat 
CFNetwork   _codecs_cn   email    pylab 
CFOpenDirectory  _codecs_hk   encodings   pytz 
CGIHTTPServer  _codecs_iso2022  errno    quopri 
Canvas    _codecs_jp   exceptions   random 
Carbon    _codecs_kr   fcntl    re 
Cocoa    _codecs_tw   filecmp    readline 
CodeWarrior   _collections  fileinput   repr 
Collaboration  _csv    findertools   resource 
ColorPicker   _ctypes    fnmatch    rexec 
ConfigParser  _ctypes_test  formatter   rfc822 
Cookie    _curses    fpformat   rlcompleter 
CoreData   _curses_panel  fractions   robotparser 
CoreFoundation  _elementtree  ftplib    runpy 
CoreGraphics  _functools   functools   sched 
CoreLocation  _hashlib   future_builtins  scipy 
CoreText   _heapq    gc     select 
Dialog    _hotshot   genericpath   sets 
DictionaryServices _io     gensuitemodule  setuptools 
DocXMLRPCServer  _json    gestalt    sgmllib 
EasyDialogs   _locale    getopt    sha 
ExceptionHandling _lsprof    getpass    shelve 
Explorer   _multibytecodec  gettext    shlex 
FSEvents   _multiprocessing glob    shutil 
FileDialog   _osx_support  grp     signal 
Finder    _pyio    gzip    site 
FixTk    _random    hashlib    smtpd 
Foundation   _scproxy   heapq    smtpd2 
FrameWork   _socket    hmac    smtplib 
HTMLParser   _sqlite3   hotshot    sndhdr 
IN     _sre    htmlentitydefs  socket 
InputMethodKit  _ssl    htmllib    sqlite3 
InstallerPlugins _strptime   httplib    sre 
InstantMessage  _struct    ic     sre_compile 
InterfaceBuilderKit _symtable   icglue    sre_constants 
JavaScriptCore  _sysconfigdata  icopen    sre_parse 
LatentSemanticMapping _testcapi   idlelib    ssl 
LaunchServices  _threading_local ihooks    stat 
MacOS    _tkinter   imageop    statvfs 
Message    _warnings   imaplib    string 
MimeWriter   _weakref   imghdr    stringold 
MiniAEFrame   _weakrefset   imp     stringprep 
Nav     abc     importlib   strop 
Netscape   aepack    imputil    struct 
OSATerminology  aetools    inspect    subprocess 
OpenDirectory  aetypes    io     sunau 
OpenSSL    aifc    itertools   sunaudio 
PixMapWrapper  altgraph   json    symbol 
PreferencePanes  antigravity   keyword    symtable 
PubSub    anydbm    lib2to3    sys 
PyObjCTools   applesingle   linecache   sysconfig 
PyRSS2Gen   appletrawmain  locale    syslog 
QTKit    appletrunner  logging    tabnanny 
Quartz    argparse   macerrors   tarfile 
Queue    argvemulator  macholib   telnetlib 
ScreenSaver   array    macostools   tempfile 
ScriptingBridge  ast     macpath    terminalcommand 
ScrolledText  asynchat   macresource   termios 
SearchKit   asyncore   macurl2path   test 
ServiceManagement atexit    mailbox    textwrap 
SimpleDialog  audiodev   mailcap    this 
SimpleHTTPServer audioop    markupbase   thread 
SimpleXMLRPCServer autoGIL    marshal    threading 
SocketServer  base64    math    time 
StdSuites   bdb     matplotlib   timeit 
StringIO   bdist_mpkg   md5     tkColorChooser 
SyncServices  bgenlocations  mhlib    tkCommonDialog 
SystemConfiguration binascii   mimetools   tkFileDialog 
SystemEvents  binhex    mimetypes   tkFont 
Tix     bisect    mimify    tkMessageBox 
Tkconstants   bonjour    mmap    tkSimpleDialog 
Tkdnd    bsddb    modulefinder  toaiff 
Tkinter    bsddb185   modulegraph   token 
UserDict   buildtools   mpl_toolkits  tokenize 
UserList   bundlebuilder  multifile   trace 
UserString   bz2     multiprocessing  traceback 
WebKit    cPickle    mutex    ttk 
XgridFoundation  cProfile   netrc    tty 
_AE     cStringIO   new     turtle 
_AH     calendar   nis     twisted 
_App    cfmfile    nntplib    types 
_CF     cgi     ntpath    unicodedata 
_CG     cgitb    nturl2path   unittest 
_CarbonEvt   chunk    numbers    urllib 
_Cm     cmath    numpy    urllib2 
_Ctl    cmd     objc    urlparse 
_Dlg    code    opcode    user 
_Drag    codecs    operator   uu 
_Evt    codeop    optparse   uuid 
_File    collections   os     videoreader 
_Fm     colorsys   os2emxpath   warnings 
_Folder    commands   parser    wave 
_Help    compileall   pdb     weakref 
_IBCarbon   compiler   pickle    webbrowser 
_Icn    contextlib   pickletools   whichdb 
_LWPCookieJar  cookielib   pimp    wsgiref 
_Launch    copy    pipes    xattr 
_List    copy_reg   pkg_resources  xdrlib 
_Menu    crypt    pkgutil    xml 
_Mlte    csv     platform   xmllib 
_MozillaCookieJar ctypes    plistlib   xmlrpclib 
_OSA    curses    popen2    xxsubtype 
_Qd     datetime   poplib    zipfile 
_Qdoffs    dateutil   posix    zipimport 
_Qt     dbhash    posixfile   zlib 
_Res    dbm     posixpath   zope 
_Scrap    decimal    pprint    
_Snd    difflib    profile    

Enter any module name to get more help. Or, type "modules spam" to search 
for modules whose descriptions contain the word "spam". 
+2

Вы попробовали 'import [modulename]' из приглашения интерпретатора python? Это единственный способ рассказать, мы не вошли в ваш компьютер, вы все же. –

+0

@JarrodRoberson У меня есть с того момента, как вы добавили свой комментарий. Все выглядели хорошо для носа, virtualenv и pip, но раздавали «No module named distribute». Кроме того, после этого я снова попробовал модуль pydoc, чтобы увидеть, могу ли я видеть модули, но они не отображаются –

+0

['help ('modules')'] (http://stackoverflow.com/questions/739993/get-a -list-оф-Installed-питон-модули? RQ = 1) –

ответ

0

В конечном итоге я использовал pip list в оболочке, которая показывала мои модули.

Смежные вопросы