-
Notifications
You must be signed in to change notification settings - Fork 689
Description
System
- **Operating System: Ubuntu 18:04 **
- Hardware: Nvidia Jetson Xavier Nx
- Python Version: 3.6.9
- PyBluez Version: 0.30
Issue
It seems that the setuptools project removed support for the 2to3 ( and probably all other python2 support) a couple weeks ago. This project makes use of it. Issue can be replicated by simply trying to install PyBluez with a setuptools>=58.0.0
The output log I got is :
Defaulting to user installation because normal site-packages is not writeable
Collecting PyBluez
Using cached PyBluez-0.23.tar.gz (97 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7ijw4hba/pybluez_a6bdd9760821482c9cadeb1ed00fc09a/setup.py'"'"'; file='"'"'/tmp/pip-install-7ijw4hba/pybluez_a6bdd9760821482c9cadeb1ed00fc09a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-4kiw9y2x
cwd: /tmp/pip-install-7ijw4hba/pybluez_a6bdd9760821482c9cadeb1ed00fc09a/
Complete output (1 lines):
error in PyBluez setup command: use_2to3 is invalid.
----------------------------------------