- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
NameError: name 'sys_platform' is not defined
是什么意思?这个错误的原因可能是什么?
编辑
这似乎是 openMDAO 的问题。当我在 openMDAO 0.10.3 环境中运行 easy_install 时出现此错误。
无论出于何种原因,我都无法重现我最初发布的 easy_install sphinx
错误。但是,我从 easy_install zope.interface
中遇到了类似的故障。这是输出(test
仍然没有返回任何错误):
(openmdao-0.10.3.2)Julians-MacBook-Pro:openmdao-0.10.3.2 julian$ easy_install zope.interface
Searching for zope.interface
Best match: zope.interface 4.1.2
Removing zope.interface 3.6.1 from easy-install.pth file
zope.interface 4.1.2 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/site-packages
Processing dependencies for zope.interface
Traceback (most recent call last):
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/bin/easy_install", line 9, in <module>
load_entry_point('setuptools==0.9.5', 'console_scripts', 'easy_install')()
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/setuptools/command/easy_install.py", line 1992, in main
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/setuptools/command/easy_install.py", line 1979, in with_ei_usage
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/setuptools/command/easy_install.py", line 1996, in <lambda>
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/setuptools/command/easy_install.py", line 380, in run
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/setuptools/command/easy_install.py", line 620, in easy_install
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/setuptools/command/easy_install.py", line 706, in process_distribution
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/pkg_resources.py", line 631, in resolve
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/pkg_resources.py", line 2489, in requires
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/pkg_resources.py", line 2700, in _dep_map
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/pkg_resources.py", line 2733, in _compute_dependencies
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/pkg_resources.py", line 2730, in reqs_for_extra
File "/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg/_markerlib/markers.py", line 109, in marker_fn
File "<environment marker>", line 1, in <module>
NameError: name 'sys_platform' is not defined
envdump
的输出:
(openmdao-0.10.3.2)Julians-MacBook-Pro:openmdao-0.10.3.2 julian$ envdump
Date of environment dump:
2015-06-03 18:55:59.761840
================PYTHON INFORMATION================
Python Version: 2.7.9
Python Compiler: GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)
Python Build: ('default', 'Apr 7 2015 07:58:25')
Python Path:
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/bin
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/setuptools-0.9.5-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/Jinja2-2.4-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/Pyevolve-0.6-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/Pygments-1.3.1-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/SetupDocs-1.0.5-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/argparse-1.2.1-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/bson-0.3.3-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/cobyla-1.0.1-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/conmin-1.0.1-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/decorator-3.2.0-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/docutils-0.10-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/networkx-1.8.1-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/newsumt-1.1.0-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/nose-1.3.3-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.bar3simulation-0.10.3.2-py2.7-macosx-10.8-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.enginedesign-0.10.3.2-py2.7-macosx-10.8-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.expected_improvement-0.10.3.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.mdao-0.10.3.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.nozzle_geometry_doe-0.10.3.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.simple-0.10.3.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.lib-0.10.3.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.main-0.10.3.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.test-0.10.3.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.units-0.10.3.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.util-0.10.3.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/ordereddict-1.1-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/pycrypto-2.3-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/pyparsing-1.5.7-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/pytz-2011k-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/requests-2.2.1-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/slsqp-1.0.1-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/traits-4.3.0-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/PyYAML-3.10-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/argh-0.15.1-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.gui-0.10.3.2-py2.7.egg
/usr/local/lib/python2.7/site-packages/pathtools-0.1.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/pyV3D-0.4.4-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/pyzmq-13.1.0-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/tornado-2.2.1-py2.7.egg
/usr/local/lib/python2.7/site-packages/watchdog-0.6.0-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/EasyProcess-0.1.4-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/PyVirtualDisplay-0.1.0-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/entrypoint2-0.0.5-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/lazr.testing-0.1.2a-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/mocker-1.1-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/path.py-2.2.2-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/zope.exceptions-3.6.1-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/zope.testing-4.1.1-py2.7.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/zope.testrunner-4.0.4-py2.7.egg
/usr/local/lib/python2.7/site-packages/akima-1.0.0-py2.7-macosx-10.10-x86_64.egg
/usr/local/lib/python2.7/site-packages/pBEAM-0.1.0-py2.7-macosx-10.10-x86_64.egg
/usr/local/lib/python2.7/site-packages
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python27.zip
/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/argh-0.26.1-py2.7.egg
/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyYAML-3.11-py2.7-macosx-10.10-x86_64.egg
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/plat-darwin
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/plat-mac
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/plat-mac/lib-scriptpackages
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/lib-tk
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/lib-old
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/lib-dynload
/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages
================PLATFORM INFORMATION================
Platform: Darwin
Operating System: Darwin-14.3.0-x86_64-i386-64bit
Architecture: ('64bit', '')
================ENVIRONMENT VARIABLES================
Apple_PubSub_Socket_Render: /private/tmp/com.apple.launchd.JH4nN1Inmx/Render
DISPLAY: /private/tmp/com.apple.launchd.tm06HV2aww/org.macosforge.xquartz:0
HOME: /Users/julian
LANG: en_US.UTF-8
LOGNAME: julian
OLDPWD: /Users/julian/Desktop/girrafes
PATH:
/Users/julian/Desktop/girrafes/openmdao-0.10.3.2/bin
/usr/local/bin
/usr/local/sbin
/Library/Frameworks/Python.framework/Versions/3.2/bin
/opt/local/bin
/opt/local/sbin
/usr/local/bin
/usr/local/sbin
/opt/local/bin
/opt/local/sbin
/opt/local/bin
/opt/local/sbin
/Library/Frameworks/Python.framework/Versions/2.7/bin
/opt/local/bin
/opt/local/sbin
/usr/local/lib
/usr/local/bin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/opt/X11/bin
/usr/local/git/bin
PS1: (openmdao-0.10.3.2)\h:\W \u\$
PWD: /Users/julian/Desktop/girrafes/openmdao-0.10.3.2
SHELL: /bin/bash
SHLVL: 1
SSH_AUTH_SOCK: /private/tmp/com.apple.launchd.PEtUXA9ewg/Listeners
TERM: xterm-256color
TERM_PROGRAM: Apple_Terminal
TERM_PROGRAM_VERSION: 343.7
TERM_SESSION_ID: 8CFDBF2D-2121-4A8F-88FD-C503C5DFE1A6
TMPDIR: /var/folders/0h/t_511_2d4cq81289ym9pn6g40000gn/T/
USER: julian
VERSIONER_PYTHON_PREFER_32_BIT: yes
VIRTUAL_ENV: /Users/julian/Desktop/girrafes/openmdao-0.10.3.2
XPC_FLAGS: 0x0
XPC_SERVICE_NAME: 0
_: /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/bin/envdump
__CF_USER_TEXT_ENCODING: 0x1F5:0x0:0x0
================ALIASES================
================COMPILER INFORMATION================
Compilers:
gcc FOUND: /usr/local/bin/gcc
gcc version info:
gcc (GCC) 4.9.2 20141029 (prerelease)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gcc FOUND: /usr/local/bin/gcc
gcc version info:
gcc (GCC) 4.9.2 20141029 (prerelease)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gcc FOUND: /usr/local/lib/gcc
ERROR searching for compiler:
[Errno 13] Permission denied
================PYTHON PACKAGES================
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages:
setuptools-0.9.5-py2.7.egg
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/Jinja2-2.4-py2.7.egg:
jinja2
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/Pyevolve-0.6-py2.7.egg:
pyevolve
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/Pygments-1.3.1-py2.7.egg:
pygments
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/SetupDocs-1.0.5-py2.7.egg:
setupdocs
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/argparse-1.2.1-py2.7.egg:
argparse
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/bson-0.3.3-py2.7.egg:
bson
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/cobyla-1.0.1-py2.7-macosx-10.10-x86_64.egg:
cobyla
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/conmin-1.0.1-py2.7-macosx-10.10-x86_64.egg:
conmin
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/decorator-3.2.0-py2.7.egg:
decorator
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/docutils-0.10-py2.7.egg:
docutils
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/networkx-1.8.1-py2.7.egg:
networkx
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/newsumt-1.1.0-py2.7-macosx-10.10-x86_64.egg:
newsumt
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/nose-1.3.3-py2.7.egg:
nose
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.bar3simulation-0.10.3.2-py2.7-macosx-10.8-x86_64.egg:
openmdao.examples.bar3simulation
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.enginedesign-0.10.3.2-py2.7-macosx-10.8-x86_64.egg:
openmdao.examples.enginedesign
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.expected_improvement-0.10.3.2-py2.7.egg:
openmdao.examples.expected_improvement
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.mdao-0.10.3.2-py2.7.egg:
openmdao.examples.mdao
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.nozzle_geometry_doe-0.10.3.2-py2.7.egg:
openmdao.examples.nozzle_geometry_doe
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.examples.simple-0.10.3.2-py2.7.egg:
openmdao.examples.simple
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.lib-0.10.3.2-py2.7.egg:
openmdao.lib
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.main-0.10.3.2-py2.7.egg:
openmdao.main
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.test-0.10.3.2-py2.7.egg:
openmdao.test
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.units-0.10.3.2-py2.7.egg:
openmdao.units
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.util-0.10.3.2-py2.7.egg:
openmdao.util
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/ordereddict-1.1-py2.7.egg:
ordereddict
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/pycrypto-2.3-py2.7-macosx-10.10-x86_64.egg:
Crypto
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/pyparsing-1.5.7-py2.7.egg:
pyparsing
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/pytz-2011k-py2.7.egg:
pytz
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/requests-2.2.1-py2.7.egg:
requests
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/slsqp-1.0.1-py2.7-macosx-10.10-x86_64.egg:
slsqp
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/traits-4.3.0-py2.7-macosx-10.10-x86_64.egg:
traits
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/PyYAML-3.10-py2.7-macosx-10.10-x86_64.egg:
yaml
_yaml
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/argh-0.15.1-py2.7.egg:
argh
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/openmdao.gui-0.10.3.2-py2.7.egg:
openmdao.gui
from /usr/local/lib/python2.7/site-packages:
pathtools-0.1.2-py2.7.egg
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/pyV3D-0.4.4-py2.7-macosx-10.10-x86_64.egg:
pyV3D
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/pyzmq-13.1.0-py2.7-macosx-10.10-x86_64.egg:
zmq
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/tornado-2.2.1-py2.7.egg:
tornado
from /usr/local/lib/python2.7/site-packages/watchdog-0.6.0-py2.7-macosx-10.10-x86_64.egg:
_watchdog_fsevents
watchdog
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/EasyProcess-0.1.4-py2.7.egg:
easyprocess
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/PyVirtualDisplay-0.1.0-py2.7.egg:
pyvirtualdisplay
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/entrypoint2-0.0.5-py2.7.egg:
entrypoint2
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/lazr.testing-0.1.2a-py2.7.egg:
lazr.testing
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/mocker-1.1-py2.7.egg:
mocker
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/path.py-2.2.2-py2.7.egg:
path
test_path
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg:
selenium
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/zope.exceptions-3.6.1-py2.7.egg:
zope.exceptions
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/zope.testing-4.1.1-py2.7.egg:
zope.testing
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7/site-packages/zope.testrunner-4.0.4-py2.7.egg:
zope.testrunner
from /usr/local/lib/python2.7/site-packages:
akima-1.0.0-py2.7-macosx-10.10-x86_64.egg
from /usr/local/lib/python2.7/site-packages:
pBEAM-0.1.0-py2.7-macosx-10.10-x86_64.egg
from /usr/local/lib/python2.7/site-packages:
_markerlib
AccessControl
Acquisition
alabaster
algopy
App
babel
blockspring
BTrees
colorama
ComputedAttribute
custom_fixers
DateTime
dateutil
DocumentTemplate
docutils
ExtensionClass
Globals
HelpSys
initgroups
IPython
jinja2
latexcodec
Lifetime
lxml
mahotas
markupsafe
matplotlib
mechanize
MethodObject
Missing
MultiMapping
nose
numpy
numpydoc
OFS
oset
pandas
pbr
Persistence
persistent
PIL
pip
pkg_resources
pockets
pybtex
pygments
pyopt
pytz
Record
requests
RestrictedPython
reStructuredText
scipy
setuptools
Signals
skimage
snowballstemmer
sphinx
sphinx_rtd_theme
spoofmac
stevedore
tempstorage
Testing
tests
transaction
TreeDisplay
virtualenv_support
webdav
xlrd
ZConfig
zdaemon
ZEO
zExceptions
zLOG
zmq
ZODB
Zope2
ZopeUndo
ZPublisher
ZServer
ZTUtils
from /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages:
argh-0.26.1-py2.7.egg
from /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages:
PyYAML-3.11-py2.7-macosx-10.10-x86_64.egg
from /Users/julian/Desktop/girrafes/openmdao-0.10.3.2/lib/python2.7:
distutils
encodings
from /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7:
bsddb
compiler
ctypes
curses
distutils
email
encodings
ensurepip
hotshot
idlelib
importlib
json
lib2to3
logging
multiprocessing
pydoc_data
sqlite3
test
unittest
wsgiref
xml
from /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac:
Carbon
from /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages:
_builtinSuites
CodeWarrior
Explorer
Finder
Netscape
StdSuites
SystemEvents
Terminal
(openmdao-0.10.3.2)Julians-MacBook-Pro:openmdao-0.10.3.2 julian$
最佳答案
我认为您的设置工具包可能已过时。你可以试试:
pip install --upgrade setuptools
然后重新运行你的安装程序
关于python - easy_install sphinx 期间出现 OSX Yosemite Openmdao 错误 - NameError : name 'sys_platform' is not defined,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30401758/
在 Sphinx 2.0.6 中尝试启用通配符 (*) 的搜索时出现以下错误 index products: syntax error, unexpected $undefined near '*'
如果我更新 sphinx.conf 文件中的资源,我可以使用 --rotate 重新索引,一切正常。如果我更新 sphinx.conf 中的索引或添加新索引 --rotate 无效,我必须重新启动 s
问题 我一直在用(Python) Sphinx doc ,以及 CommonMark解析器,编写包含用 reStructuredText 和 Markdown 编写的文件的 Sphinx 文档。到目前
我正在使用漂亮的 sphinx-bootstrap-theme 0.3.4 并尝试将它应用到 Sphinx Python 文档生成器 1.2 版之上。 当我通过 make html 构建文档时,我没有
关于此主题,有几篇“未答复”的帖子与无法找到“sphinx-build”有关: sphinx-build -h command not found in Mac OS Sphinx 是在 OSX 上使
我正在使用 Sphinx 搜索引擎,我遇到一个问题,即一些文件没有显示在搜索结果中,但绝对应该显示。我已经检查以确保没有信息。缺少会阻止这些文件出现的信息。 有什么方法可以直接查询索引,看看有没有这些
如何使用 Sphinx 从索引中获取所有记录?就像 SELECT * FROM index 一样?我知道我可以做这样的事情来获取与特定关键字匹配的所有记录:/usr/local/sphinx/bin/
我对 Sphinx 很陌生,在服务器上记录我的项目。现在一位同事看到了我一直在做的事情,她想做同样的事情——在同一台服务器上记录她的项目。 这些项目不相关(它们不属于单个 TOCtree),我不知道如
我有一个很大的索引定义,索引需要很长时间。我怀疑主要问题是由生成的许多 LEFT OUTER JOIN 引起的。 我看到了 this question ,但找不到有关使用 source: :query
写作的python工具,awscli-bastion , 具有以下由 cookiecutter 构建的目录结构. . ├── awscli_bastion │ ├── __init__.py │
Sphinx 文档生成器提供 only markup .例如,以下将仅包含外部文件“仅”如果其 html 生成器: .. only:: html .. include:: a.rst 但是我将如
我在我的Rails应用程序中实现了 sphinx 搜索。 我想模糊搜索。它应该搜索拼写错误,例如,如果输入搜索查询charact * a * ristics,则应该搜索charact * e * ri
Sphinx-autodoc 将字典、列表和元组扁平化 - 使长的几乎不可读。也并不总是需要 pretty-print 格式,因为一些嵌套的容器比分列更好地保持扁平化。有没有办法显示源代码中输入的可迭
我正在使用 Sphinx 为我的项目编写文档,并且发现下面给出的两个相似的 reStructuredText 段的呈现方式有所不同。 示例 1 Some text: * Item 0 * Item
考虑ReStructuredText中的以下列表: Broken list example ------------------- #. First do spam #. Then do ``eggs
我正在使用 Sphinx Doc 为我的一个项目创建文档,并且我在整个文档中多次使用了一些词,例如 - IP 地址、端口号和许多其他可能会随时间变化的内容。如果由于某种原因,其中一个将被更改,我只想在
我在 .rst 文件中有以下文本: Some text. * Heading | The first topic. | Another topic which is very verbose
我有很多 Sphinx 页面,它们都有相同的链接。像那些: .. _CC-BY: https://creativecommons.org/licenses/by/3.0/ .. _MIT: http:
我想链接到我的狮身人面像文档中的一些URL: blah 我在文档中发现了类似的内容:http://sphinx-doc.org/ext/extlinks.html-而是按照约定用链接替换自定义语法。
使用 sphinx 的自动模块 (https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html) 时, 我只是写在一个 .rst
我是一名优秀的程序员,十分优秀!