Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the installation instruction #152

Merged
merged 2 commits into from
Nov 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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