美文网首页
UNIX系统安装 Mosek

UNIX系统安装 Mosek

作者: Peggy_623 | 来源:发表于2018-07-24 23:57 被阅读0次

作者注:包括在max os和ubuntu上安装Mosek。无参考价值,个人备忘。

1. Mosek简介

请参考Mosek官网:Mosek Aps

2. 安装步骤:

⚠️If MOSEK is not only used from Python, 请参考官网教程。

1. pip 安装

pip install -f https://download.mosek.com/stable/wheel/index.html Mosek --user

如果这个过程没有问题,会显示:
Successfully installed mosey-版本号
⚠️pip 是什么版本,就使用什么版本的python导入mosek模块。举个例子:
我在服务器sever1中使用的是python2.7和pip这一套,按照上述命令安装mosek之后,import mosey.fusion时告诉我没有安装numpy,这是我使用命令:

pip install numpy

安装numpy。但是在server2中使用的是python3.5和pip3这一套,则使用指令:

pip3 install -f https://download.mosek.com/stable/wheel/index.html Mosek --user

安装mosek之后,import mosey.fusion时告诉我没有安装numpy,这是我使用命令:

pip3 install bumpy

安装numpy。使用指令:

sudo apt-get install python-numpy

安装numpy就不行。未知原因:(

2. Set up a license. See the Licensing guide for instructions.

UNIX系统,将mosek.lic放在:

$HOME/mosek/mosek.lic

注意:这里的HOME指的是/root
If the folder mosekin the home directory does not exists, then it should be created. The license can be tested with the program msktestlic. For further information about the license system, and other non-standard ways of setting up the license, please consult the License Guide.:

相关文章

  • UNIX系统安装 Mosek

    作者注:包括在max os和ubuntu上安装Mosek。无参考价值,个人备忘。 1. Mosek简介 请参考Mo...

  • Python Web 简明开发使用教程

    1 Linux的安装与配置 1.1 更新系统文件 1.2 安装nano文本编辑器nano是Unix和类Unix系统...

  • linux1-安装与登入(VM+RHEL9+SSH)

    一、Linux的安装 二、登录Unix/Linux系统方式:

  • Git客户端部署

    安装Git应用Windows系统:Git for Windows,下载并安装,所有选项使用默认。类Unix系统:G...

  • 建立本地的web服务器

    Python——适用于大多数UNIX/Mac系统 大多数的UNIX/Linux/Mac系统都已经安装了python...

  • Gerrit安装

    Gerrit安装 本文是以安装gerrit-2.14为例。 操作系统 Unix或Linux系统。本文的安装步骤是在...

  • 在Mac OS X上安装 Ruby运行环境

    系统需求 Mac OS X 步骤0 - 安装系统需要的包 先安装 Xcode 开发工具,它将帮你安装好 Unix ...

  • pg_ctl

    在UNIX平台中安装PostgreSQL之后,PostgreSQL会在UNIX系统中创建一个名为“postgres...

  • 配置homebrew

    homebrew 为什么需要homebrew? Mac OS X是基于Unix的操作系统,可以安装大部分为Unix...

  • Ruby安装

    步骤0 - 安装系统需要的包 For Mac先安装 Xcode 开发工具,它将帮你安装好 Unix 环境需要的开发...

网友评论

      本文标题:UNIX系统安装 Mosek

      本文链接:https://www.haomeiwen.com/subject/iksemftx.html