Giter VIP home page Giter VIP logo

python-rvo2's People

Contributors

brean avatar danieldugas avatar snape avatar sybrenstuvel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-rvo2's Issues

Python Package Index

Is there a reason this package is not on PyPi? If not then this is something that I'd like to help with.

Implementation of NH-ORCA

Do you have the implementation of ORCA for non-holonomic robots?
Or do you know anyone who has worked on this?
Your help will be appreciated!

Thanks in Advance

installation fails

Installation fails:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

git clone https://github.com/sybrenstuvel/Python-RVO2.git
Cloning into 'Python-RVO2'...
remote: Counting objects: 156, done.
remote: Total 156 (delta 0), reused 0 (delta 0), pack-reused 156
Receiving objects: 100% (156/156), 93.82 KiB | 0 bytes/s, done.
Resolving deltas: 100% (84/84), done.
Checking connectivity... done.

cd Python-RVO2/

pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): Cython==0.21.1 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 1))
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
g201:Python-RVO2$ python setup.py build
Compiling src/rvo2.pyx because it changed.
[1/1] Cythonizing src/rvo2.pyx
running build
running build_ext
error: [Errno 20] Not a directory

Installing rvo2 for windows

I have the following problem when I try to build or install. Apparently, everything works well until it tries to build the rvo2 extension:

building 'rvo2' extension
...
LINK : fatal error LNK1181: cannot open input file 'RVO.lib'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\...\\x64\\link.exe' failed with exit status 1181

README Example

In the example in README.md, the time step needs to be 1.0 / 60 because 1 / 60 is interpreted as 0 and thus the simulation does not progress.

ImportError

ImportError: /home/xxxxx/anaconda3/envs/hhd_pytorch/lib/python3.6/site-packages/pyrvo2-0.0.0-py3.6-linux-x86_64.egg/rvo2.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZSt28__throw_bad_array_new_lengthv
I get this error when I import rvo2, how do I fix it? Thanks!

Missing RVOSimulator destructor causes memory leak in rvo.pyx

Hello Sybren,

Thank you for making the RVO2 code available in python!

However, I found a small bug and would appreciate if you could fix it:
In rvo.pyx, the destructor of RVOSimulator class is missing. This causes memory leak because an RVOSimulator object contains other objects, such as Agents, Obstacles, kdTree, etc. For this reason, the destructor of RVOSimulator is overwritten in the original C++ code and we must export the destructor to Python in rvo.pyx.

Please add the following line under cdef class PyRVOSimulator in line 79:
def __dealloc__(self): del self.thisptr

Agents as Dynamic Obstacles

Howdy!
I'm brand new to this RVO2 library, but I'm wondering if you could answer a question, namely:

I have some Agents that need to animate along a predetermined animation path, that is, the can't participate in the "reciprocal" part of RVO; for the other Agents, these are basically Dynamic Obstacles.

Is there some way to set the Agent parameters to make something like this happen? I'm considering turning down the time horizon for the "obstacles" and maybe turning it up for the "avoiders", or just resetting the obstacle agent's position each step.

I thought that RVO supported setting a weight, i.e. 0.5 which had the effect of having each agent get out of the way of the other with equal effort. I was hoping I could find a place to set the weight to 1.0 for my dynamic obstacle objects.

I realize that this is just the home of the Python bindings for the RVO2 library - but I figure you're also expert users!

Thanks in advance

RVO2-3D

Hi, I was wondering, can this be used for RVO2-3D as well? How can I set it up so that it does?

Build error Windows

Hi,
I am facing this error while building on Windows after running the command python setup.py build. Any idea how to go about it?

running build
running build_ext
The system cannot find the file specified
CMake Error: Generator: execution of make failed. Make command was: nmake /nologo &&
Traceback (most recent call last):
  File "setup.py", line 49, in <module>
    'Topic :: Software Development :: Libraries :: Python Modules',
  File "C:\Users\pranav\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools\__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\pranav\AppData\Local\Programs\Python\Python37\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\pranav\AppData\Local\Programs\Python\Python37\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\pranav\AppData\Local\Programs\Python\Python37\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\pranav\AppData\Local\Programs\Python\Python37\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "C:\Users\pranav\AppData\Local\Programs\Python\Python37\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\pranav\AppData\Local\Programs\Python\Python37\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 20, in run
    subprocess.check_call(['cmake', '--build', '.'], cwd=build_dir)
  File "C:\Users\pranav\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.']' returned non-zero exit status 1.

