-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Full log of pip install . is further down below.
Seems that when installing dependencies with pip install . (on mac os x 11.6 or windows) we get an error message related either to c++ compiler being outdated and not using c++11, or some other modules not being installed (mako or pybind). The thing is, I am supposed to have all these three installed on my computer, and so are the others who tested.
This was done with a fresh clone of the repository.
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Processing /Users/axelpeytavin/Downloads/ADVECT-main
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in /usr/local/lib/python3.9/site-packages (from ADVECTOR==1.0.1) (1.22.3)
Collecting matplotlib
Using cached matplotlib-3.5.1-cp39-cp39-macosx_10_9_x86_64.whl (7.3 MB)
Collecting mako
Using cached Mako-1.2.0-py3-none-any.whl (78 kB)
Requirement already satisfied: tqdm in /usr/local/lib/python3.9/site-packages (from ADVECTOR==1.0.1) (4.63.1)
Collecting pyopencl
Using cached pyopencl-2022.1.tar.gz (452 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: scipy in /usr/local/lib/python3.9/site-packages (from ADVECTOR==1.0.1) (1.8.0)
Requirement already satisfied: pytest in /usr/local/lib/python3.9/site-packages (from ADVECTOR==1.0.1) (7.1.1)
Collecting pybind11
Using cached pybind11-2.9.2-py2.py3-none-any.whl (213 kB)
Collecting netcdf4
Using cached netCDF4-1.5.8-cp39-cp39-macosx_10_9_x86_64.whl (4.2 MB)
Requirement already satisfied: wget in /usr/local/lib/python3.9/site-packages (from ADVECTOR==1.0.1) (3.2)
Requirement already satisfied: xarray in /usr/local/lib/python3.9/site-packages (from ADVECTOR==1.0.1) (2022.3.0)
Requirement already satisfied: pandas in /usr/local/lib/python3.9/site-packages (from ADVECTOR==1.0.1) (1.4.1)
Collecting dask
Downloading dask-2022.4.0-py3-none-any.whl (1.1 MB)
|████████████████████████████████| 1.1 MB 4.8 MB/s
Requirement already satisfied: cloudpickle>=1.1.1 in /usr/local/lib/python3.9/site-packages (from dask->ADVECTOR==1.0.1) (2.0.0)
Requirement already satisfied: pyyaml>=5.3.1 in /usr/local/lib/python3.9/site-packages (from dask->ADVECTOR==1.0.1) (6.0)
Requirement already satisfied: partd>=0.3.10 in /usr/local/lib/python3.9/site-packages (from dask->ADVECTOR==1.0.1) (1.2.0)
Requirement already satisfied: fsspec>=0.6.0 in /usr/local/lib/python3.9/site-packages (from dask->ADVECTOR==1.0.1) (2022.2.0)
Requirement already satisfied: toolz>=0.8.2 in /usr/local/lib/python3.9/site-packages (from dask->ADVECTOR==1.0.1) (0.11.2)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.9/site-packages (from dask->ADVECTOR==1.0.1) (21.3)
Requirement already satisfied: MarkupSafe>=0.9.2 in /usr/local/lib/python3.9/site-packages (from mako->ADVECTOR==1.0.1) (2.1.1)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.9/site-packages (from matplotlib->ADVECTOR==1.0.1) (1.4.0)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.9/site-packages (from matplotlib->ADVECTOR==1.0.1) (2.8.2)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.9/site-packages (from matplotlib->ADVECTOR==1.0.1) (4.31.2)
Requirement already satisfied: pyparsing>=2.2.1 in /usr/local/lib/python3.9/site-packages (from matplotlib->ADVECTOR==1.0.1) (3.0.7)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.9/site-packages (from matplotlib->ADVECTOR==1.0.1) (0.11.0)
Requirement already satisfied: pillow>=6.2.0 in /usr/local/lib/python3.9/site-packages (from matplotlib->ADVECTOR==1.0.1) (9.0.1)
Requirement already satisfied: cftime in /usr/local/lib/python3.9/site-packages (from netcdf4->ADVECTOR==1.0.1) (1.6.0)
Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.9/site-packages (from pandas->ADVECTOR==1.0.1) (2022.1)
Requirement already satisfied: pytools>=2021.2.7 in /usr/local/lib/python3.9/site-packages (from pyopencl->ADVECTOR==1.0.1) (2022.1.2)
Requirement already satisfied: platformdirs>=2.2.0 in /usr/local/lib/python3.9/site-packages (from pyopencl->ADVECTOR==1.0.1) (2.4.0)
Requirement already satisfied: pluggy<2.0,>=0.12 in /usr/local/lib/python3.9/site-packages (from pytest->ADVECTOR==1.0.1) (1.0.0)
Requirement already satisfied: iniconfig in /usr/local/lib/python3.9/site-packages (from pytest->ADVECTOR==1.0.1) (1.1.1)
Requirement already satisfied: py>=1.8.2 in /usr/local/lib/python3.9/site-packages (from pytest->ADVECTOR==1.0.1) (1.11.0)
Requirement already satisfied: tomli>=1.0.0 in /Users/axelpeytavin/Library/Python/3.9/lib/python/site-packages (from pytest->ADVECTOR==1.0.1) (1.2.0)
Requirement already satisfied: attrs>=19.2.0 in /usr/local/lib/python3.9/site-packages (from pytest->ADVECTOR==1.0.1) (21.4.0)
Requirement already satisfied: locket in /usr/local/lib/python3.9/site-packages (from partd>=0.3.10->dask->ADVECTOR==1.0.1) (0.2.1)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.9/site-packages (from python-dateutil>=2.7->matplotlib->ADVECTOR==1.0.1) (1.16.0)
Building wheels for collected packages: ADVECTOR, pyopencl
Building wheel for ADVECTOR (pyproject.toml) ... done
Created wheel for ADVECTOR: filename=ADVECTOR-1.0.1-py3-none-any.whl size=79888 sha256=2736cbe68a570670609f27ca878d6588ea0715a1b7f9590b5fec9b050280ec14
Stored in directory: /Users/axelpeytavin/Library/Caches/pip/wheels/bc/66/ad/fa9a2d1dfe627bcc7c1a6dfcc7284d3d769c5063b67f9c29d5
Building wheel for pyopencl (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/setup.py'"'"'; __file__='"'"'/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-wheel-o2dd3k_r
cwd: /private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/
Complete output (156 lines):
---------------------------------------------------------------------------
Pybind11 is not installed.
---------------------------------------------------------------------------
Very likely, the build process after this message will fail.
Simply press Ctrl+C and type
python -m pip install pybind11
to fix this. If you don't, the build will continue
in a few seconds.
[1] https://pybind11.readthedocs.io/en/stable/
---------------------------------------------------------------------------
Continuing in 10 seconds...
Continuing in 9 seconds...
Continuing in 8 seconds...
Continuing in 7 seconds...
Continuing in 6 seconds...
Continuing in 5 seconds...
Continuing in 4 seconds...
Continuing in 3 seconds...
Continuing in 2 seconds...
Continuing in 1 seconds...
---------------------------------------------------------------------------
Mako is not installed.
---------------------------------------------------------------------------
That is not a problem, as most of PyOpenCL will be just fine
without it. Some higher-level parts of pyopencl (such as
pyopencl.reduction) will not function without the templating engine
Mako [1] being installed. If you would like this functionality to
work, you might want to install Mako after you finish
installing PyOpenCL.
Simply type
python -m pip install mako
either now or after the installation completes to fix this.
[1] http://www.makotemplates.org/
---------------------------------------------------------------------------
Hit Ctrl-C now if you'd like to think about the situation.
---------------------------------------------------------------------------
Continuing in 5 seconds...
Continuing in 4 seconds...
Continuing in 3 seconds...
Continuing in 2 seconds...
Continuing in 1 seconds...
/usr/local/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11-x86_64-3.9
creating build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/algorithm.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/clmath.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/version.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/capture_call.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/reduction.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/tools.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/elementwise.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/cache.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/__init__.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/cltypes.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/invoker.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/ipython_ext.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/scan.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/_cluda.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/_mymako.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/array.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/bitonic_sort.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/bitonic_sort_templates.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/clrandom.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
creating build/lib.macosx-11-x86_64-3.9/pyopencl/compyte
copying pyopencl/compyte/__init__.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte
copying pyopencl/compyte/dtypes.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte
copying pyopencl/compyte/array.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte
creating build/lib.macosx-11-x86_64-3.9/pyopencl/characterize
copying pyopencl/characterize/__init__.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/characterize
copying pyopencl/characterize/performance.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/characterize
creating build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/gen_reduction.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/test_gpu_elemwise.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/setup_opencl.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/gen_elemwise.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/__init__.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/test_gpu_ndarray.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
running egg_info
writing manifest file 'pyopencl.egg-info/SOURCES.txt'
creating build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-airy.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-bessel-j-complex.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-bessel-j.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-bessel-y.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-complex.h -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-eval-tbl.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-hankel-complex.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-ranluxcl.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
creating build/lib.macosx-11-x86_64-3.9/pyopencl/cl/pyopencl-random123
copying pyopencl/cl/pyopencl-random123/array.h -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl/pyopencl-random123
copying pyopencl/cl/pyopencl-random123/openclfeatures.h -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl/pyopencl-random123
copying pyopencl/cl/pyopencl-random123/philox.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl/pyopencl-random123
copying pyopencl/cl/pyopencl-random123/threefry.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl/pyopencl-random123
running build_ext
creating var
creating var/folders
creating var/folders/ng
creating var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn
creating var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -fwrapv -Wall -O3 -DNDEBUG -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c /var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmp38ua43u_.cpp -o var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmp38ua43u_.o -std=gnu++14
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11'
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -fwrapv -Wall -O3 -DNDEBUG -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c /var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmprhx8ssmk.cpp -o var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmprhx8ssmk.o -std=c++14
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11'
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -fwrapv -Wall -O3 -DNDEBUG -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c /var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmp4v_6osv6.cpp -o var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmp4v_6osv6.o -std=c++11
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11'
---------------------------------------------------------------------------
Sorry, your build failed. Try rerunning configure.py with different options.
---------------------------------------------------------------------------
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/setup.py", line 282, in <module>
main()
File "/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/setup.py", line 201, in main
setup(name="pyopencl",
File "/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/aksetup_helper.py", line 31, in setup
setup(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 155, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/aksetup_helper.py", line 966, in build_extensions
cxx_opts.append(cpp_flag(self.compiler))
File "/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/aksetup_helper.py", line 948, in cpp_flag
raise RuntimeError("Unsupported compiler -- at least C++11 support "
RuntimeError: Unsupported compiler -- at least C++11 support is needed!
----------------------------------------
ERROR: Failed building wheel for pyopencl
Running setup.py clean for pyopencl
Successfully built ADVECTOR
Failed to build pyopencl
Installing collected packages: pyopencl, pybind11, netcdf4, matplotlib, mako, dask, ADVECTOR
Running setup.py install for pyopencl ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/setup.py'"'"'; __file__='"'"'/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-record-qbgfctgn/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pyopencl
cwd: /private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/
Complete output (155 lines):
---------------------------------------------------------------------------
Pybind11 is not installed.
---------------------------------------------------------------------------
Very likely, the build process after this message will fail.
Simply press Ctrl+C and type
python -m pip install pybind11
to fix this. If you don't, the build will continue
in a few seconds.
[1] https://pybind11.readthedocs.io/en/stable/
---------------------------------------------------------------------------
Continuing in 10 seconds...
Continuing in 9 seconds...
Continuing in 8 seconds...
Continuing in 7 seconds...
Continuing in 6 seconds...
Continuing in 5 seconds...
Continuing in 4 seconds...
Continuing in 3 seconds...
Continuing in 2 seconds...
Continuing in 1 seconds...
---------------------------------------------------------------------------
Mako is not installed.
---------------------------------------------------------------------------
That is not a problem, as most of PyOpenCL will be just fine
without it. Some higher-level parts of pyopencl (such as
pyopencl.reduction) will not function without the templating engine
Mako [1] being installed. If you would like this functionality to
work, you might want to install Mako after you finish
installing PyOpenCL.
Simply type
python -m pip install mako
either now or after the installation completes to fix this.
[1] http://www.makotemplates.org/
---------------------------------------------------------------------------
Hit Ctrl-C now if you'd like to think about the situation.
---------------------------------------------------------------------------
Continuing in 5 seconds...
Continuing in 4 seconds...
Continuing in 3 seconds...
Continuing in 2 seconds...
Continuing in 1 seconds...
/usr/local/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running install
/usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.macosx-11-x86_64-3.9
creating build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/algorithm.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/clmath.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/version.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/capture_call.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/reduction.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/tools.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/elementwise.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/cache.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/__init__.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/cltypes.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/invoker.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/ipython_ext.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/scan.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/_cluda.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/_mymako.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/array.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/bitonic_sort.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/bitonic_sort_templates.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
copying pyopencl/clrandom.py -> build/lib.macosx-11-x86_64-3.9/pyopencl
creating build/lib.macosx-11-x86_64-3.9/pyopencl/compyte
copying pyopencl/compyte/__init__.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte
copying pyopencl/compyte/dtypes.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte
copying pyopencl/compyte/array.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte
creating build/lib.macosx-11-x86_64-3.9/pyopencl/characterize
copying pyopencl/characterize/__init__.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/characterize
copying pyopencl/characterize/performance.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/characterize
creating build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/gen_reduction.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/test_gpu_elemwise.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/setup_opencl.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/gen_elemwise.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/__init__.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
copying pyopencl/compyte/ndarray/test_gpu_ndarray.py -> build/lib.macosx-11-x86_64-3.9/pyopencl/compyte/ndarray
running egg_info
writing manifest file 'pyopencl.egg-info/SOURCES.txt'
creating build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-airy.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-bessel-j-complex.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-bessel-j.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-bessel-y.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-complex.h -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-eval-tbl.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-hankel-complex.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
copying pyopencl/cl/pyopencl-ranluxcl.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl
creating build/lib.macosx-11-x86_64-3.9/pyopencl/cl/pyopencl-random123
copying pyopencl/cl/pyopencl-random123/array.h -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl/pyopencl-random123
copying pyopencl/cl/pyopencl-random123/openclfeatures.h -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl/pyopencl-random123
copying pyopencl/cl/pyopencl-random123/philox.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl/pyopencl-random123
copying pyopencl/cl/pyopencl-random123/threefry.cl -> build/lib.macosx-11-x86_64-3.9/pyopencl/cl/pyopencl-random123
running build_ext
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -fwrapv -Wall -O3 -DNDEBUG -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c /var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmpjr6n6i04.cpp -o var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmpjr6n6i04.o -std=gnu++14
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11'
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -fwrapv -Wall -O3 -DNDEBUG -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c /var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmpkryq3t7u.cpp -o var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmpkryq3t7u.o -std=c++14
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11'
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -fwrapv -Wall -O3 -DNDEBUG -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c /var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmpanx9i84d.cpp -o var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/tmpanx9i84d.o -std=c++11
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11'
---------------------------------------------------------------------------
Sorry, your build failed. Try rerunning configure.py with different options.
---------------------------------------------------------------------------
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/setup.py", line 282, in <module>
main()
File "/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/setup.py", line 201, in main
setup(name="pyopencl",
File "/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/aksetup_helper.py", line 31, in setup
setup(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 155, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.9/site-packages/setuptools/command/install.py", line 68, in run
return orig.install.run(self)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/install.py", line 664, in run
self.run_command('build')
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/aksetup_helper.py", line 966, in build_extensions
cxx_opts.append(cpp_flag(self.compiler))
File "/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/aksetup_helper.py", line 948, in cpp_flag
raise RuntimeError("Unsupported compiler -- at least C++11 support "
RuntimeError: Unsupported compiler -- at least C++11 support is needed!
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/[email protected]/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/setup.py'"'"'; __file__='"'"'/private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-install-yaec7wi9/pyopencl_a17896a562514f4eba8e4e140bb5b881/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/ng/64vj_sh13fn7kr98h1jq07h40000gn/T/pip-record-qbgfctgn/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pyopencl Check the logs for full command output.
WARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.
You should consider upgrading via the '/usr/local/opt/[email protected]/bin/python3.9 -m pip install --upgrade pip' command.Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working