Skip to content

Instantly share code, notes, and snippets.

@njgrisafi
Created January 11, 2022 21:46
Show Gist options
  • Save njgrisafi/54c70f0d9c3a0c4738c12a2c19dcbfbc to your computer and use it in GitHub Desktop.
Save njgrisafi/54c70f0d9c3a0c4738c12a2c19dcbfbc to your computer and use it in GitHub Desktop.
Pants debug output
jjli@jingjings-mbp  ~/rippling-main   master ?  ./pants -ldebug version  ✔  1373  13:44:13
Bootstrapping Pants using /Users/jjli/.pyenv/shims/python3.9
Creating the virtualenv PEX.
Downloading the Pex PEX.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 640 100 640 0 0 2510 0 --:--:-- --:--:-- --:--:-- 2539
100 3529k 100 3529k 0 0 3152k 0 0:00:01 0:00:01 --:--:-- 11.8M
SHA256 fingerprint of https://github.com/pantsbuild/pex/releases/download/v2.1.42/pex verified.
Installing pantsbuild.pants==2.7.0 into a virtual environment at /Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/2.7.0_py39
created virtual environment CPython3.9.5.final.0-64 in 172ms
creator CPython3Posix(dest=/Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/pants.6KPRax/install, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/jjli/Library/Application Support/virtualenv)
added seed packages: pip==21.1.2, setuptools==57.0.0, wheel==0.36.2
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
Requirement already satisfied: pip in /Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/pants.6KPRax/install/lib/python3.9/site-packages (21.1.2)
Collecting pip
Using cached pip-21.3.1-py3-none-any.whl (1.7 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.1.2
Uninstalling pip-21.1.2:
Successfully uninstalled pip-21.1.2
Successfully installed pip-21.3.1
Collecting pantsbuild.pants==2.7.0
Using cached pantsbuild.pants-2.7.0-cp39-cp39-macosx_11_0_arm64.whl (8.9 MB)
Requirement already satisfied: setuptools<58.0,>=56.0.0 in /Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/pants.6KPRax/install/lib/python3.9/site-packages (from pantsbuild.pants==2.7.0) (57.0.0)
Collecting types-PyYAML==5.4.3
Using cached types_PyYAML-5.4.3-py2.py3-none-any.whl (12 kB)
Collecting PyYAML<5.5,>=5.4
Using cached PyYAML-5.4.1-cp39-cp39-macosx_12_0_arm64.whl
Collecting packaging==21.0
Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting ansicolors==1.1.8
Using cached ansicolors-1.1.8-py2.py3-none-any.whl (13 kB)
Collecting psutil==5.8.0
Using cached psutil-5.8.0-cp39-cp39-macosx_12_0_arm64.whl
Collecting toml==0.10.2
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting types-setuptools==57.0.0
Using cached types_setuptools-57.0.0-py3-none-any.whl (4.8 kB)
Collecting fasteners==0.16
Using cached fasteners-0.16-py2.py3-none-any.whl (28 kB)
Collecting ijson==3.1.4
Using cached ijson-3.1.4-py3-none-any.whl
Collecting pex==2.1.44
Using cached pex-2.1.44-py2.py3-none-any.whl (2.6 MB)
Collecting types-toml==0.1.3
Using cached types_toml-0.1.3-py2.py3-none-any.whl (2.1 kB)
Collecting setproctitle==1.2.2
Using cached setproctitle-1.2.2-cp39-cp39-macosx_12_0_arm64.whl
Collecting humbug==0.2.6
Using cached humbug-0.2.6-py3-none-any.whl (11 kB)
Collecting typing-extensions==3.7.4.3
Using cached typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Collecting six
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting requests
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting pyparsing>=2.0.2
Using cached pyparsing-3.0.6-py3-none-any.whl (97 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.10-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Installing collected packages: urllib3, idna, charset-normalizer, certifi, six, requests, pyparsing, typing-extensions, types-toml, types-setuptools, types-PyYAML, toml, setproctitle, PyYAML, psutil, pex, packaging, ijson, humbug, fasteners, ansicolors, pantsbuild.pants
Successfully installed PyYAML-5.4.1 ansicolors-1.1.8 certifi-2021.10.8 charset-normalizer-2.0.10 fasteners-0.16 humbug-0.2.6 idna-3.3 ijson-3.1.4 packaging-21.0 pantsbuild.pants-2.7.0 pex-2.1.44 psutil-5.8.0 pyparsing-3.0.6 requests-2.27.1 setproctitle-1.2.2 six-1.16.0 toml-0.10.2 types-PyYAML-5.4.3 types-setuptools-57.0.0 types-toml-0.1.3 typing-extensions-3.7.4.3 urllib3-1.26.8
New virtual environment successfully created at /Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/2.7.0_py39.
Traceback (most recent call last):
File "/Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/2.7.0_py39/bin/pants", line 5, in <module>
from pants.bin.pants_loader import main
File "/Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/2.7.0_py39/lib/python3.9/site-packages/pants/bin/pants_loader.py", line 20, in <module>
from pants.bin.pants_runner import PantsRunner
File "/Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/2.7.0_py39/lib/python3.9/site-packages/pants/bin/pants_runner.py", line 11, in <module>
from pants.base.exception_sink import ExceptionSink
File "/Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/2.7.0_py39/lib/python3.9/site-packages/pants/base/exception_sink.py", line 15, in <module>
import psutil
File "/Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/2.7.0_py39/lib/python3.9/site-packages/psutil/__init__.py", line 121, in <module>
from . import _psosx as _psplatform
File "/Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/2.7.0_py39/lib/python3.9/site-packages/psutil/_psosx.py", line 15, in <module>
from . import _psutil_osx as cext
ImportError: dlopen(/Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/2.7.0_py39/lib/python3.9/site-packages/psutil/_psutil_osx.cpython-39-darwin.so, 0x0002): tried: '/Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/2.7.0_py39/lib/python3.9/site-packages/psutil/_psutil_osx.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/_psutil_osx.cpython-39-darwin.so' (no such file), '/usr/lib/_psutil_osx.cpython-39-darwin.so' (no such file), '/Users/jjli/.cache/pants/setup/bootstrap-Darwin-arm64/pants.6KPRax/install/lib/python3.9/site-packages/psutil/_psutil_osx.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/_psutil_osx.cpython-39-darwin.so' (no such file), '/usr/lib/_psutil_osx.cpython-39-darwin.so' (no such file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment