Closed lu0079 closed 5 years ago
That sounds like a setuptools error. Recommend you upgrade setuptools and pip. If that doesn't address it, can you paste the output of pip list
here?
Hmm... can't see anything obviously wrong. What about pip list -v
?
Package Version Location Installer
----------------------------- ---------------------- ---------------------------------------------- ---------
apturl 0.5.2 /usr/lib/python3/dist-packages
atomicwrites 1.3.0 /home/linus/.local/lib/python3.5/site-packages pip
attrs 19.1.0 /home/linus/.local/lib/python3.5/site-packages pip
beautifulsoup4 4.4.1 /usr/lib/python3/dist-packages
blinker 1.3 /usr/lib/python3/dist-packages
Brlapi 0.6.4 /usr/lib/python3/dist-packages
chardet 2.3.0 /usr/lib/python3/dist-packages
checkbox-support 0.22 /usr/lib/python3/dist-packages
command-not-found 0.3 /usr/lib/python3/dist-packages
cryptography 1.2.3 /usr/lib/python3/dist-packages
defer 1.0.6 /usr/lib/python3/dist-packages
feedparser 5.1.3 /usr/lib/python3/dist-packages
guacamole 0.9.2 /usr/lib/python3/dist-packages
html5lib 0.999 /usr/lib/python3/dist-packages
httplib2 0.9.1 /usr/lib/python3/dist-packages
idna 2.0 /usr/lib/python3/dist-packages
Jinja2 2.8 /usr/lib/python3/dist-packages
language-selector 0.1 /usr/lib/python3/dist-packages
louis 2.6.4 /usr/lib/python3/dist-packages
lxml 3.5.0 /usr/lib/python3/dist-packages
Mako 1.0.3 /usr/lib/python3/dist-packages
MarkupSafe 0.23 /usr/lib/python3/dist-packages
more-itertools 6.0.0 /home/linus/.local/lib/python3.5/site-packages pip
numpy 1.16.2 /home/linus/.local/lib/python3.5/site-packages pip
oauthlib 1.0.3 /usr/lib/python3/dist-packages
onboard 1.2.0 /usr/lib/python3/dist-packages
opencv-python 4.0.0.21 /home/linus/.local/lib/python3.5/site-packages pip
padme 1.1.1 /usr/lib/python3/dist-packages
pathlib2 2.3.3 /home/linus/.local/lib/python3.5/site-packages pip
pexpect 4.0.1 /usr/lib/python3/dist-packages
Pillow 3.1.2 /usr/lib/python3/dist-packages
Pint 0.9 /home/linus/.local/lib/python3.5/site-packages pip
pip 19.0.3 /usr/local/lib/python3.5/dist-packages pip
plainbox 0.25 /usr/lib/python3/dist-packages
pluggy 0.9.0 /home/linus/.local/lib/python3.5/site-packages pip
ptyprocess 0.5 /usr/lib/python3/dist-packages
py 1.8.0 /home/linus/.local/lib/python3.5/site-packages pip
pyasn1 0.1.9 /usr/lib/python3/dist-packages
pybind11 2.2.2 /usr/local/lib/python3.5/dist-packages pip
pycups 1.9.73 /usr/lib/python3/dist-packages
pycurl 7.43.0 /usr/lib/python3/dist-packages
pyfrc 2019.1.0 /home/linus/.local/lib/python3.5/site-packages pip
pygobject 3.20.0 /usr/lib/python3/dist-packages
PyJWT 1.3.0 /usr/lib/python3/dist-packages
pynetconsole 2.0.2 /home/linus/.local/lib/python3.5/site-packages pip
pynetworktables 2019.0.2 /home/linus/.local/lib/python3.5/site-packages pip
pyparsing 2.0.3 /usr/lib/python3/dist-packages
pyserial 3.4 /home/linus/.local/lib/python3.5/site-packages pip
pytest 4.3.0 /home/linus/.local/lib/python3.5/site-packages pip
python-apt 1.1.0b1+ubuntu0.16.4.2 /usr/lib/python3/dist-packages
python-debian 0.1.27 /usr/lib/python3/dist-packages
python-systemd 231 /usr/lib/python3/dist-packages
pyxdg 0.25 /usr/lib/python3/dist-packages
reportlab 3.3.0 /usr/lib/python3/dist-packages
requests 2.9.1 /usr/lib/python3/dist-packages
robotpy-ctre 2019.3.2 /usr/local/lib/python3.5/dist-packages pip
robotpy-hal-base 2019.2.1 /home/linus/.local/lib/python3.5/site-packages pip
robotpy-hal-sim 2019.2.1 /home/linus/.local/lib/python3.5/site-packages pip
robotpy-installer 2019.2.0 /home/linus/.local/lib/python3.5/site-packages pip
robotpy-pathfinder 0.2.5 /usr/local/lib/python3.5/dist-packages
robotpy-wpilib-utilities 2019.0.7 /home/linus/.local/lib/python3.5/site-packages pip
sessioninstaller 0.0.0 /usr/lib/python3/dist-packages
setuptools 40.8.0 /home/linus/.local/lib/python3.5/site-packages pip
six 1.12.0 /home/linus/.local/lib/python3.5/site-packages pip
system-service 0.3 /usr/lib/python3/dist-packages
ubuntu-drivers-common 0.0.0 /usr/lib/python3/dist-packages
ufw 0.35 /usr/lib/python3/dist-packages
unattended-upgrades 0.1 /usr/lib/python3/dist-packages
unity-scope-calculator 0.1 /usr/lib/python3/dist-packages
unity-scope-chromiumbookmarks 0.1 /usr/lib/python3/dist-packages
unity-scope-colourlovers 0.1 /usr/lib/python3/dist-packages
unity-scope-devhelp 0.1 /usr/lib/python3/dist-packages
unity-scope-firefoxbookmarks 0.1 /usr/lib/python3/dist-packages
unity-scope-gdrive 0.7 /usr/lib/python3/dist-packages
unity-scope-manpages 0.1 /usr/lib/python3/dist-packages
unity-scope-openclipart 0.1 /usr/lib/python3/dist-packages
unity-scope-texdoc 0.1 /usr/lib/python3/dist-packages
unity-scope-tomboy 0.1 /usr/lib/python3/dist-packages
unity-scope-virtualbox 0.1 /usr/lib/python3/dist-packages
unity-scope-yelp 0.1 /usr/lib/python3/dist-packages
unity-scope-zotero 0.1 /usr/lib/python3/dist-packages
urllib3 1.13.1 /usr/lib/python3/dist-packages
usb-creator 0.3.0 /usr/lib/python3/dist-packages
wheel 0.33.0 /home/linus/.local/lib/python3.5/site-packages pip
wpilib 2019.2.1 /home/linus/.local/lib/python3.5/site-packages pip
xdiagnose 3.8.4.1 /usr/lib/python3/dist-packages
xkit 0.0.0 /usr/lib/python3/dist-packages
XlsxWriter 0.7.3 /usr/lib/python3/dist-packages
Looking at that output, I'm convinced you probably have mismatching versions of pip and setuptools at the system level. I can't say for certain though, since setuptools in that list is installed in your user, rather than from the system.
I also note that you have robotpy-ctre and robotpy-pathfinder installed at the system level, but other parts of RobotPy installed in your user site-packages.
Protips: never run pip as root, and don't try to use pip to manage packages installed by the OS package manager.
Good luck.
pip3 install --upgrade pip setuptools Requirement already up-to-date: pip in /usr/local/lib/python3.5/dist-packages (19.0.3) Requirement already up-to-date: setuptools in /home/linus/.local/lib/python3.5/site-packages (40.8.0)
It tells me its all up to date? Unless I'm missing something? Is there any other likely potential causes?
You could try downgrading to an older version of pip. It feels like there's something else going on here though.
Also I note that you have opencv-python installed, and unfortunately cscore won't work with that (see #4). While this (probably?) isn't the cause of your issue, once you figure this out you'll run into that.
Have you tried using the --no-build-isolation
flag to pip install? The installation instructions recommend this.
Resolved through setting up virtual environment and affixing the --no-build-isolation flag. Thanks! :D
Awesome. Your system is probably still broken though.
While trying to install cscore, I get this message