I attempted to install getpy in order to run pystapler, but unfortunately encountered the following error (when running "python setup.py install"). I was wondering if you had an thoughts on this.
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
/Users/oliverkanders/opt/anaconda3/envs/getpy/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
running bdist_egg
running egg_info
writing getpy.egg-info/PKG-INFO
writing dependency_links to getpy.egg-info/dependency_links.txt
writing requirements to getpy.egg-info/requires.txt
writing top-level names to getpy.egg-info/top_level.txt
reading manifest file 'getpy.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'getpy.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-cpython-39
creating build/lib.macosx-10.9-x86_64-cpython-39/getpy
copying getpy/getpy.py -> build/lib.macosx-10.9-x86_64-cpython-39/getpy
copying getpy/getpy_types.py -> build/lib.macosx-10.9-x86_64-cpython-39/getpy
copying getpy/init.py -> build/lib.macosx-10.9-x86_64-cpython-39/getpy
running build_ext
building '_getpy' extension
creating build/temp.macosx-10.9-x86_64-cpython-39
creating build/temp.macosx-10.9-x86_64-cpython-39/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/oliverkanders/opt/anaconda3/envs/getpy/include -fPIC -O2 -isystem /Users/oliverkanders/opt/anaconda3/envs/getpy/include -DDOCTEST_CONFIG_DISABLE -Ilib/parallel-hashmap -Ilib/pybind11/include -I/Users/oliverkanders/opt/anaconda3/envs/getpy/include/python3.9 -c src/getpy.cpp -o build/temp.macosx-10.9-x86_64-cpython-39/src/getpy.o -w -std=c++17 -stdlib=libc++
In file included from src/getpy.cpp:1:
In file included from lib/pybind11/include/pybind11/pybind11.h:44:
In file included from lib/pybind11/include/pybind11/attr.h:13:
lib/pybind11/include/pybind11/cast.h:579:34: error: aligned allocation function of type 'void (std::size_t, std::align_val_t)' is only available on macOS 10.13 or newer
vptr = ::operator new(type->type_size,
^
lib/pybind11/include/pybind11/cast.h:579:34: note: if you supply your own aligned allocation functions, use -faligned-allocation to silence this diagnostic
In file included from src/getpy.cpp:1:
lib/pybind11/include/pybind11/pybind11.h:1000:11: error: 'operator delete' is unavailable: introduced in macOS 10.12
::operator delete(p, s, std::align_val_t(a));
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/new:252:74: note: 'operator delete' has been explicitly marked unavailable here
_LIBCPP_OVERRIDABLE_FUNC_VIS _LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void operator delete(voidp, std::size_t sz, std::align_val_t) _NOEXCEPT;
^
In file included from src/getpy.cpp:1:
lib/pybind11/include/pybind11/pybind11.h:1002:11: error: 'operator delete' is unavailable: introduced in macOS 10.12
::operator delete(p, s);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/new:235:74: note: 'operator delete' has been explicitly marked unavailable here
_LIBCPP_OVERRIDABLE_FUNC_VIS _LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void operator delete(void* p, std::size_t sz) _NOEXCEPT;
^
3 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
I attempted to install getpy in order to run pystapler, but unfortunately encountered the following error (when running "python setup.py install"). I was wondering if you had an thoughts on this.
(getpy) oliverkanders@Olivers-MacBook-Pro-3 getpy % python setup.py install running install /Users/oliverkanders/opt/anaconda3/envs/getpy/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
!! self.initialize_options() /Users/oliverkanders/opt/anaconda3/envs/getpy/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !!
!! self.initialize_options() running bdist_egg running egg_info writing getpy.egg-info/PKG-INFO writing dependency_links to getpy.egg-info/dependency_links.txt writing requirements to getpy.egg-info/requires.txt writing top-level names to getpy.egg-info/top_level.txt reading manifest file 'getpy.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'getpy.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.9-x86_64/egg running install_lib running build_py creating build creating build/lib.macosx-10.9-x86_64-cpython-39 creating build/lib.macosx-10.9-x86_64-cpython-39/getpy copying getpy/getpy.py -> build/lib.macosx-10.9-x86_64-cpython-39/getpy copying getpy/getpy_types.py -> build/lib.macosx-10.9-x86_64-cpython-39/getpy copying getpy/init.py -> build/lib.macosx-10.9-x86_64-cpython-39/getpy running build_ext building '_getpy' extension creating build/temp.macosx-10.9-x86_64-cpython-39 creating build/temp.macosx-10.9-x86_64-cpython-39/src clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/oliverkanders/opt/anaconda3/envs/getpy/include -fPIC -O2 -isystem /Users/oliverkanders/opt/anaconda3/envs/getpy/include -DDOCTEST_CONFIG_DISABLE -Ilib/parallel-hashmap -Ilib/pybind11/include -I/Users/oliverkanders/opt/anaconda3/envs/getpy/include/python3.9 -c src/getpy.cpp -o build/temp.macosx-10.9-x86_64-cpython-39/src/getpy.o -w -std=c++17 -stdlib=libc++ In file included from src/getpy.cpp:1: In file included from lib/pybind11/include/pybind11/pybind11.h:44: In file included from lib/pybind11/include/pybind11/attr.h:13: lib/pybind11/include/pybind11/cast.h:579:34: error: aligned allocation function of type 'void (std::size_t, std::align_val_t)' is only available on macOS 10.13 or newer vptr = ::operator new(type->type_size, ^ lib/pybind11/include/pybind11/cast.h:579:34: note: if you supply your own aligned allocation functions, use -faligned-allocation to silence this diagnostic In file included from src/getpy.cpp:1: lib/pybind11/include/pybind11/pybind11.h:1000:11: error: 'operator delete' is unavailable: introduced in macOS 10.12 ::operator delete(p, s, std::align_val_t(a)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/new:252:74: note: 'operator delete' has been explicitly marked unavailable here _LIBCPP_OVERRIDABLE_FUNC_VIS _LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void operator delete(void p, std::size_t sz, std::align_val_t) _NOEXCEPT; ^ In file included from src/getpy.cpp:1: lib/pybind11/include/pybind11/pybind11.h:1002:11: error: 'operator delete' is unavailable: introduced in macOS 10.12 ::operator delete(p, s); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/new:235:74: note: 'operator delete' has been explicitly marked unavailable here _LIBCPP_OVERRIDABLE_FUNC_VIS _LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void operator delete(void* p, std::size_t sz) _NOEXCEPT; ^ 3 errors generated. error: command '/usr/bin/clang' failed with exit code 1