Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python OSX优胜美地Openmdao在轻松安装sphinx期间出错-name错误:name';系统平台&x27;没有定义_Python_Macos_Osx Yosemite_Openmdao - Fatal编程技术网

Python OSX优胜美地Openmdao在轻松安装sphinx期间出错-name错误:name';系统平台&x27;没有定义

Python OSX优胜美地Openmdao在轻松安装sphinx期间出错-name错误:name';系统平台&x27;没有定义,python,macos,osx-yosemite,openmdao,Python,Macos,Osx Yosemite,Openmdao,name错误:未定义名称“sys\u platform”是什么意思?这一错误的原因可能是什么 编辑 这似乎是openMDAO的一个问题。在openMDAO 0.10.3环境中运行easy_install时会引发此错误 无论出于何种原因,我无法重新创建我最初发布的easy\u install sphinx错误。然而,我从easy\u install zope.interface中得到了类似的失败。以下是输出(test仍不返回错误): 我想你的安装工具包可能已经过时了。你能试试吗 pip insta

name错误:未定义名称“sys\u platform”是什么意思?这一错误的原因可能是什么

编辑

这似乎是openMDAO的一个问题。在openMDAO 0.10.3环境中运行easy_install时会引发此错误

无论出于何种原因,我无法重新创建我最初发布的
easy\u install sphinx
错误。然而,我从
easy\u install zope.interface
中得到了类似的失败。以下是输出(
test
仍不返回错误):


我想你的安装工具包可能已经过时了。你能试试吗

pip install --upgrade setuptools

然后重新运行安装程序

我认为您的安装工具包可能已过时。你能试试吗

pip install --upgrade setuptools

然后重新运行你的安装程序

EDIT@kilojoules:我已经看到了你的编辑和新帖子,等我回到我的约塞米蒂机器前,我会看一看。 /编辑

注:我想对此发表评论,因为这并不能解决您的问题,但我缺乏发表评论的声誉

这里还有另一个数据点:我有OS X 10.10.3、Python 2.7.9,我刚刚下载了OpenMDAO 0.10.3.2,试图复制您的问题:

kmarstel$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.10.3
BuildVersion:   14D136

kmarstel$ python --version
Python 2.7.9
安装OpenMDAO 0.10.3.2后:

The OpenMDAO virtual environment has been installed in
 /Users/kmarstel/openmdao-0.10.3.2

From /Users/kmarstel/openmdao-0.10.3.2, type:

. bin/activate

to activate your environment and start using OpenMDAO.

kmarstel$  . bin/activate
(openmdao-0.10.3.2) kmarstel$ 
因此,安装和激活不会产生错误。接下来,我尝试像您一样轻松安装sphinx,但它发现OpenMDAO安装程序已经在我的virtualenv中安装了1.2.2(正如它应该安装的那样):

因此,我想我应该尝试显式安装1.3.1,这是您遇到问题的版本,但它工作得很好:

