when following the instructions to install a solver(ecos).
Running setup.py install for toppra ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-kbk48szv-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-k9ui1jpl-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
Compiling toppra/_CythonUtils.pyx because it depends on /home/x.li/.local/lib/python3.6/site-packages/Cython/Includes/libc/string.pxd.
Compiling toppra/solverwrapper/cy_seidel_solverwrapper.pyx because it depends on /home/x.li/.local/lib/python3.6/site-packages/Cython/Includes/libc/string.pxd.
[1/2] Cythonizing toppra/_CythonUtils.pyx
/home/x.li/.local/lib/python3.6/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-kbk48szv-build/toppra/_CythonUtils.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[2/2] Cythonizing toppra/solverwrapper/cy_seidel_solverwrapper.pyx
/home/x.li/.local/lib/python3.6/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-kbk48szv-build/toppra/solverwrapper/cy_seidel_solverwrapper.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
warning: toppra/solverwrapper/cy_seidel_solverwrapper.pyx:583:26: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: toppra/solverwrapper/cy_seidel_solverwrapper.pyx:583:39: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-kbk48szv-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-k9ui1jpl-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-kbk48szv-build/
To Reproduce
Steps to reproduce the behavior:
run pip install .[dev] under ~/toppra/
Hi, you might want to use a virtual environment and upgrade the build tools: setuptools, wheel, pip instead of using the versions that come with your OS.
Describe the bug Hi,
when following the instructions to install a solver(ecos).
To Reproduce Steps to reproduce the behavior: run
pip install .[dev]
under~/toppra/
Expected behavior not sure, didn't succeed