question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

astropy on big sur

See original GitHub issue

Hi,

I have install pynton 3.9 with brew an I have numpy 1.19.4

when I try to install on Big Sur astropy I got:

ERROR: Command errored out with exit status 1:
   command: /usr/local/opt/python@3.9/bin/python3.9 /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/57/ffw3x1tj6tx38bnhbbzhyysm0000gn/T/tmpl5ki95vg
       cwd: /private/var/folders/57/ffw3x1tj6tx38bnhbbzhyysm0000gn/T/pip-install-4vm5hbmx/astropy
  Complete output (37 lines):
  init_dgelsd failed init
  Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
      main()
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/private/var/folders/57/ffw3x1tj6tx38bnhbbzhyysm0000gn/T/pip-build-env-ofjq56ls/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 149, in get_requires_for_build_wheel
      return self._get_build_requires(
    File "/private/var/folders/57/ffw3x1tj6tx38bnhbbzhyysm0000gn/T/pip-build-env-ofjq56ls/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 130, in _get_build_requires
      self.run_setup()
    File "/private/var/folders/57/ffw3x1tj6tx38bnhbbzhyysm0000gn/T/pip-build-env-ofjq56ls/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 145, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 70, in <module>
      ext_modules=get_extensions())
    File "/private/var/folders/57/ffw3x1tj6tx38bnhbbzhyysm0000gn/T/pip-build-env-ofjq56ls/overlay/lib/python3.9/site-packages/extension_helpers/_setup_helpers.py", line 48, in get_extensions
      for setuppkg in iter_setup_packages(srcdir, packages):
    File "/private/var/folders/57/ffw3x1tj6tx38bnhbbzhyysm0000gn/T/pip-build-env-ofjq56ls/overlay/lib/python3.9/site-packages/extension_helpers/_setup_helpers.py", line 109, in iter_setup_packages
      module = import_file(setup_package,
    File "/private/var/folders/57/ffw3x1tj6tx38bnhbbzhyysm0000gn/T/pip-build-env-ofjq56ls/overlay/lib/python3.9/site-packages/extension_helpers/_utils.py", line 194, in import_file
      mod = loader.load_module()
    File "<frozen importlib._bootstrap_external>", line 469, in _check_name_wrapper
    File "<frozen importlib._bootstrap_external>", line 969, in load_module
    File "<frozen importlib._bootstrap_external>", line 794, in load_module
    File "<frozen importlib._bootstrap>", line 274, in _load_module_shim
    File "<frozen importlib._bootstrap>", line 711, in _load
    File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 790, in exec_module
    File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
    File "./astropy/wcs/setup_package.py", line 14, in <module>
      import numpy
    File "/private/var/folders/57/ffw3x1tj6tx38bnhbbzhyysm0000gn/T/pip-build-env-ofjq56ls/overlay/lib/python3.9/site-packages/numpy/__init__.py", line 286, in <module>
      raise RuntimeError(msg)
  RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.
  RankWarning: Polyfit may be poorly conditioned
  
  ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/python@3.9/bin/python3.9 /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/57/ffw3x1tj6tx38bnhbbzhyysm0000gn/T/tmpl5ki95vg Check the logs for full command output.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
thewozcommented, Nov 27, 2020

Thank you!

0reactions
saimncommented, Nov 27, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

failure installation on Mac OS 11.0.1 (Big Sur) · Issue #141
I have a mac OS 11.0.1 Big Sur, python 3.9. I am trying to install aplpy package, firstly I need to install pyregion...
Read more >
"Researchers who use Macs, PLEASE don't upgrade to ...
Researchers who use Macs, PLEASE don't upgrade to MacOS X Big Sur or buy a new M1 mac yet: a short thread. (1/n)....
Read more >
Installation — Astropy v5.2
Users of the Anaconda Python distribution should follow the instructions for Using Conda. To install astropy with pip, run: pip install astropy.
Read more >
Introduction and Installation — astLib documentation
For a far more extensive set of Python astronomy modules, see astropy ... on recent versions of macOS (e.g., Big Sur), due to...
Read more >
Setup a New Mac for Astronomy
XCode: Command Line Tools + Compilers · Launch XCode from Applications · Go to XCode "Preferences > Downloads > Components" and install the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found