(openmdao-0.10.3.2) kmarstel$ easy_install sphinx==1.3.1
Searching for sphinx==1.3.1
Reading https://pypi.python.org/simple/sphinx/
Best match: Sphinx 1.3.1
Downloading https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.3.1.tar.gz#md5=8786a194acf9673464c5455b11fd4332
Processing Sphinx-1.3.1.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-WCmHmr/Sphinx-1.3.1/setup.cfg
Running Sphinx-1.3.1/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-WCmHmr/Sphinx-1.3.1/egg-dist-tmp-YQEdHB
warning: no files found matching 'TODO'
no previously-included directories found matching 'doc/_build'
Removing Sphinx 1.2.2 from easy-install.pth file
Adding Sphinx 1.3.1 to easy-install.pth file
Installing sphinx-apidoc script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing sphinx-build script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing sphinx-quickstart script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing sphinx-autogen script to /Users/kmarstel/openmdao-0.10.3.2/bin

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/Sphinx-1.3.1-py2.7.egg
Processing dependencies for sphinx==1.3.1
Searching for sphinx-rtd-theme>=0.1,<0.2
Reading https://pypi.python.org/simple/sphinx_rtd_theme/
Best match: sphinx-rtd-theme 0.1.8
Downloading https://pypi.python.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-0.1.8.tar.gz#md5=713ce7c53239449bdd799385577329ee
Processing sphinx_rtd_theme-0.1.8.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-yPgeif/sphinx_rtd_theme-0.1.8/setup.cfg
Running sphinx_rtd_theme-0.1.8/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-yPgeif/sphinx_rtd_theme-0.1.8/egg-dist-tmp-uQyFTV
Adding sphinx-rtd-theme 0.1.8 to easy-install.pth file

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/sphinx_rtd_theme-0.1.8-py2.7.egg
Searching for alabaster>=0.7,<0.8
Reading https://pypi.python.org/simple/alabaster/
Best match: alabaster 0.7.4
Downloading https://pypi.python.org/packages/source/a/alabaster/alabaster-0.7.4.tar.gz#md5=ba31bf652194200428aa4e3d976f5ccd
Processing alabaster-0.7.4.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-k4wKBC/alabaster-0.7.4/setup.cfg
Running alabaster-0.7.4/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-k4wKBC/alabaster-0.7.4/egg-dist-tmp-ni9W8x
warning: no files found matching 'README.md'
warning: no previously-included files matching '.*.swp' found under directory 'alabaster'
zip_safe flag not set; analyzing archive contents...
alabaster.__init__: module references __file__
Adding alabaster 0.7.4 to easy-install.pth file

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/alabaster-0.7.4-py2.7.egg
Searching for babel>=1.3
Reading https://pypi.python.org/simple/babel/
Best match: Babel 1.3
Downloading https://pypi.python.org/packages/source/B/Babel/Babel-1.3.tar.gz#md5=5264ceb02717843cbc9ffce8e6e06bdb
Processing Babel-1.3.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-_xXBvb/Babel-1.3/setup.cfg
Running Babel-1.3/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-_xXBvb/Babel-1.3/egg-dist-tmp-HhDGYg
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
Adding Babel 1.3 to easy-install.pth file
Installing pybabel script to /Users/kmarstel/openmdao-0.10.3.2/bin

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/Babel-1.3-py2.7.egg
Searching for snowballstemmer>=1.1
Reading https://pypi.python.org/simple/snowballstemmer/
Best match: snowballstemmer 1.2.0
Downloading https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-1.2.0.tar.gz#md5=51f2ef829db8129dd0f2354f0b209970
Processing snowballstemmer-1.2.0.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-ICmHM_/snowballstemmer-1.2.0/setup.cfg
Running snowballstemmer-1.2.0/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-ICmHM_/snowballstemmer-1.2.0/egg-dist-tmp-zCKeIp
warning: no files found matching '*.py' under directory 'src'
zip_safe flag not set; analyzing archive contents...
Adding snowballstemmer 1.2.0 to easy-install.pth file

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/snowballstemmer-1.2.0-py2.7.egg
Searching for docutils>=0.11
Reading https://pypi.python.org/simple/docutils/
Best match: docutils 0.12
Downloading https://pypi.python.org/packages/source/d/docutils/docutils-0.12.tar.gz#md5=4622263b62c5c771c03502afa3157768
Processing docutils-0.12.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-sztGuq/docutils-0.12/setup.cfg
Running docutils-0.12/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-sztGuq/docutils-0.12/egg-dist-tmp-grmcuq
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'extras'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
zip_safe flag not set; analyzing archive contents...
docutils.parsers.rst.directives.misc: module references __file__
docutils.writers.docutils_xml: module references __path__
docutils.writers.html4css1.__init__: module references __file__
docutils.writers.latex2e.__init__: module references __file__
docutils.writers.odf_odt.__init__: module references __file__
docutils.writers.pep_html.__init__: module references __file__
docutils.writers.s5_html.__init__: module references __file__
Removing docutils 0.10 from easy-install.pth file
Adding docutils 0.12 to easy-install.pth file
Installing rst2html.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2latex.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2man.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2odt.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2odt_prepstyles.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2pseudoxml.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2s5.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2xetex.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2xml.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rstpep2html.py script to /Users/kmarstel/openmdao-0.10.3.2/bin

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/docutils-0.12-py2.7.egg
Searching for Pygments>=2.0
Reading https://pypi.python.org/simple/Pygments/
Best match: Pygments 2.0.2
Downloading https://pypi.python.org/packages/source/P/Pygments/Pygments-2.0.2.tar.gz#md5=238587a1370d62405edabd0794b3ec4a
Processing Pygments-2.0.2.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-yfhxzw/Pygments-2.0.2/setup.cfg
Running Pygments-2.0.2/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-yfhxzw/Pygments-2.0.2/egg-dist-tmp-XfZmGn
Removing Pygments 1.3.1 from easy-install.pth file
Adding Pygments 2.0.2 to easy-install.pth file
Installing pygmentize script to /Users/kmarstel/openmdao-0.10.3.2/bin

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/Pygments-2.0.2-py2.7.egg
Finished processing dependencies for sphinx==1.3.1
(openmdao-0.10.3.2) kmarstel$ 
因此,我无法复制您的问题,因此它似乎不是OpenMDAO固有的问题。接下来的步骤可能是查看一个名为
envdump
的OpenMDAO命令,您从激活的OpenMDAO提示符调用该命令,它将转储所有环境配置。如果你想发布它的输出(会很长),我可以将它与我自己的进行比较,看看是否有任何奇怪的差异

