Skip to content

Commit

Permalink
Improve the installation instruction (#152)
Browse files Browse the repository at this point in the history
Co-authored-by: Yichen Wang <18348405+Aiee@users.noreply.github.com>
  • Loading branch information
greyli and Aiee committed Nov 9, 2021
1 parent 819d154 commit c166a4f
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ Before you start, please read this section to choose the right branch for you. I

## How to get nebula2-python

### Option one: clone from GitHub
### Option one: install with pip

```python
pip install nebula2-python==$version
```

### Option two: install from the source code

- Clone from GitHub

Expand All @@ -49,23 +55,7 @@ cd nebula-python
- Install

```python
sudo python3 setup.py install
```

When your environment cannot access `pypi`, you need to install the following packages manually.

```
pip install -r requirements.txt
```
dev version
```
pip install -r requirements-dev.txt
```

### Option two: using pip

```python
pip install nebula2-python==$version
pip install .
```

## Quick example to use graph-client to connect graphd
Expand Down

0 comments on commit c166a4f

Please sign in to comment.