I’m trying to install the hologram API via:
I’m trying to install on a fresh new Amazon EC2 instance with Ubuntu 16.02 TLS Server and am getting this error…
ubuntu@ip-172-31-36-116:~$ curl -L hologram.io/python-install | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 1615 0 --:--:-- --:--:-- --:--:-- 1618
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3450 100 3450 0 0 4510 0 --:--:-- --:--:-- --:--:-- 4510
Linux system detected
Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
python is already installed.
ps is already installed.
kill is already installed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpython2.7-dev is already the newest version (2.7.12-1ubuntu0~16.04.4).
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
ip is already installed.
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
What’s wrong here? I’m blocked from using the CLI
Also a few other annoying issues that a small update would help:
- The hologram CLI won’t install on Mac OSX. Docs should say it required a Debian linux, or at least with apt-get.
- The hologram CLI also won’t install on Amazon Linux w yum. Again, docs should say something about what flavor is supported
- That doc says that “PPP” is a dependency, but what is PPP? Is that an abbreviation for something?
- curl into bash is such a generally bad practice. Have you considered making it available via a pip package someone could “pip install hologram”?