-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Python lacks _scproxy on macOS #2230
Copy link
Copy link
Closed
Labels
Description
I'm on a MacOS machine running Sierra and I ran into the problem of a broken spack after loading a spack-installed py2.7.12 .
I gathered that _scproxy is a Mac-only package, although I'm not sure what exactly it is needed for. Is this a known problem? If so where/how can I find the solution to it?
Any help would be greatly appreciated.
Full traceback:
dhcp659-213:git healther$ spack load --dependencies [email protected]
dhcp659-213:git healther$ spack
Traceback (most recent call last):
File "/Users/healther/Documents/git/spack/bin/spack", line 99, in <module>
import spack
File "/Users/healther/Documents/git/spack/lib/spack/spack/__init__.py", line 74, in <module>
import spack.repository
File "/Users/healther/Documents/git/spack/lib/spack/spack/repository.py", line 45, in <module>
import spack.spec
File "/Users/healther/Documents/git/spack/lib/spack/spack/spec.py", line 114, in <module>
import spack.store
File "/Users/healther/Documents/git/spack/lib/spack/spack/store.py", line 47, in <module>
import spack.config
File "/Users/healther/Documents/git/spack/lib/spack/spack/config.py", line 57, in <module>
import jsonschema
File "/Users/healther/Documents/git/spack/lib/spack/external/jsonschema/__init__.py", line 12, in <module>
from jsonschema.exceptions import (
File "/Users/healther/Documents/git/spack/lib/spack/external/jsonschema/exceptions.py", line 6, in <module>
from jsonschema import _utils
File "/Users/healther/Documents/git/spack/lib/spack/external/jsonschema/_utils.py", line 6, in <module>
from jsonschema.compat import str_types, MutableMapping, urlsplit
File "/Users/healther/Documents/git/spack/lib/spack/external/jsonschema/compat.py", line 28, in <module>
from urllib import unquote # noqa
File "/Users/healther/Documents/git/spack/opt/spack/darwin-sierra-x86_64/gcc-4.9.3/python-2.7.12-iptjvhtegkxoyzhborfkjkndx4xnaerr/lib/python2.7/urllib.py", line 1431, in <module>
from _scproxy import _get_proxy_settings, _get_proxies
ImportError: No module named _scproxy
Reactions are currently unavailable