祝你好运


--Keith

EDIT@kilojoules:我已经看到了你的编辑和新帖子,等我回到约塞米蒂的机器前,我会看一看。 /编辑

注:我想对此发表评论,因为这并不能解决您的问题,但我缺乏发表评论的声誉

这里还有另一个数据点:我有OS X 10.10.3、Python 2.7.9,我刚刚下载了OpenMDAO 0.10.3.2,试图复制您的问题:

kmarstel$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.10.3
BuildVersion:   14D136

kmarstel$ python --version
Python 2.7.9
安装OpenMDAO 0.10.3.2后:

The OpenMDAO virtual environment has been installed in
 /Users/kmarstel/openmdao-0.10.3.2

From /Users/kmarstel/openmdao-0.10.3.2, type:

. bin/activate

to activate your environment and start using OpenMDAO.

kmarstel$  . bin/activate
(openmdao-0.10.3.2) kmarstel$ 
因此,安装和激活不会产生错误。接下来,我尝试像您一样轻松安装sphinx,但它发现OpenMDAO安装程序已经在我的virtualenv中安装了1.2.2(正如它应该安装的那样):

因此,我想我应该尝试显式安装1.3.1,这是您遇到问题的版本,但它工作得很好:

(openmdao-0.10.3.2) kmarstel$ easy_install sphinx==1.3.1
Searching for sphinx==1.3.1
Reading https://pypi.python.org/simple/sphinx/
Best match: Sphinx 1.3.1
Downloading https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.3.1.tar.gz#md5=8786a194acf9673464c5455b11fd4332
Processing Sphinx-1.3.1.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-WCmHmr/Sphinx-1.3.1/setup.cfg
Running Sphinx-1.3.1/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-WCmHmr/Sphinx-1.3.1/egg-dist-tmp-YQEdHB
warning: no files found matching 'TODO'
no previously-included directories found matching 'doc/_build'
Removing Sphinx 1.2.2 from easy-install.pth file
Adding Sphinx 1.3.1 to easy-install.pth file
Installing sphinx-apidoc script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing sphinx-build script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing sphinx-quickstart script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing sphinx-autogen script to /Users/kmarstel/openmdao-0.10.3.2/bin

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/Sphinx-1.3.1-py2.7.egg
Processing dependencies for sphinx==1.3.1
Searching for sphinx-rtd-theme>=0.1,<0.2
Reading https://pypi.python.org/simple/sphinx_rtd_theme/
Best match: sphinx-rtd-theme 0.1.8
Downloading https://pypi.python.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-0.1.8.tar.gz#md5=713ce7c53239449bdd799385577329ee
Processing sphinx_rtd_theme-0.1.8.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-yPgeif/sphinx_rtd_theme-0.1.8/setup.cfg
Running sphinx_rtd_theme-0.1.8/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-yPgeif/sphinx_rtd_theme-0.1.8/egg-dist-tmp-uQyFTV
Adding sphinx-rtd-theme 0.1.8 to easy-install.pth file

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/sphinx_rtd_theme-0.1.8-py2.7.egg
Searching for alabaster>=0.7,<0.8
Reading https://pypi.python.org/simple/alabaster/
Best match: alabaster 0.7.4
Downloading https://pypi.python.org/packages/source/a/alabaster/alabaster-0.7.4.tar.gz#md5=ba31bf652194200428aa4e3d976f5ccd
Processing alabaster-0.7.4.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-k4wKBC/alabaster-0.7.4/setup.cfg
Running alabaster-0.7.4/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-k4wKBC/alabaster-0.7.4/egg-dist-tmp-ni9W8x
warning: no files found matching 'README.md'
warning: no previously-included files matching '.*.swp' found under directory 'alabaster'
zip_safe flag not set; analyzing archive contents...
alabaster.__init__: module references __file__
Adding alabaster 0.7.4 to easy-install.pth file

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/alabaster-0.7.4-py2.7.egg
Searching for babel>=1.3
Reading https://pypi.python.org/simple/babel/
Best match: Babel 1.3
Downloading https://pypi.python.org/packages/source/B/Babel/Babel-1.3.tar.gz#md5=5264ceb02717843cbc9ffce8e6e06bdb
Processing Babel-1.3.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-_xXBvb/Babel-1.3/setup.cfg
Running Babel-1.3/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-_xXBvb/Babel-1.3/egg-dist-tmp-HhDGYg
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
Adding Babel 1.3 to easy-install.pth file
Installing pybabel script to /Users/kmarstel/openmdao-0.10.3.2/bin

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/Babel-1.3-py2.7.egg
Searching for snowballstemmer>=1.1
Reading https://pypi.python.org/simple/snowballstemmer/
Best match: snowballstemmer 1.2.0
Downloading https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-1.2.0.tar.gz#md5=51f2ef829db8129dd0f2354f0b209970
Processing snowballstemmer-1.2.0.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-ICmHM_/snowballstemmer-1.2.0/setup.cfg
Running snowballstemmer-1.2.0/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-ICmHM_/snowballstemmer-1.2.0/egg-dist-tmp-zCKeIp
warning: no files found matching '*.py' under directory 'src'
zip_safe flag not set; analyzing archive contents...
Adding snowballstemmer 1.2.0 to easy-install.pth file

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/snowballstemmer-1.2.0-py2.7.egg
Searching for docutils>=0.11
Reading https://pypi.python.org/simple/docutils/
Best match: docutils 0.12
Downloading https://pypi.python.org/packages/source/d/docutils/docutils-0.12.tar.gz#md5=4622263b62c5c771c03502afa3157768
Processing docutils-0.12.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-sztGuq/docutils-0.12/setup.cfg
Running docutils-0.12/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-sztGuq/docutils-0.12/egg-dist-tmp-grmcuq
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'extras'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
zip_safe flag not set; analyzing archive contents...
docutils.parsers.rst.directives.misc: module references __file__
docutils.writers.docutils_xml: module references __path__
docutils.writers.html4css1.__init__: module references __file__
docutils.writers.latex2e.__init__: module references __file__
docutils.writers.odf_odt.__init__: module references __file__
docutils.writers.pep_html.__init__: module references __file__
docutils.writers.s5_html.__init__: module references __file__
Removing docutils 0.10 from easy-install.pth file
Adding docutils 0.12 to easy-install.pth file
Installing rst2html.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2latex.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2man.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2odt.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2odt_prepstyles.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2pseudoxml.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2s5.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2xetex.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rst2xml.py script to /Users/kmarstel/openmdao-0.10.3.2/bin
Installing rstpep2html.py script to /Users/kmarstel/openmdao-0.10.3.2/bin

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/docutils-0.12-py2.7.egg
Searching for Pygments>=2.0
Reading https://pypi.python.org/simple/Pygments/
Best match: Pygments 2.0.2
Downloading https://pypi.python.org/packages/source/P/Pygments/Pygments-2.0.2.tar.gz#md5=238587a1370d62405edabd0794b3ec4a
Processing Pygments-2.0.2.tar.gz
Writing /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-yfhxzw/Pygments-2.0.2/setup.cfg
Running Pygments-2.0.2/setup.py -q bdist_egg --dist-dir /var/folders/s6/zxc02fzj7c10mkt6vgw71k0w0000gn/T/easy_install-yfhxzw/Pygments-2.0.2/egg-dist-tmp-XfZmGn
Removing Pygments 1.3.1 from easy-install.pth file
Adding Pygments 2.0.2 to easy-install.pth file
Installing pygmentize script to /Users/kmarstel/openmdao-0.10.3.2/bin

