Re: A Freudian slip of *EPIC PROPORTIONS*!
On 2014-11-13, Rick Johnson wrote: > On the other hand, if the author is not GvR, then he is most > likely someone of great importance within the community. As much as I love Python, I hate the amount of appeal to authority that is present in the Python community. Ok, GvR created Python, great. He is extremely smart and knowledgable, no doubt. But that doesn't make him right on everything. That doesn't mean his opinion on something makes it True or False. Gooosh. -- ko -- https://mail.python.org/mailman/listinfo/python-list
Installation of python
Hello, I am trying to install a custom Python package but ran into an error. The error presumably associated with cython. I tried a different compiler since Intel compiler often crashes when using cython, but couldn't get it working. Attached is the installation error log. I have installed and updated all essential packages such as numpy and scipy. Could someone please give me advice to resolve this issue? Many thanks in advance. Sincerely, TK === $ python setup.py build_ext -b PoissonSolver/ running build_ext skipping 'PoissonSolver/MV_2D_cy/matvec2D.c' Cython extension (up-to-date) skipping 'PoissonSolver/MV_1D_cy/matvec1D.c' Cython extension (up-to-date) skipping 'PoissonSolver/PS_3D_cy/ps3d.c' Cython extension (up-to-date) building 'matvec2D' extension icc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include -I/home01/r782a03/.conda/envs/hko_env/include/python3.7m -c PoissonSolver/MV_2D_cy/matvec2D.c -o build/temp.linux-x86_64-3.7/PoissonSolver/MV_2D_cy/matvec2D.o -ffast-math icc: command line warning #10006: ignoring unknown option '-ffast-math' In file included from /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h(1830), from /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h(12), from /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h(4), from PoissonSolver/MV_2D_cy/matvec2D.c(232): /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(17): warning #1224: #warning directive: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" #warning "Using deprecated NumPy API, disable it with " \ ^ PoissonSolver/MV_2D_cy/matvec2D.c(17500): error: struct "_ts" has no field "exc_type" *type = tstate->exc_type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17501): error: struct "_ts" has no field "exc_value" *value = tstate->exc_value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17502): error: struct "_ts" has no field "exc_traceback" *tb = tstate->exc_traceback; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17514): error: struct "_ts" has no field "exc_type" tmp_type = tstate->exc_type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17515): error: struct "_ts" has no field "exc_value" tmp_value = tstate->exc_value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17516): error: struct "_ts" has no field "exc_traceback" tmp_tb = tstate->exc_traceback; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17517): error: struct "_ts" has no field "exc_type" tstate->exc_type = type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17518): error: struct "_ts" has no field "exc_value" tstate->exc_value = value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17519): error: struct "_ts" has no field "exc_traceback" tstate->exc_traceback = tb; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17562): error: struct "_ts" has no field "exc_type" tmp_type = tstate->exc_type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17563): error: struct "_ts" has no field "exc_value" tmp_value = tstate->exc_value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17564): error: struct "_ts" has no field "exc_traceback" tmp_tb = tstate->exc_traceback; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17565): error: struct "_ts" has no field "exc_type" tstate->exc_type = local_type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17566): error: struct "_ts" has no field "exc_value" tstate->exc_value = local_value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17567): error: struct "_ts" has no field "exc_traceback" tstate->exc_traceback = local_tb; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17589): error: struct "_ts" has no field "exc_type" tmp_type = tstate->exc_type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17590): error: struct "_ts" has no field "exc_value" tmp_value = tstate->exc_value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17591): error: struct "_ts" has no field "exc_traceback" tmp_tb = tstate->exc_traceback; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17592): error: struct "_ts" has no field "exc_type" tstate->exc_type = *type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17593): error: struct "_ts" has no field "exc_value" tstate->exc_value = *value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17594): error: struct "_ts" h
Error while installing a python code
Hello, I am trying to install a custom Python code but ran into an error. The error presumably associated with cython. I tried a different compiler since Intel compiler often crashes when using cython, but couldn't get it working. Attached is the installation error log. I have installed and updated all essential packages such as numpy and scipy. Could someone please give me advice to resolve this issue? Many thanks in advance. Sincerely, TK === $ python setup.py build_ext -b PoissonSolver/ running build_ext skipping 'PoissonSolver/MV_2D_cy/matvec2D.c' Cython extension (up-to-date) skipping 'PoissonSolver/MV_1D_cy/matvec1D.c' Cython extension (up-to-date) skipping 'PoissonSolver/PS_3D_cy/ps3d.c' Cython extension (up-to-date) building 'matvec2D' extension icc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include -I/home01/r782a03/.conda/envs/hko_env/include/python3.7m -c PoissonSolver/MV_2D_cy/matvec2D.c -o build/temp.linux-x86_64-3.7/PoissonSolver/MV_2D_cy/matvec2D.o -ffast-math icc: command line warning #10006: ignoring unknown option '-ffast-math' In file included from /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h(1830), from /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h(12), from /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h(4), from PoissonSolver/MV_2D_cy/matvec2D.c(232): /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(17): warning #1224: #warning directive: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" #warning "Using deprecated NumPy API, disable it with " \ ^ PoissonSolver/MV_2D_cy/matvec2D.c(17500): error: struct "_ts" has no field "exc_type" *type = tstate->exc_type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17501): error: struct "_ts" has no field "exc_value" *value = tstate->exc_value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17502): error: struct "_ts" has no field "exc_traceback" *tb = tstate->exc_traceback; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17514): error: struct "_ts" has no field "exc_type" tmp_type = tstate->exc_type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17515): error: struct "_ts" has no field "exc_value" tmp_value = tstate->exc_value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17516): error: struct "_ts" has no field "exc_traceback" tmp_tb = tstate->exc_traceback; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17517): error: struct "_ts" has no field "exc_type" tstate->exc_type = type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17518): error: struct "_ts" has no field "exc_value" tstate->exc_value = value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17519): error: struct "_ts" has no field "exc_traceback" tstate->exc_traceback = tb; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17562): error: struct "_ts" has no field "exc_type" tmp_type = tstate->exc_type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17563): error: struct "_ts" has no field "exc_value" tmp_value = tstate->exc_value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17564): error: struct "_ts" has no field "exc_traceback" tmp_tb = tstate->exc_traceback; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17565): error: struct "_ts" has no field "exc_type" tstate->exc_type = local_type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17566): error: struct "_ts" has no field "exc_value" tstate->exc_value = local_value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17567): error: struct "_ts" has no field "exc_traceback" tstate->exc_traceback = local_tb; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17589): error: struct "_ts" has no field "exc_type" tmp_type = tstate->exc_type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17590): error: struct "_ts" has no field "exc_value" tmp_value = tstate->exc_value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17591): error: struct "_ts" has no field "exc_traceback" tmp_tb = tstate->exc_traceback; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17592): error: struct "_ts" has no field "exc_type" tstate->exc_type = *type; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17593): error: struct "_ts" has no field "exc_value" tstate->exc_value = *value; ^ PoissonSolver/MV_2D_cy/matvec2D.c(17594): error: struct "_ts" has n