build error in ubuntu 20.04

Firstly, cynton new version is installing but the version mentioned in requirement can't. After that executing "python setup.py build" is creating below error. Any suggestion will be helpful.

running build
running build_ext
No such file or directory
CMake Error: Generator: execution of make failed. Make command was: -f Makefile &&
Traceback (most recent call last):
File "setup.py", line 49, in
'Topic :: Software Development :: Libraries :: Python Modules',
File "/home/sumit/trajnet++/trajnetv/lib/python3.6/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 20, in run
subprocess.check_call(['cmake', '--build', '.'], cwd=build_dir)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.']' returned non-zero exit status 1.

Compile for Windows

Is there a simple way to install Python-RVO2 for Windows? I faced the problems on linking stage.

RVO.lib(RVOSimulator.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in rvo2.obj

and

python36.lib(python36.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

It seems msbuild generates project in debug configuration and for x86 architecture by default. How can I fix it? Thnx

I use Windows 10, Python 3.6 (Anaconda) and VC++ 14 (as recommended).

subprocess.CalledProcessError: Command '['cmake', '../..', '-DCMAKE_CXX_FLAGS=-fPIC']' returned non-zero exit status 1.

python setup.py build

^[[A
running build
running build_ext
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- Check for working C compiler: /cm/shared/apps/gcc8/8.4.0/bin/gcc
-- Check for working C compiler: /cm/shared/apps/gcc8/8.4.0/bin/gcc -- broken
CMake Error at /cm/shared/apps/cmake/3.5.1/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/cm/shared/apps/gcc8/8.4.0/bin/gcc" is not able to compile
a simple test program.

It fails with the following output:

Change Dir: /home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_302d1/fast"

/usr/bin/gmake -f CMakeFiles/cmTC_302d1.dir/build.make
CMakeFiles/cmTC_302d1.dir/build

gmake[1]: Entering directory
`/home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeTmp'

Building C object CMakeFiles/cmTC_302d1.dir/testCCompiler.c.o

/cm/shared/apps/gcc8/8.4.0/bin/gcc -o
CMakeFiles/cmTC_302d1.dir/testCCompiler.c.o -c
/home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeTmp/testCCompiler.c

Linking C executable cmTC_302d1

/cm/shared/apps/cmake/3.5.1/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_302d1.dir/link.txt --verbose=1

/cm/shared/apps/gcc8/8.4.0/bin/gcc
CMakeFiles/cmTC_302d1.dir/testCCompiler.c.o -o cmTC_302d1 -rdynamic

/usr/bin/ld: cannot find crt1.o: No such file or directory

/usr/bin/ld: cannot find crti.o: No such file or directory

collect2: error: ld returned 1 exit status

gmake[1]: *** [cmTC_302d1] Error 1

gmake[1]: Leaving directory
`/home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeTmp'

gmake: *** [cmTC_302d1/fast] Error 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:34 (project)

-- Configuring incomplete, errors occurred!
See also "/home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeOutput.log".
See also "/home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 49, in
'Topic :: Software Development :: Libraries :: Python Modules',
File "/home/xxx/.conda/envs/env_RVO2/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/xxx/.conda/envs/env_RVO2/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/xxx/.conda/envs/env_RVO2/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/xxx/.conda/envs/env_RVO2/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/xxx/.conda/envs/env_RVO2/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/xxx/.conda/envs/env_RVO2/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 19, in run
cwd=build_dir)
File "/home/xxx/.conda/envs/env_RVO2/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '../..', '-DCMAKE_CXX_FLAGS=-fPIC']' returned non-zero exit status 1.

Any advice?

complilation error in ubuntu 18.04

Hello, I meet a compilation error in ubuntu 18.04. and I hope someone could help me.

At first, I get a similar error with #15.
And I try to delete the empty build directory. Later, I meet another similar error.

running build
running build_ext
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:34 (project):
No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "/home/nubot117/workspace/Python-RVO2/build/RVO2/CMakeFiles/CMakeOutput.log".
See also "/home/nubot117/workspace/Python-RVO2/build/RVO2/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 49, in
'Topic :: Software Development :: Libraries :: Python Modules',
File "/home/nubot117/anaconda3/envs/rgl/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/nubot117/anaconda3/envs/rgl/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/nubot117/anaconda3/envs/rgl/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/nubot117/anaconda3/envs/rgl/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/nubot117/anaconda3/envs/rgl/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/nubot117/anaconda3/envs/rgl/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 19, in run
cwd=build_dir)
File "/home/nubot117/anaconda3/envs/rgl/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '../..', '-DCMAKE_CXX_FLAGS=-fPIC']' returned non-zero exit status 1.

subprocess.CalledProcessError: Command '['cmake', '../..', '-DCMAKE_CXX_FLAGS=-fPIC']' returned non-zero exit status 1.

running build
running build_ext
CMake Deprecation Warning at CMakeLists.txt:33 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/moncef/trajnet++/trajnetplusplusdataset/Python-RVO2-master/build/RVO2/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "setup.py", line 49, in
'Topic :: Software Development :: Libraries :: Python Modules',
File "/home/moncef/trajnet++/venv/lib/python3.6/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 19, in run
cwd=build_dir)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '../..', '-DCMAKE_CXX_FLAGS=-fPIC']' returned non-zero exit status 1.

