mhogg / pyoctree

Octree structure containing a 3D triangular mesh model
MIT License
86 stars 19 forks source link

Installation difficulties from tp_print #50

Open danbodily opened 3 years ago

danbodily commented 3 years ago

tp_print was removed in Python 3.9 - I get the following error on installation

c:\users\a2f54zz\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION pyoctree/pyoctree.cpp(4179): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data pyoctree/pyoctree.cpp(8434): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data pyoctree/pyoctree.cpp(9521): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data pyoctree/pyoctree.cpp(30311): error C2039: 'tp_print': is not a member of '_typeobject' c:\users\a2f54zz\appdata\local\programs\python\python39\include\cpython/object.h(193): note: see declaration of '_typeobject' pyoctree/pyoctree.cpp(30322): error C2039: 'tp_print': is not a member of '_typeobject' c:\users\a2f54zz\appdata\local\programs\python\python39\include\cpython/object.h(193): note: see declaration of '_typeobject' pyoctree/pyoctree.cpp(30333): error C2039: 'tp_print': is not a member of '_typeobject' c:\users\a2f54zz\appdata\local\programs\python\python39\include\cpython/object.h(193): note: see declaration of '_typeobject' pyoctree/pyoctree.cpp(30344): error C2039: 'tp_print': is not a member of '_typeobject' c:\users\a2f54zz\appdata\local\programs\python\python39\include\cpython/object.h(193): note: see declaration of '_typeobject' pyoctree/pyoctree.cpp(30353): error C2039: 'tp_print': is not a member of '_typeobject' c:\users\a2f54zz\appdata\local\programs\python\python39\include\cpython/object.h(193): note: see declaration of '_typeobject' pyoctree/pyoctree.cpp(30361): error C2039: 'tp_print': is not a member of '_typeobject' c:\users\a2f54zz\appdata\local\programs\python\python39\include\cpython/object.h(193): note: see declaration of '_typeobject' pyoctree/pyoctree.cpp(30366): error C2039: 'tp_print': is not a member of '_typeobject' c:\users\a2f54zz\appdata\local\programs\python\python39\include\cpython/object.h(193): note: see declaration of '_typeobject' pyoctree/pyoctree.cpp(30381): error C2039: 'tp_print': is not a member of '_typeobject' c:\users\a2f54zz\appdata\local\programs\python\python39\include\cpython/object.h(193): note: see declaration of '_typeobject' pyoctree/pyoctree.cpp(30394): error C2039: 'tp_print': is not a member of '_typeobject' c:\users\a2f54zz\appdata\local\programs\python\python39\include\cpython/object.h(193): note: see declaration of '_typeobject' pyoctree/pyoctree.cpp(30965): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3 pyoctree/pyoctree.cpp(30981): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3 pyoctree/pyoctree.cpp(33459): warning C4996: 'PyUnicode_FromUnicode': deprecated in 3.3 pyoctree/pyoctree.cpp(33725): warning C4996: 'PyUnicode_FromUnicode': deprecated in 3.3 error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2