Setup-python pypy-3.6 on macOS is broken
See original GitHub issueSee https://github.com/pypa/virtualenv/runs/4604337552?check_suite_focus=true
Installing and updating pip
/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/bin/python -m ensurepip
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/runpy.py", line 196, in _run_module_as_main
"__main__", mod_spec)
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ensurepip/__main__.py", line 5, in <module>
sys.exit(ensurepip._main())
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ensurepip/__init__.py", line 213, in _main
default_pip=args.default_pip,
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ensurepip/__init__.py", line 126, in _bootstrap
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ensurepip/__init__.py", line 31, in _run_pip
runpy.run_module("pip", run_name="__main__", alter_sys=True)
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/runpy.py", line 208, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/__main__.py", line 19, in <module>
File "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/cli/main.py", line 73, in main
File "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/commands/__init__.py", line 96, in create_command
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1003, in _gcd_import
File "<frozen importlib._bootstrap>", line 980, in _find_and_load
File "<frozen importlib._bootstrap>", line 964, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap>", line 635, in _load_backward_compatible
File "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/commands/install.py", line 24, in <module>
File "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/cli/req_command.py", line 15, in <module>
File "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/index/package_finder.py", line 21, in <module>
File "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/index/collector.py", line 12, in <module>
File "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_vendor/html5lib/__init__.py", line 28, in <module>
File "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_vendor/html5lib/serializer.py", line 11, in <module>
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/xml/sax/saxutils.py", line 6, in <module>
import os, urllib.parse, urllib.request
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/urllib/request.py", line 2616, in <module>
from _scproxy import _get_proxy_settings, _get_proxies
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib_pypy/_scproxy.py", line 64, in <module>
ffi = _CFSetup()
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib_pypy/_scproxy.py", line 63, in _CFSetup
return CFProxy()
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib_pypy/_scproxy.py", line 52, in __init__
func = getattr(mod, fname)
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ctypes/__init__.py", line 366, in __getattr__
func = self.__getitem__(name)
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ctypes/__init__.py", line 371, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib_pypy/_ctypes/function.py", line 255, in __init__
ptr = self._getfuncptr([], ctypes.c_int)
File "/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib_pypy/_ctypes/function.py", line 442, in _getfuncptr
self._ptr = cdll.getfunc(self.name, ffi_argtypes, ffi_restype)
AttributeError: No symbol SCDynamicStoreCopyProxies found in library <None>
Error: The process '/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/bin/python' failed with exit code 1
cc @mattip do you think this is a PyPy bug or a packaging one?
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
[Mac] PyPy3.6-7.3.1 fails to launch on macOS due to libffi linking
macOS 10.15.4. Downloaded the 7.3.1 PyPy3.6 binary. After allowing the unknown pypy3 executable to run in Security and Privacy, I receive this ...
Read more >Problems installing python 3.6 with pyenv on Mac OS Big Sur
When installing Python 3.6.13 on my MacBook Air, OS Big Sur, using the command pyenv install 3.6.13 I get this error:
Read more >The right and wrong way to set Python 3 as default on a Mac
Here's the full story of how to set up your environment without breaking anything built into the macOS operating system. 1. Install pyenv....
Read more >Python3.6 not working from terminal after… - Apple Community
Python3.6 not working from terminal after updating to macOS Big Sur on macbook pro. The following error is shown: Process: Python [1126].
Read more >Installing Python 3 on Mac OS X
If you already have Xcode installed, do not install OSX-GCC-Installer. In combination, the software can cause issues that are difficult to diagnose. Note....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be helpful to move the default pypy3 to a supported version: 3.7 at least if not 3.8
Hello @gaborbernat, thanks for your report! We’ll look at it.