Pip install numba error

C:UsersAdministrator>pip install numba Collecting numba Using cached https://files.pythonhosted.org/packages/33/6f/47d87ded23f3d1aa1e221d75278caf427e8da80649c14312172857bad64f/numba-0.46.0.tar...

C:UsersAdministrator>pip install numba
Collecting numba
Using cached https://files.pythonhosted.org/packages/33/6f/47d87ded23f3d1aa1e221d75278caf427e8da80649c14312172857bad64f/numba-0.46.0.tar.gz
ERROR: Command errored out with exit status 1:
command: ‘c:usersadministratorappdatalocalprogramspythonpython38python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersAdministratorAppDataLocalTemppip-install-9oo7ymxjnumbasetup.py'»‘»‘; file='»‘»‘C:UsersAdministratorAppDataLocalTemppip-install-9oo7ymxjnumbasetup.py'»‘»‘;f=getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ egg_info —egg-base ‘C:UsersAdministratorAppDataLocalTemppip-install-9oo7ymxjnumbapip-egg-info’
cwd: C:UsersAdministratorAppDataLocalTemppip-install-9oo7ymxjnumba
Complete output (207 lines):
Could not locate executable g77
Could not locate executable f77
Could not locate executable ifort
Could not locate executable ifl
Could not locate executable f90
Could not locate executable DF
Could not locate executable efl
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable g95
Could not locate executable efort
Could not locate executable efc
Could not locate executable flang
don’t know how to compile Fortran code on platform ‘nt’
‘svnversion’ 不是内部或外部命令,也不是可运行的程序
或批处理文件。
non-existing path in ‘numpydistutils’: ‘site.cfg’
Running from numpy source directory.
C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4setup.py:419: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilssystem_info.py:690: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
self.calc_info()
C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilssystem_info.py:690: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilssystem_info.py:690: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilssystem_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
if getattr(self, ‘calc_info{}’.format(lapack))():
C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilssystem_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
if getattr(self, ‘calc_info{}’.format(lapack))():
c:usersadministratorappdatalocalprogramspythonpython38libdistutilsdist.py:274: UserWarning: Unknown distribution option: ‘define_macros’
warnings.warn(msg)
Traceback (most recent call last):
File «c:usersadministratorappdatalocalprogramspythonpython38libdistutilscore.py», line 148, in setup
dist.run_commands()
File «c:usersadministratorappdatalocalprogramspythonpython38libdistutilsdist.py», line 966, in run_commands
self.run_command(cmd)
File «c:usersadministratorappdatalocalprogramspythonpython38libdistutilsdist.py», line 985, in run_command
cmd_obj.run()
File «c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandbdist_egg.py», line 163, in run
self.run_command(«egg_info»)
File «c:usersadministratorappdatalocalprogramspythonpython38libdistutilscmd.py», line 313, in run_command
self.distribution.run_command(command)
File «c:usersadministratorappdatalocalprogramspythonpython38libdistutilsdist.py», line 985, in run_command
cmd_obj.run()
File «C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilscommandegg_info.py», line 26, in run
File «c:usersadministratorappdatalocalprogramspythonpython38libdistutilscmd.py», line 313, in run_command
self.distribution.run_command(command)
File «c:usersadministratorappdatalocalprogramspythonpython38libdistutilsdist.py», line 985, in run_command
cmd_obj.run()
File «C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilscommandbuild_src.py», line 142, in run
File «C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilscommandbuild_src.py», line 150, in build_sources
File «C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilscommandbuild_src.py», line 267, in build_py_modules_sources
File «C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilsmisc_util.py», line 2270, in generate_config_py
File «c:usersadministratorappdatalocalprogramspythonpython38libdistutilsdir_util.py», line 70, in mkpath
os.mkdir(head, mode)
File «c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py», line 310, in wrap
path = self._remap_input(name, path, *args, **kw)
File «c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py», line 452, in _remap_input
self._violation(operation, os.path.realpath(path), *args, **kw)
File «c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py», line 407, in _violation
raise SandboxViolation(operation, args, kw)
setuptools.sandbox.SandboxViolation: SandboxViolation: mkdir(‘C:UsersADMINI1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4build’, 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 154, in save_modules
    yield saved
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 195, in setup_context
    yield
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "C:UsersADMINI~1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4setup.py", line 444, in <module>
  File "C:UsersADMINI~1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4setup.py", line 436, in setup_package
  File "C:UsersADMINI~1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilscore.py", line 171, in setup
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptools__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "c:usersadministratorappdatalocalprogramspythonpython38libdistutilscore.py", line 163, in setup
    raise SystemExit("error: " + str(msg))
SystemExit: error: SandboxViolation: mkdir('C:\Users\ADMINI~1\AppData\Local\Temp\easy_install-g2a7a883\numpy-1.17.4\build', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 1144, in run_setup
    run_setup(setup_script, args)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 253, in run_setup
    raise
  File "c:usersadministratorappdatalocalprogramspythonpython38libcontextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 195, in setup_context
    yield
  File "c:usersadministratorappdatalocalprogramspythonpython38libcontextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 166, in save_modules
    saved_exc.resume()
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 141, in resume
    six.reraise(type, exc, self._tb)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptools_vendorsix.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 154, in save_modules
    yield saved
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 195, in setup_context
    yield
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "C:UsersADMINI~1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4setup.py", line 444, in <module>
  File "C:UsersADMINI~1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4setup.py", line 436, in setup_package
  File "C:UsersADMINI~1AppDataLocalTempeasy_install-g2a7a883numpy-1.17.4numpydistutilscore.py", line 171, in setup
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptools__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "c:usersadministratorappdatalocalprogramspythonpython38libdistutilscore.py", line 163, in setup
    raise SystemExit("error: " + str(msg))
SystemExit: error: SandboxViolation: mkdir('C:\Users\ADMINI~1\AppData\Local\Temp\easy_install-g2a7a883\numpy-1.17.4\build', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:UsersAdministratorAppDataLocalTemppip-install-9oo7ymxjnumbasetup.py", line 365, in <module>
    setup(**metadata)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptools__init__.py", line 144, in setup
    _install_setup_requires(attrs)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptools__init__.py", line 139, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolsdist.py", line 716, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagespkg_resources__init__.py", line 780, in resolve
    dist = best[req.key] = env.best_match(
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagespkg_resources__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagespkg_resources__init__.py", line 1077, in obtain
    return installer(requirement)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolsdist.py", line 786, in fetch_build_egg
    return cmd.easy_install(req)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 679, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 705, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 890, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 1158, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "c:usersadministratorappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 1146, in run_setup
    raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: SandboxViolation: mkdir('C:\Users\ADMINI~1\AppData\Local\Temp\easy_install-g2a7a883\numpy-1.17.4\build', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Hey all,

I’d like to try using the Numba package to try the just-in-time compiling feature, and see if I can speed up the execution of one of my scripts.

I’m using 64-bit Ubuntu, and working in a virtual-environment (Python 3.8), and trying to install Numba with pip:

pip3 install --user numba

This spits out a load of errors — full output of the command can bee seen here.

On first read through, it looks like it’s trying to either use or create a symbolic link to LLVM_CONFIG….

So I tried installing llvm-10 and all the rest of the useful packages via apt:

$ sudo apt install llvm-10 llvm-10-dev llvm-10-doc llvm-10-examples llvm-10-runtme llvm-10-tools

Which worked fine, then tried both adding a symbolic link to my bin, and exporting the variable:

$ export LLVM_CONFIG='/usr/bin/llvm-config-10'

and re-running the pip command, but no success… Most of the threads I find are for previous versions of Ubuntu, and nothing seems to be up to date to 18.04… Or they all have basically the same steps, ( as above) which just don’t seem to work.. e.g. I tried this thread already.

Any magic bullets?


So, I went back to the install pages from the Numba manual and gave it a read, where I see it states:

This will download all of the needed dependencies as well. You do not need to have LLVM installed to use Numba (in fact, Numba will ignore all LLVM versions installed on the system) as the required components are bundled into the llvmlite wheel.

So I removed all traces of llvm from my system, try to install numba with pip and get the same error stack as previous…

So I then re-installed all llvm-10 packages again, re-created the symbolic links in my /usr/bin:

$ sudo -i
$ cd /usr/bin
$  rm -r llvm-config
$  ln -s llvm-config-10 llvm-config
$  ln -s llvm-config-10 LLVM_CONFIG

Then back to my venv and try installing llvmlite with pip again.. which gives me errors still, but new ones…. full dump here

The «SVML not detected» error brings me back to here which again points at LLVM_CONFIG not being set up correctly, but it is! e.g.:

$ LLVM_CONFIG --version
10.0.1

Я пытаюсь установить numba для python, но после выполнения инструкции с домашней страницы я получил эту ошибку, чтобы страница extension_types не была найдена.

Я был бы очень признателен, если бы кто-то знал, что я делаю неправильно, или если я пропустил что-то, что я должен установить.

Спасибо вам заблаговременно.

Python 2.7.2+ (default, Jul 20 2012, 22:15:08) 
Type "copyright", "credits" or "license" for more information.

IPython 0.10.2 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython features.
%quickref -> Quick reference.
help      -> Python own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: import numba
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/home/mijc/Downloads/numba/<ipython console> in <module>()

/home/mijc/Downloads/numba/numba/__init__.py in <module>()
      2 # type inferer

      3 from numba.special import *
----> 4 from numba import module_type_inference
      5 
      6 import os

/home/mijc/Downloads/numba/numba/module_type_inference.py in <module>()
      6 from numba import *
      7 from numba.minivect import minitypes
----> 8 from numba import typesystem, symtab
      9 
     10 import numpy.random

/home/mijc/Downloads/numba/numba/typesystem/__init__.py in <module>()
      2 from exttypes import *
      3 from closuretypes import *
      4 from ssatypes import *
      5 from templatetypes import *
      6 from typemapper import *

/home/mijc/Downloads/numba/numba/typesystem/basetypes.py in <module>()
      6 
      7 import numba
----> 8 from numba import  extension_types, error
      9 from numba.minivect.minitypes import *
     10 from numba.minivect.minitypes import map_dtype

ImportError: cannot import name extension_types

EDIT:
Я установил numba через:

git clone https://github.com/numba/numba.git
cd numba
python setup.py install

Когда я пытаюсь установить его через pip, я получаю следующую ошибку:

pip install numba --upgrade
Downloading/unpacking numba
  Downloading numba-0.5.0.tar.gz (333Kb): 333Kb downloaded
  Running setup.py egg_info for package numba
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/mijc/Downloads/numba/build/numba/setup.py", line 90, in <module>
        cython_gdb=True),
      File "/usr/local/lib/python2.7/dist-packages/Cython/Distutils/extension.py", line 108, in __init__
        **kw)
    TypeError: unbound method __init__() must be called with Extension instance as first argument (got Extension instance instead)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/mijc/Downloads/numba/build/numba/setup.py", line 90, in <module>

    cython_gdb=True),

  File "/usr/local/lib/python2.7/dist-packages/Cython/Distutils/extension.py", line 108, in __init__

    **kw)

TypeError: unbound method __init__() must be called with Extension instance as first argument (got Extension instance instead)

----------------------------------------
Command python setup.py egg_info failed with error code 1

I want to install numba using pip.
As usual

pip install numba

I got a large number of errors,
Herehttps://www.jkawamoto.info/blog-ja/install-numba-to-mac/Referring to the site of
I tried to install numba.
But,

brew tap homebrew/versions

With the code

Error: homebrew/versions was deprecated.This tap is now empty as all its formulae were migrated.

I got an error saying «I can’t proceed.»
Please let me know if there is a solution to the above error or any other way to install numba.

pip install numba error

WARNING: pip is being invoked by an old script wrapper.This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Collecting numba
  Using cached numba-0.47.0-cp35-cp35m-macosx_10_9_x86_64.whl (2.0 MB)
Collecting llvmlite>= 0.31.0dev0
  Using cached llvmlite-0.32.1.tar.gz (104 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from numba) (46.0.0)
Requirement already satisfied: numpy in /Users/local/.pyenv/versions/3.5.3/envs/pose_estimation_2/lib/python3.5/site-packages (from numba) (1.16.4)Building wheels for collected packages: llvmlite
  Building wheel for llvmlite (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/local/.pyenv/versions/3.5.3/envs/pose_estimation_2/bin/python3.5 -u -c 'import sys, setuptools, tokenize;sys.argv [0] =' "'"'/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/setup.py '"'" ';__file __ =' "'"'/private/var/folders/7c/nfxtf5pj11s4jcsrpygnbzb80000gn/Tost. -install-92ostfkj/llvmlite/setup.py '"'" ';f = getattr (tokenize,' "'"' open '"'" ', open) (__ file __);code = f.read (). replace ( '"'" ' r  n' "'"', '"'" ' n' "'"');f.close ();exec (compile (code, __file__, '"'" 'exec' "'"')) 'bdist_wheel -d/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-wheel-62q5yf18
       cwd:/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite /
  Complete output (26 lines):
  running bdist_wheel
  /Users/local/.pyenv/versions/3.5.3/envs/pose_estimation_2/bin/python3.5 /private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/ffi/build.py
  LLVM version ... Traceback (most recent call last):
    File "/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/ffi/build.py", line 106, in main_posix
      out = subprocess.check_output ([llvm_config, '--version'])
    File "/Users/local/.pyenv/versions/3.5.3/lib/python3.5/subprocess.py", line 316, in check_output
      ** kwargs) .stdout
    File "/Users/local/.pyenv/versions/3.5.3/lib/python3.5/subprocess.py", line 383, in run
      with Popen (* popenargs, ** kwargs) as process:
    File "/Users/local/.pyenv/versions/3.5.3/lib/python3.5/subprocess.py", line 676, in __init__
      restore_signals, start_new_session)
    File "/Users/local/.pyenv/versions/3.5.3/lib/python3.5/subprocess.py", line 1282, in _execute_child
      raise child_exception_type (errno_num, err_msg)
  FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'
  During handling of the above exception, another exception occurred:
  Traceback (most recent call last):
    File "/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/ffi/build.py", line 192, in<module>      main ()
    File "/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/ffi/build.py", line 186, in main
      main_posix ('osx', '. dylib')
    File "/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/ffi/build.py", line 109, in main_posix"to the path for llvm-config"% (llvm_config,))
  RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
  error: command '/Users/local/.pyenv/versions/3.5.3/envs/pose_estimation_2/bin/python3.5' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for llvmlite
  Running setup.py clean for llvmlite