why this error is happening ?

'setAgentCollabCoeff' attribute error

Hi, I use this package as a baseline for my own method. But, when I run my script, there has an error as follows:
AttributeError: 'rvo2.PyRVOSimulator' object has no attribute 'setAgentCollabCoeff'
I hope u can help me to solve this issue . Thank u so much ..

Simulate as a non-holonomic robot.

My robot is a non-holonomic robot, which can only move forward and rotate, but cannot move sideways. But I looked at the example.py file and found that the robot of the simulation simulator is a holonomic robot. How can I modify it into a holonomic robot?

Install for Mac OS

I followed the instruction in the installment for Mac OS but still failed. The version of my system is 10.12.6.

Here is the error message:

File "test_rvo2.py", line 3, in <module>
    import rvo2
ImportError: dlopen(/Users/xxx/anaconda/lib/python3.5/site-packages/pyrvo2-0.0.0-py3.5-macosx-10.6-x86_64.egg/rvo2.cpython-35m-darwin.so, 2): Symbol notfound: __ZN3RVO12RVOSimulator11addObstacleERKSt6vectorINS_7Vector2ESaIS2_EE
  Referenced from: /Users/xxx/anaconda/lib/python3.5/site-packages/pyrvo2-0.0.0-py3.5-macosx-10.6-x86_64.egg/rvo2.cpython-35m-darwin.so
  Expected in: flat namespace
 in /Users/xxx/anaconda/lib/python3.5/site-packages/pyrvo2-0.0.0-py3.5-macosx-10.6-x86_64.egg/rvo2.cpython-35m-darwin.so

Unable to build on either Ubuntu or Windows system

I have both Cmake and Cython (recommended version) installed. However, when I execute the command

python setup.py build

I get the following error

running build running build_ext Error: could not load cache Traceback (most recent call last): File "setup.py", line 49, in <module> 'Topic :: Software Development :: Libraries :: Python Modules', File "C:\ProgramData\Anaconda3\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 955, in run_commands self.run_command(cmd) File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\ProgramData\Anaconda3\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\ProgramData\Anaconda3\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "setup.py", line 20, in run subprocess.check_call(['cmake', '--build', '.'], cwd=build_dir) File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.']' returned non-zero exit status 1.

I am wondering what the issue is and how it can be fixed.

Error: Build in PopOS 21.10

Hi guys, I meet a building problem when I follow the tutorial to run python setup.py build in my server.

Error Report

