sc1
#1
Looking forward to getting started with sixfab, but ran into a bit of an unexpected roadblock.
Following it’s instructions attempting to install atcom via pip:
sudo pip3 install --no-cache-dir -U atcom
results in:
Any idea what this could be?
Python version: Python 3.7.3
Pip version: pip 18.1
cat /etc/os-release:
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Thanks for any insight that can be provided
sc1
#2
I’ll update if I manage to find a fix. In the mean time if there’s anything else I can add to help you help me. Let me know
sc1
#3
I was able to fix this by upgrading pip.
For anyone interested, pip issue: TypeError: expected string or bytes-like object - When doing pip install, or upgrading pip. · Issue #11343 · pypa/pip · GitHub
And the fix:
curl https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
sudo because the sixfab script uses sudo
when installing atcom
If you want to use the same version of pip without sudo then use the revised command:
curl https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
python3 get-pip.py
But you’d be better off using a virtualenv for libs that don’t require sudo