首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装OpenMDAO 2.6.0错误

安装OpenMDAO 2.6.0错误
EN

Stack Overflow用户
提问于 2019-03-13 16:25:39
回答 1查看 160关注 0票数 1

我的系统现在正在运行Python3.5.2,pip版本为19.0.3,我正在尝试使用pip安装OpenMDAO。我在网站的入门页面上运行命令来安装:

pip install openmdao

它开始运行,但随后我得到以下错误:

错误:无法复制‘openm道/devtools/xdsm_viewer/XDSMjs/build’:不存在或不存在常规文件

开刀用失败的建筑车轮

有什么解决办法吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-03-13 16:44:16

我不能重复你的问题。你是从干净的环境开始的吗?

以下是我的尝试:

代码语言:javascript
复制
 ~ $ conda create -n O35 python=3.5 numpy scipy --quiet
Solving environment: ...working... done

## Package Plan ##

  environment location: /home/swryan/anaconda2/envs/O35

  added / updated specs: 
    - numpy
    - python=3.5
    - scipy


The following NEW packages will be INSTALLED:

    blas:            1.0-mkl                
    ca-certificates: 2019.1.23-0            
    certifi:         2018.8.24-py35_1       
    intel-openmp:    2019.1-144             
    libedit:         3.1.20181209-hc058e9b_0
    libffi:          3.2.1-hd88cf55_4       
    libgcc-ng:       8.2.0-hdf63c60_1       
    libgfortran-ng:  7.3.0-hdf63c60_0       
    libstdcxx-ng:    8.2.0-hdf63c60_1       
    mkl:             2018.0.3-1             
    mkl_fft:         1.0.6-py35h7dd41cf_0   
    mkl_random:      1.0.1-py35h4414c95_1   
    ncurses:         6.1-he6710b0_1         
    numpy:           1.15.2-py35h1d66e8a_0  
    numpy-base:      1.15.2-py35h81de0dd_0  
    openssl:         1.0.2r-h7b6447c_0      
    pip:             10.0.1-py35_0          
    python:          3.5.6-hc3d631a_0       
    readline:        7.0-h7b6447c_5         
    scipy:           1.1.0-py35hfa4b5c9_1   
    setuptools:      40.2.0-py35_0          
    sqlite:          3.27.2-h7b6447c_0      
    tk:              8.6.8-hbc83047_0       
    wheel:           0.31.1-py35_0          
    xz:              5.2.4-h14c3975_4       
    zlib:            1.2.11-h7b6447c_3      

Proceed ([y]/n)? 

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
 ~ $ conda activate O35
(O35)  ~ $ pip install --upgrade pip
Collecting pip
  Using cached https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl
mkl-random 1.0.1 requires cython, which is not installed.
Installing collected packages: pip
  Found existing installation: pip 10.0.1
    Uninstalling pip-10.0.1:
      Successfully uninstalled pip-10.0.1
Successfully installed pip-19.0.3
(O35)  ~ $ pip install openmdao
Collecting openmdao
Collecting pyparsing (from openmdao)
  Using cached https://files.pythonhosted.org/packages/de/0a/001be530836743d8be6c2d85069f46fecf84ac6c18c7f5fb8125ee11d854/pyparsing-2.3.1-py2.py3-none-any.whl
Collecting six (from openmdao)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pyDOE2 (from openmdao)
Collecting networkx>=2.0 (from openmdao)
Requirement already satisfied: scipy in ./anaconda2/envs/O35/lib/python3.5/site-packages (from openmdao) (1.1.0)
Requirement already satisfied: numpy in ./anaconda2/envs/O35/lib/python3.5/site-packages (from openmdao) (1.15.2)
Collecting decorator>=4.3.0 (from networkx>=2.0->openmdao)
  Using cached https://files.pythonhosted.org/packages/f1/cd/7c8240007e9716b14679bc217a1baefa4432aa30394f7e2ec40a52b1a708/decorator-4.3.2-py2.py3-none-any.whl
Installing collected packages: pyparsing, six, pyDOE2, decorator, networkx, openmdao
Successfully installed decorator-4.3.2 networkx-2.2 openmdao-2.6.0 pyDOE2-1.1.2 pyparsing-2.3.1 six-1.12.0
(O35)  ~ $ 
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55146751

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档