Open rcook opened 3 years ago
Works for me:
$ pip install --user ibt DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Collecting ibt Downloading ibt-0.7.tar.gz (13 kB) Collecting colorama Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB) Collecting pyyaml Downloading PyYAML-5.4.1-cp27-cp27m-macosx_10_9_x86_64.whl (245 kB) |████████████████████████████████| 245 kB 1.1 MB/s Collecting subprocess32 Downloading subprocess32-3.5.4-cp27-cp27m-macosx_10_6_intel.whl (34 kB) Building wheels for collected packages: ibt Building wheel for ibt (setup.py) ... done Created wheel for ibt: filename=ibt-0.7-py2-none-any.whl size=22814 sha256=5dfd97374b25585f8ebc3e83152861750a96f33fe2255ccb3efd6ebca4a77690 Stored in directory: /Users/richard.cook/Library/Caches/pip/wheels/b3/12/d2/5c8a3dbe916cdb8fbc012ffc3dcdec14a96ae3f4fbb4289292 Successfully built ibt Installing collected packages: colorama, pyyaml, subprocess32, ibt Successfully installed colorama-0.4.4 ibt-0.7 pyyaml-5.4.1 subprocess32-3.5.4 WARNING: You are using pip version 20.2.3; however, version 20.3.4 is available. You should consider upgrading via the '/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -m pip install --upgrade pip' command.
I wonder if you have a newer version of pip...
$ pip --version pip 20.2.3 from /Users/richard.cook/Library/Python/2.7/lib/python/site-packages/pip (python 2.7)
Joerg has pip 21.0. The fix is to upgrade ibt to Python 3.x.
pip install --user ibt Collecting ibt Using cached ibt-0.7.tar.gz (13 kB) ERROR: Command errored out with exit status 1: command: /Applications/Xcode.app/Contents/Developer/usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cn/vx_z6z0s4dq4q42xxrg1tq340000gp/T/pip-install-g1vx65mg/ibt_fb668dd7983a42e8aae2d38b68c506da/setup.py'"'"'; file='"'"'/private/var/folders/cn/vx_z6z0s4dq4q42xxrg1tq340000gp/T/pip-install-g1vx65mg/ibt_fb668dd7983a42e8aae2d38b68c506da/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 /private/var/folders/cn/vxz6z0s4dq4q42xxrg1tq340000gp/T/pip-pip-egg-info-rqsyb3t cwd: /private/var/folders/cn/vx_z6z0s4dq4q42xxrg1tq340000gp/T/pip-install-g1vx65mg/ibt_fb668dd7983a42e8aae2d38b68c506da/ Complete output (159 lines): Traceback (most recent call last): File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/core.py", line 148, in setup dist.run_commands() File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 172, in run cmd = self.call_command('install_lib', warn_dir=0) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 158, in call_command self.run_command(cmdname) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/command/install_lib.py", line 15, in run self.byte_compile(outfiles) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/command/install_lib.py", line 132, in byte_compile byte_compile(files, optimize=0, File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/util.py", line 466, in byte_compile compile(file, cfile, dfile) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/py_compile.py", line 157, in compile os.makedirs(dirname) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) [Previous line repeated 2 more times] File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/os.py", line 223, in makedirs mkdir(name, mode) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 310, in wrap path = self._remap_input(name, path, *args, *kw) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 452, in _remap_input self._violation(operation, os.path.realpath(path), args, **kw) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 407, in _violation raise SandboxViolation(operation, args, kw) setuptools.sandbox.SandboxViolation: SandboxViolation: mkdir('/Users/jhallmann/Library/Caches/com.apple.python/private/var/folders/cn/vx_z6z0s4dq4q42xxrg1tq340000gp/T/easy_install-v75o66nh', 511) {}