StreisandEffect / streisand

Streisand sets up a new server running your choice of WireGuard, OpenConnect, OpenSSH, OpenVPN, Shadowsocks, sslh, Stunnel, or a Tor bridge. It also generates custom instructions for all of these services. At the end of the run you are given an HTML file with instructions that can be shared with friends, family members, and fellow activists.
https://twitter.com/streisandvpn
Other
23.2k stars 1.99k forks source link

error setting up venv in Ubuntu 18.04 LTS #1712

Open mediter opened 4 years ago

mediter commented 4 years ago

following the installation instructions: https://github.com/StreisandEffect/streisand/blob/master/Installation.md

Expected behavior:

Install all the necessary packages without error

Actual Behavior:

when running ./util/venv-dependencies.sh ./venv

it installs pbr version 1.10.1

Collecting pbr<2.0,>=1.6
  Downloading pbr-1.10.0-py2.py3-none-any.whl (96 kB)

however, several packages requires pbr!=2.1.0,>=2.0.0

ERROR: oslo-i18n 3.25.1 has requirement pbr!=2.1.0,>=2.0.0, but you'll have pbr 1.10.0 which is incompatible.
ERROR: debtcollector 2.0.0 has requirement pbr!=2.1.0,>=2.0.0, but you'll have pbr 1.10.0 which is incompatible.
ERROR: oslo-utils 4.0.0 has requirement pbr!=2.1.0,>=2.0.0, but you'll have pbr 1.10.0 which is incompatible.
ERROR: oslo-serialization 3.0.0 has requirement pbr!=2.1.0,>=2.0.0, but you'll have pbr 1.10.0 which is incompatible.
ERROR: stevedore 1.31.0 has requirement pbr!=2.1.0,>=2.0.0, but you'll have pbr 1.10.0 which is incompatible.
ERROR: os-service-types 1.7.0 has requirement pbr!=2.1.0,>=2.0.0, but you'll have pbr 1.10.0 which is incompatible.
ERROR: keystoneauth1 3.18.0 has requirement pbr!=2.1.0,>=2.0.0, but you'll have pbr 1.10.0 which is incompatible.
ERROR: python-keystoneclient 3.22.0 has requirement pbr!=2.1.0,>=2.0.0, but you'll have pbr 1.10.0 which is incompatible.

Steps to Reproduce:

Ubuntu 18.04 LTS, Nanode 1GB: 1 CPU, 25GB Storage, 1GB RAM

sudo apt update

apt list --upgradable

sudo apt upgrade

sudo apt-get install --fix-missing git python3 python3-venv

git clone https://github.com/StreisandEffect/streisand.git && cd streisand

./util/venv-dependencies.sh ./venv

after the last command, it warns build-essential python3-pip python3-dev python3-setuptools python-cffi libffi-dev libssl-dev libcurl4-openssl-dev are missing

apt-get install build-essential python3-pip python3-dev python3-setuptools python-cffi libffi-dev libssl-dev libcurl4-openssl-dev

./util/venv-dependencies.sh ./venv

Also the same errors shows up when following the installation instructions on macOS 10.15.3 (19D76)

The main question is "can these errors be safely ignored?"

nopdotcom commented 4 years ago

These answers can be safely ignored.

What kind of warning should I write to say "There will be a bunch of warnings about pbr, but they should be ignored?"