mirror of https://github.com/Jittor/Jittor
update os install
This commit is contained in:
parent
8e4e2fd9fa
commit
c6404e29f3
|
@ -89,7 +89,7 @@ for i,(x,y) in enumerate(get_data(n)):
|
|||
Jittor框架对环境要求如下:
|
||||
|
||||
|
||||
* 操作系统: **Ubuntu** >= 16.04 或 **Windows Subsystem of Linux(WSL)**
|
||||
* 操作系统: **Linux**(e.g. Ubuntu/CentOS/Arch) 或 **Windows Subsystem of Linux(WSL)**
|
||||
* 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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -113,7 +113,7 @@ We provide some jupyter notebooks to help you quick start with Jittor.
|
|||
Jittor框架对环境要求如下:
|
||||
|
||||
|
||||
* 操作系统: **Ubuntu** >= 16.04 或 **Windows Subsystem of Linux(WSL)**
|
||||
* 操作系统: **Linux**(e.g. Ubuntu/CentOS/Arch) 或 **Windows Subsystem of Linux(WSL)**
|
||||
* Python:版本 >= 3.7
|
||||
* C++编译器 (需要下列至少一个)
|
||||
- g++ (>=5.4.0)
|
||||
|
@ -130,7 +130,7 @@ Jittor 提供了三种安装方法:docker,pip和手动安装:
|
|||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue