mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-23 17:27:25 +00:00
updated with new venv command
This commit is contained in:
parent
d32c1dfbb3
commit
6614ab8e79
1 changed files with 6 additions and 9 deletions
15
INSTALL.md
15
INSTALL.md
|
@ -13,10 +13,6 @@ Running `lbrynet` from source requires Python 3.6 or higher (3.7 is preferred).
|
||||||
|
|
||||||
After installing python 3, you'll need to install some additional libraries depending on your operating system.
|
After installing python 3, you'll need to install some additional libraries depending on your operating system.
|
||||||
|
|
||||||
### Virtualenv
|
|
||||||
|
|
||||||
Once python 3 is installed run `python3 -m pip install virtualenv` to install virtualenv.
|
|
||||||
|
|
||||||
### macOS
|
### macOS
|
||||||
|
|
||||||
macOS users will need to install [xcode command line tools](https://developer.xamarin.com/guides/testcloud/calabash/configuring/osx/install-xcode-command-line-tools/) and [homebrew](http://brew.sh/).
|
macOS users will need to install [xcode command line tools](https://developer.xamarin.com/guides/testcloud/calabash/configuring/osx/install-xcode-command-line-tools/) and [homebrew](http://brew.sh/).
|
||||||
|
@ -32,7 +28,7 @@ brew install python3 protobuf
|
||||||
On Ubuntu (we recommend 18.04), install the following:
|
On Ubuntu (we recommend 18.04), install the following:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt-get install build-essential python3.7 python3.7-dev git python-virtualenv libssl-dev python-protobuf
|
sudo apt-get install build-essential python3.7 python3.7-dev git python3-venv libssl-dev python-protobuf
|
||||||
```
|
```
|
||||||
|
|
||||||
On Raspbian, you will also need to install `python-pyparsing`.
|
On Raspbian, you will also need to install `python-pyparsing`.
|
||||||
|
@ -47,12 +43,13 @@ To install:
|
||||||
git clone https://github.com/lbryio/lbry.git
|
git clone https://github.com/lbryio/lbry.git
|
||||||
cd lbry
|
cd lbry
|
||||||
|
|
||||||
Linux/Mac:
|
Creating venv:
|
||||||
virtualenv lbry-venv --python=python3.7
|
python3 -m venv lbry-venv
|
||||||
|
|
||||||
|
Activating lbry-venv on Linux/Mac:
|
||||||
source lbry-venv/bin/activate
|
source lbry-venv/bin/activate
|
||||||
|
|
||||||
Windows:
|
Activating lbry-venv on Windows:
|
||||||
virtualenv lbry-venv --python=python
|
|
||||||
lbry-venv\Scripts\activate
|
lbry-venv\Scripts\activate
|
||||||
|
|
||||||
python --version # Python 2 is not supported. Make sure you're on Python 3.7
|
python --version # Python 2 is not supported. Make sure you're on Python 3.7
|
||||||
|
|
Loading…
Add table
Reference in a new issue