You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2018/07/17 11:27:00 UTC
[jira] [Created] (ARROW-2867) [Python] Incorrect example for Cython
usage
Antoine Pitrou created ARROW-2867:
-------------------------------------
Summary: [Python] Incorrect example for Cython usage
Key: ARROW-2867
URL: https://issues.apache.org/jira/browse/ARROW-2867
Project: Apache Arrow
Issue Type: Bug
Components: Documentation, Python
Affects Versions: 0.9.0
Reporter: Antoine Pitrou
Assignee: Antoine Pitrou
When blindly pasting the Cython distutils example, one might get the following error:
{code}
Traceback (most recent call last):
File "setup.py", line 20, in <module>
ext_modules=ext_modules,
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/command/build_ext.py", line 558, in build_extension
target_lang=language)
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/ccompiler.py", line 717, in link_shared_object
extra_preargs, extra_postargs, build_temp, target_lang)
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/unixccompiler.py", line 159, in link
libraries)
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/ccompiler.py", line 1089, in gen_lib_options
lib_opts.append(compiler.library_dir_option(dir))
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/distutils/unixccompiler.py", line 207, in library_dir_option
return "-L" + dir
TypeError: must be str, not list
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)