久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

在 Anaconda Python (Linux) 中安裝 Matlab 引擎

Install Matlab engine in Anaconda Python (Linux)(在 Anaconda Python (Linux) 中安裝 Matlab 引擎)
本文介紹了在 Anaconda Python (Linux) 中安裝 Matlab 引擎的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我正在嘗試使用 anaconda python 3.4 在 CentOS 7 上為 Matlab R2016a 安裝 Matlab Engine for Python.

I'm trying to install Matlab Engine for Python on CentOS 7 for Matlab R2016a using anaconda python 3.4.

我執行了以下命令:

source activate py34 # Default is python 3.5
python setup.py install

輸出是:

running install
running build
running build_py
running install_lib
creating /root/.local/lib/python2.7/site-packages/matlab
creating /root/.local/lib/python2.7/site-packages/matlab/_internal
copying build/lib/matlab/_internal/mlarray_sequence.py -> /root/.local/lib/python2.7/site-packages/matlab/_internal
copying build/lib/matlab/_internal/__init__.py -> /root/.local/lib/python2.7/site-packages/matlab/_internal
copying build/lib/matlab/_internal/mlarray_utils.py -> /root/.local/lib/python2.7/site-packages/matlab/_internal
copying build/lib/matlab/mlarray.py -> /root/.local/lib/python2.7/site-packages/matlab
creating /root/.local/lib/python2.7/site-packages/matlab/engine
copying build/lib/matlab/engine/engineerror.py -> /root/.local/lib/python2.7/site-packages/matlab/engine
copying build/lib/matlab/engine/futureresult.py -> /root/.local/lib/python2.7/site-packages/matlab/engine
copying build/lib/matlab/engine/fevalfuture.py -> /root/.local/lib/python2.7/site-packages/matlab/engine
copying build/lib/matlab/engine/basefuture.py -> /root/.local/lib/python2.7/site-packages/matlab/engine
copying build/lib/matlab/engine/matlabengine.py -> /root/.local/lib/python2.7/site-packages/matlab/engine
copying build/lib/matlab/engine/__init__.py -> /root/.local/lib/python2.7/site-packages/matlab/engine
copying build/lib/matlab/engine/enginesession.py -> /root/.local/lib/python2.7/site-packages/matlab/engine
copying build/lib/matlab/engine/_arch.txt -> /root/.local/lib/python2.7/site-packages/matlab/engine
copying build/lib/matlab/engine/matlabfuture.py -> /root/.local/lib/python2.7/site-packages/matlab/engine
copying build/lib/matlab/mlexceptions.py -> /root/.local/lib/python2.7/site-packages/matlab
copying build/lib/matlab/__init__.py -> /root/.local/lib/python2.7/site-packages/matlab
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/_internal/mlarray_sequence.py to mlarray_sequence.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/_internal/__init__.py to __init__.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/_internal/mlarray_utils.py to mlarray_utils.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/mlarray.py to mlarray.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/engine/engineerror.py to engineerror.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/engine/futureresult.py to futureresult.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/engine/fevalfuture.py to fevalfuture.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/engine/basefuture.py to basefuture.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/engine/matlabengine.py to matlabengine.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/engine/__init__.py to __init__.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/engine/enginesession.py to enginesession.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/engine/matlabfuture.py to matlabfuture.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/mlexceptions.py to mlexceptions.pyc
byte-compiling /root/.local/lib/python2.7/site-packages/matlab/__init__.py to __init__.pyc
running install_egg_info
Writing /root/.local/lib/python2.7/site-packages/matlabengineforpython-R2016a-py2.7.egg-info

它以某種方式將 matlab 引擎安裝到系統的 python 版本中,而不是 anaconda 的 py34 虛擬環境.我在 OSX 上注意到 this 并且它在我的 Mac 上工作!任何人都可以在 CentOS 上提供幫助嗎?

It somehow install matlab engine into system's python version other than anaconda's py34 virtual env. I noticed this on OSX and it does work on my mac! Anyone can help with this on CentOS?

推薦答案

cd "matlabrootexternenginespython"
python setup.py install --prefix="installdir"

對于 Unix (OSX10) python2.7,使用 Anaconda

For Unix (OSX10) python2.7, using Anaconda

cd /Applications/MATLAB_R2015a.app/extern/engines/python
python setup.py install --prefix="/Users/user/anaconda/"

這是 Matlab 文檔:

Here is the Matlab Document:

https://www.mathworks.com/help/matlab/matlab_external/install-matlab-engine-api-for-python-in-nondefault-locations.html

這篇關于在 Anaconda Python (Linux) 中安裝 Matlab 引擎的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Troubles while parsing with python very large xml file(使用 python 解析非常大的 xml 文件時出現問題)
Find all nodes by attribute in XML using Python 2(使用 Python 2 在 XML 中按屬性查找所有節點)
Python - How to parse xml response and store a elements value in a variable?(Python - 如何解析 xml 響應并將元素值存儲在變量中?)
How to get XML tag value in Python(如何在 Python 中獲取 XML 標記值)
How to correctly parse utf-8 xml with ElementTree?(如何使用 ElementTree 正確解析 utf-8 xml?)
Parse XML from URL into python object(將 XML 從 URL 解析為 python 對象)
主站蜘蛛池模板: 狠狠狠 | 在线观看中文字幕 | 国产一级成人 | 国产一区在线免费观看视频 | 天天想天天干 | 韩国毛片视频 | 中文字幕影院 | 亚洲免费人成在线视频观看 | 一区二区三区免费 | 免费午夜视频在线观看 | 精品三级在线观看 | 免费99精品国产自在在线 | 亚洲精品久久久久久久久久久久久 | 国产成人高清在线观看 | 精品网 | 精品视频一区二区三区 | 久久精品中文字幕 | 日韩av黄色 | 久久99精品久久久久久国产越南 | 欧美成人专区 | 久久久99精品免费观看 | 久久99精品久久久久子伦 | 欧美激情视频网站 | 日韩在线观看视频一区 | 日本又色又爽又黄又高潮 | 欧美一区二区三区的 | 久久国内精品 | 亚洲视频网 | 成人三级av| 亚洲一区二区三区四区五区午夜 | 99精品电影 | 久久综合影院 | wwww.xxxx免费| www.伊人.com| 国产精品精品久久久 | 色姑娘综合网 | 天天干天天操天天看 | 日韩欧美在线视频 | 久久精品国产亚洲a | 日韩视频91 | 天天干天天插天天 |