[  9%] Building CXX object src/CMakeFiles/RVO.dir/Agent.cpp.o
[ 18%] Building CXX object src/CMakeFiles/RVO.dir/KdTree.cpp.o
[ 27%] Building CXX object src/CMakeFiles/RVO.dir/Obstacle.cpp.o
[ 36%] Building CXX object src/CMakeFiles/RVO.dir/RVOSimulator.cpp.o
[ 45%] Linking CXX static library libRVO.a
[ 45%] Built target RVO
[ 54%] Building CXX object examples/CMakeFiles/Blocks.dir/Blocks.cpp.o
[ 63%] Linking CXX executable Blocks
/home/user_name/Miniconda/envs/py6/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/user_name/Miniconda/envs/py6/lib/libstdc++.so: undefined reference to `aligned_alloc@GLIBC_2.16'
/home/user_name/Miniconda/envs/py6/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/user_name/Miniconda/envs/py6/lib/libstdc++.so: undefined reference to `clock_gettime@GLIBC_2.17'
collect2: error: ld returned 1 exit status
gmake[2]: *** [examples/CMakeFiles/Blocks.dir/build.make:98: examples/Blocks] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:902: examples/CMakeFiles/Blocks.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2
Traceback (most recent call last):
  File "setup.py", line 49, in <module>
    'Topic :: Software Development :: Libraries :: Python Modules',
  File "/home/user_name/Miniconda/envs/py6/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/home/user_name/Miniconda/envs/py6/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/user_name/Miniconda/envs/py6/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/home/user_name/Miniconda/envs/py6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/user_name/Miniconda/envs/py6/lib/python3.6/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/user_name/Miniconda/envs/py6/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/user_name/Miniconda/envs/py6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "setup.py", line 20, in run
    subprocess.check_call(['cmake', '--build', '.'], cwd=build_dir)
  File "/home/user_name/Miniconda/envs/py6/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.']' returned non-zero exit status 2.

The key point I noticed that is undefined reference to aligned_alloc@GLIBC_2.16 and I also tried to search this but nothing got. Questions about this error has been many years ago, seems this rarely happens.

Actually I'm not that familar with CMake side, so maybe this is a stupid question. But if someone has meet the same problem please teach me how to solve it. So grateful!

System Info

  • OS: Pop!_OS 21.10 x86_64
  • Kernel: 5.16.11-76051611-generic
  • libstdc++ Version: /usr/lib32/libstdc++.so.6 -> libstdc++.so.6.0.29
  • g++ -dumpversion: 9.3.0
  • Conda Version: 4.10.3
  • Conda Env Python Version: 3.6

What I tried

  1. Reinstall conda and conda env: the same problem happens;
  2. Do not use conda env, instead of using system python env;
  3. Upgrade system, including g++ and other libs;

What I guess

  1. Conda's problem, maybe the Cython has some conflict with conda env?
  2. Some out-of-date lib soft links, maybe can be fixed manually.

Sharing any ideas about this would be welcome and I would be so grateful.

subprocess.CalledProcessError: Command '['cmake', '--build', '.']' returned non-zero exit status 1.

running build
running build_ext
Error: could not load cache
Traceback (most recent call last):
File "setup.py", line 49, in
'Topic :: Software Development :: Libraries :: Python Modules',
File "C:\Users\chois\AppData\Local\Continuum\anaconda3\envs\crowdnav\lib\site-packages\setuptools_init_.py", line 144, in setup
return distutils.core.setup(**attrs)
File "C:\Users\chois\AppData\Local\Continuum\anaconda3\envs\crowdnav\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\chois\AppData\Local\Continuum\anaconda3\envs\crowdnav\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Users\chois\AppData\Local\Continuum\anaconda3\envs\crowdnav\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\chois\AppData\Local\Continuum\anaconda3\envs\crowdnav\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\chois\AppData\Local\Continuum\anaconda3\envs\crowdnav\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\chois\AppData\Local\Continuum\anaconda3\envs\crowdnav\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 20, in run
subprocess.check_call(['cmake', '--build', '.'], cwd=build_dir)
File "C:\Users\chois\AppData\Local\Continuum\anaconda3\envs\crowdnav\lib\subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.']' returned non-zero exit status 1.

Why this error is happen?

Import error for rvo2 in ubuntu 18.04

Hi,
I followed your instructions but having an import error when i run the python script.

I initially had a problem with setup.py install and hence did the whole setup in a virtual environment.

Can you please let me know what could be the problem ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.