update os install

This commit is contained in:
Dun Liang 2021-05-15 15:59:58 +08:00
parent 8e4e2fd9fa
commit c6404e29f3
5 changed files with 10 additions and 9 deletions

View File

@ -89,7 +89,7 @@ for i,(x,y) in enumerate(get_data(n)):
Jittor框架对环境要求如下:
* 操作系统: **Ubuntu** >= 16.04 或 **Windows Subsystem of LinuxWSL**
* 操作系统: **Linux**(e.g. Ubuntu/CentOS/Arch) 或 **Windows Subsystem of LinuxWSL**
* Python版本 >= 3.7
* C++编译器 (需要下列至少一个)
- g++ >=5.4.0
@ -131,8 +131,8 @@ docker run -it -p 8888:8888 jittor/jittor
## Pip 安装
如果您没有准备好环境或者使用的不是Ubuntu操作系统 推荐使用**docker安装** 如果您已经装好编译器和对应版本的Python,我们强烈推荐您使用这种方法
(如果无法访问github, 可以通过jittor主页下载):
下面将展示Ubuntu的安装命令如果您在使用其他Linux操作系统如CentOS 请安装好依赖Python>=3.7, g++>=5.4)或者使用**docker安装** 如果您已经装好编译器和对应版本的Python,我们强烈推荐您使用这种方法
(如果无法访问github, 可以通过Jittor主页下载):
```bash
sudo apt install python3.7-dev libomp-dev

View File

@ -94,7 +94,7 @@ We provide some jupyter notebooks to help you quick start with Jittor.
Jittor environment requirements:
* System: **Ubuntu** >= 16.04 (or **Windows** Subsystem of Linux)
* System: **Linux**(e.g. Ubuntu/CentOS/Arch) (or **Windows** Subsystem of Linux)
* Python version >= 3.7
* CPU compiler (require at least one of the following)
* g++ (>=5.4.0)

View File

@ -113,7 +113,7 @@ We provide some jupyter notebooks to help you quick start with Jittor.
Jittor框架对环境要求如下:
* 操作系统: **Ubuntu** >= 16.04 或 **Windows Subsystem of LinuxWSL**
* 操作系统: **Linux**(e.g. Ubuntu/CentOS/Arch) 或 **Windows Subsystem of LinuxWSL**
* Python版本 >= 3.7
* C++编译器 (需要下列至少一个)
- g++ >=5.4.0
@ -130,7 +130,7 @@ Jittor 提供了三种安装方法dockerpip和手动安装
Jittor environment requirements:
* System: **Ubuntu** >= 16.04 (or **Windows** Subsystem of Linux)
* System: **Linux**(e.g. Ubuntu/CentOS/Arch) (or **Windows** Subsystem of Linux)
* Python version >= 3.7
* CPU compiler (require at least one of the following)
* g++ (>=5.4.0)
@ -169,8 +169,8 @@ docker run -it -p 8888:8888 jittor/jittor
## Pip install
如果您没有准备好环境或者使用的不是Ubuntu操作系统 推荐使用**docker安装** 如果您已经装好编译器和对应版本的Python,我们强烈推荐您使用这种方法
(如果无法访问github, 可以通过jittor主页下载):
下面将展示Ubuntu的安装命令如果您在使用其他Linux操作系统如CentOS 请安装好依赖Python>=3.7, g++>=5.4)或者使用**docker安装** 如果您已经装好编译器和对应版本的Python,我们强烈推荐您使用这种方法
(如果无法访问github, 可以通过Jittor主页下载):
```bash
sudo apt install python3.7-dev libomp-dev

View File

@ -9,7 +9,7 @@
# file 'LICENSE.txt', which is part of this source code package.
# ***************************************************************
__version__ = '1.2.3.7'
__version__ = '1.2.3.8'
from . import lock
with lock.lock_scope():
ori_int = int

View File

@ -20,6 +20,7 @@ def run_cmd(cmd):
# redhat8: docker run -it --name test registry.access.redhat.com/ubi8/ubi:8.1 bash
# fedora: docker run -it fedora
# archlinux: ???
# pacman fix: https://github.com/qutebrowser/qutebrowser/commit/478e4de7bd1f26bebdcdc166d5369b2b5142c3e2
# manjaro: ???
def run_in_centos(env):