'How do I install Coolprop with pip3 in Mac terminal (legacy-install-failure error)?
I am trying to install the Coolprop package using pip3 in the Mac terminal. However when I try input: install coolprop I get the following result/error.
seansanguinito@Seans-MacBook-Air ~ % pip3 install coolprop
Collecting coolprop
Using cached CoolProp-6.4.1.tar.gz (12.9 MB)
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for coolprop, since package 'wheel' is not installed.
Installing collected packages: coolprop
Running setup.py install for coolprop ... error
error: subprocess-exited-with-error
× Running setup.py install for coolprop did not run successfully.
│ exit code: 1
╰─> [277 lines of output]
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
OSX build detected, targetting 10.9 using clang/gcc v13.0.0.
Assuming that we cannot build for 10.9 using clang/gcc 13.0.0, resetting target to 10.9
Cython will not be used; cy_ext is cpp
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-3.10
creating build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/constants.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/__init__.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/BibtexParser.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/HumidAirProp.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/State.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp
creating build/lib.macosx-10.9-universal2-3.10/CoolProp/tests
copying CoolProp/tests/runner.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/tests
copying CoolProp/tests/test_plots.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/tests
copying CoolProp/tests/test_Props.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/tests
copying CoolProp/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/tests
copying CoolProp/tests/test_CoolPropState.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/tests
creating build/lib.macosx-10.9-universal2-3.10/CoolProp/GUI
copying CoolProp/GUI/__init__.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/GUI
copying CoolProp/GUI/CoolPropGUI.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/GUI
copying CoolProp/GUI/PsychScript.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/GUI
creating build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/ConsistencyPlots_pcsaft.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/PsychChart.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/SimpleCycles.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/__init__.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/psy.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/Plots.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/Common.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/SimpleCyclesCompression.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/ConsistencyPlots.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/PsychScript.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/Tests.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/Plots/SimpleCyclesExpansion.py -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
copying CoolProp/typedefs.pxd -> build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/CoolProp.pxd -> build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/State.pxd -> build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/cAbstractState.pxd -> build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/constants_header.pxd -> build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/AbstractState.pxd -> build/lib.macosx-10.9-universal2-3.10/CoolProp
copying CoolProp/Plots/psyrc -> build/lib.macosx-10.9-universal2-3.10/CoolProp/Plots
running build_ext
creating private
creating private/var
creating private/var/folders
creating private/var/folders/79
creating private/var/folders/79/4vjjcgts223c5lvztpw59fxr0000gn
creating private/var/folders/79/4vjjcgts223c5lvztpw59fxr0000gn/T
creating private/var/folders/79/4vjjcgts223c5lvztpw59fxr0000gn/T/pip-install-pjl4r37u
creating private/var/folders/79/4vjjcgts223c5lvztpw59fxr0000gn/T/pip-install-pjl4r37u/coolprop_e68ebc3ccd374d01a6660ec948215b42
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c /private/var/folders/79/4vjjcgts223c5lvztpw59fxr0000gn/T/pip-install-pjl4r37u/coolprop_e68ebc3ccd374d01a6660ec948215b42/tmpzyw2ahby.cpp -o private/var/folders/79/4vjjcgts223c5lvztpw59fxr0000gn/T/pip-install-pjl4r37u/coolprop_e68ebc3ccd374d01a6660ec948215b42/tmpzyw2ahby.o
No shared_ptr flags needed
building 'CoolProp.CoolProp' extension
creating build/temp.macosx-10.9-universal2-3.10
creating build/temp.macosx-10.9-universal2-3.10/CoolProp
creating build/temp.macosx-10.9-universal2-3.10/src
creating build/temp.macosx-10.9-universal2-3.10/src/Backends
creating build/temp.macosx-10.9-universal2-3.10/src/Backends/Cubics
creating build/temp.macosx-10.9-universal2-3.10/src/Backends/Helmholtz
creating build/temp.macosx-10.9-universal2-3.10/src/Backends/Helmholtz/Fluids
creating build/temp.macosx-10.9-universal2-3.10/src/Backends/IF97
creating build/temp.macosx-10.9-universal2-3.10/src/Backends/Incompressible
creating build/temp.macosx-10.9-universal2-3.10/src/Backends/PCSAFT
creating build/temp.macosx-10.9-universal2-3.10/src/Backends/REFPROP
creating build/temp.macosx-10.9-universal2-3.10/src/Backends/Tabular
creating build/temp.macosx-10.9-universal2-3.10/src/Tests
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I. -I./include -I./src -I./externals/Eigen -I./externals/fmtlib -I./externals/msgpack-c/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c CoolProp/CoolProp.cpp -o build/temp.macosx-10.9-universal2-3.10/CoolProp/CoolProp.o
CoolProp/CoolProp.cpp:63966:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
CoolProp/CoolProp.cpp:63968:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
CoolProp/CoolProp.cpp:64655:13: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
PyUnicode_AS_UNICODE(name)[0] == '_')
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:279:7: note: expanded from macro 'PyUnicode_AS_UNICODE'
PyUnicode_AsUnicode(_PyObject_CAST(op)))
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:65595:54: error: no member named 'tp_print' in '_typeobject'
__pyx_type_8CoolProp_8CoolProp_PyPhaseEnvelopeData.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
CoolProp/CoolProp.cpp:65603:53: error: no member named 'tp_print' in '_typeobject'
__pyx_type_8CoolProp_8CoolProp_PyGuessesStructure.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
CoolProp/CoolProp.cpp:65611:50: error: no member named 'tp_print' in '_typeobject'
__pyx_type_8CoolProp_8CoolProp_PyCriticalState.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
CoolProp/CoolProp.cpp:65619:49: error: no member named 'tp_print' in '_typeobject'
__pyx_type_8CoolProp_8CoolProp_PySpinodalData.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
CoolProp/CoolProp.cpp:65789:48: error: no member named 'tp_print' in '_typeobject'
__pyx_type_8CoolProp_8CoolProp_AbstractState.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
CoolProp/CoolProp.cpp:65825:40: error: no member named 'tp_print' in '_typeobject'
__pyx_type_8CoolProp_8CoolProp_State.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
CoolProp/CoolProp.cpp:67577:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) : \
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67577:22: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67577:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67577:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) : \
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67577:52: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67577:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67593:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) : \
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67593:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67593:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67593:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) : \
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67593:59: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
CoolProp/CoolProp.cpp:67593:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
13 warnings and 8 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> coolprop
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I'm using python 3.10.2 on a macbook air. I'm trying to install coolprop with the terminal. I've searched for this issue and found some posts about older python versions but not 3.10.
Any advice?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