Failed to build llvmlite
Installing collected packages: llvmlite, numba
    Running setup.py install for llvmlite ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/local/.pyenv/versions/3.5.3/envs/pose_estimation_2/bin/python3.5 -u -c 'import sys, setuptools, tokenize;sys.argv [0] =' "'"'/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/setup.py '"'" ';__file __ =' "'"'/private/var/folders/7c/nfxtf5pj11s4jcsrpygnbzb80000gn/Tost. -install-92ostfkj/llvmlite/setup.py '"'" ';f = getattr (tokenize,' "'"' open '"'" ', open) (__ file __);code = f.read (). replace ( '"'" ' r  n' "'"', '"'" ' n' "'"');f.close ();exec (compile (code, __file__, '"'" 'exec' "'"')) 'install --record /private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-record-orwedl62/install-record.txt --single-version-externally-managed --compile --install -headers /Users/local/.pyenv/versions/3.5.3/envs/pose_estimation_2/include/site/python3.5/llvmlite
         cwd:/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite /
    Complete output (29 lines):
    running install
    running build
    got version from file /private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/llvmlite/_version.py {'full': 'aa11b129c0b55973067422397821ae6d44fa5e70', 'version': 'version'.
    running build_ext
    /Users/local/.pyenv/versions/3.5.3/envs/pose_estimation_2/bin/python3.5 /private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/ffi/build.py
    LLVM version ... Traceback (most recent call last):
      File "/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/ffi/build.py", line 106, in main_posix
        out = subprocess.check_output ([llvm_config, '--version'])
      File "/Users/local/.pyenv/versions/3.5.3/lib/python3.5/subprocess.py", line 316, in check_output
        ** kwargs) .stdout
      File "/Users/local/.pyenv/versions/3.5.3/lib/python3.5/subprocess.py", line 383, in run
        with Popen (* popenargs, ** kwargs) as process:
      File "/Users/local/.pyenv/versions/3.5.3/lib/python3.5/subprocess.py", line 676, in __init__
        restore_signals, start_new_session)File "/Users/local/.pyenv/versions/3.5.3/lib/python3.5/subprocess.py", line 1282, in _execute_child
        raise child_exception_type (errno_num, err_msg)
    FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
      File "/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/ffi/build.py", line 192, in<module>        main ()
      File "/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/ffi/build.py", line 186, in main
        main_posix ('osx', '. dylib')
      File "/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/ffi/build.py", line 109, in main_posix
        "to the path for llvm-config"% (llvm_config,))
    RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
    error: command '/Users/local/.pyenv/versions/3.5.3/envs/pose_estimation_2/bin/python3.5' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/local/.pyenv/versions/3.5.3/envs/pose_estimation_2/bin/python3.5 -u -c 'import sys, setuptools, tokenize;sys.argv [0 ] = '"'" '/private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/setup.py' "'"';__file __ = '"'" '/ private/var/folders /7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-install-92ostfkj/llvmlite/setup.py'"'"';f=getattr(tokenize, '"'" 'open' "'"', open) (__ file __);code = f.read (). replace ('"'" ' r  n' "'"', '"'" ' n' "'"');f.close ();exec (compile (code, __file__ , '"'" 'exec' "'"')) 'install --record /private/var/folders/7c/nfxtf5pj11s4jcsrpyg1bzb80000gn/T/pip-record-orwedl62/install-record.txt --single-version-externally -managed --compile --install-headers /Users/local/.pyenv/versions/3.5.3/envs/pose_estimation_2/include/site/python3.5/llvmlite Check the logs for full command output.

brew tap homebrew/versions error

Error: homebrew/versions was deprecated.This tap is now empty as all its formulae were migrated.

What I tried

As a countermeasure for brew tap homebrew/versions error,
Herehttps://github.com/mrirecon/homebrew-bart/issues/1With reference to

brew tap homebrew/homebrew-core

I ran it, but now I don’t know what to do.

Supplemental information (FW/tool version, etc.)

macOS 10.15.4
python3.5 (creates and executes a virtual environment)

Понравилась статья? Поделить с друзьями:
  • Pip install mysqlclient error
  • Ping код ошибки 1231
  • Pip install matplotlib error
  • Ping target via firehouse как исправить
  • Pip install m2crypto error