Installed /Users/kmarstel/openmdao-0.10.3.2/lib/python2.7/site-packages/Pygments-2.0.2-py2.7.egg
Finished processing dependencies for sphinx==1.3.1
(openmdao-0.10.3.2) kmarstel$ 
因此,我无法复制您的问题,因此它似乎不是OpenMDAO固有的问题。接下来的步骤可能是查看一个名为
envdump
的OpenMDAO命令,您从激活的OpenMDAO提示符调用该命令,它将转储所有环境配置。如果你想发布它的输出(会很长),我可以将它与我自己的进行比较,看看是否有任何奇怪的差异

祝你好运


--Keith

pip说我的设置工具是最新的pip说我的设置工具是最新的Hi Keith。谢谢你的详细答复。我坐下来重新创建了这个熟悉的错误,令我惊讶的是,
easy\u install sphinx
没有失败。但是,
easy\u install zope.interface
以类似的方式失败。我现在正在发布此comand以及
envdump
的结果。我更新了我的问题,以包括easy_install zope.interface故障以及envdump的输出。由于篇幅限制,我不得不删除一些我原来的帖子。然而,我相信所有的重要信息仍然在这里,我将其标记为正确,因为这个答案正确地诊断出我有一个配置问题Hi Keith。谢谢你的详细答复。我坐下来重新创建了这个熟悉的错误,令我惊讶的是,
easy\u install sphinx
没有失败。但是,
easy\u install zope.interface
以类似的方式失败。我现在正在发布此comand以及
envdump
的结果。我更新了我的问题,以包括easy_install zope.interface故障以及envdump的输出。由于篇幅限制,我不得不删除一些我原来的帖子。但是,我相信所有的重要信息仍然在这里我将其标记为正确,因为这个答案正确地诊断出我有配置问题