real-stanford / diffusion_policy

[RSS 2023] Diffusion Policy Visuomotor Policy Learning via Action Diffusion
https://diffusion-policy.cs.columbia.edu/
MIT License
1.39k stars 260 forks source link

conda failed to create environment #69

Open duidui6666 opened 5 months ago

duidui6666 commented 5 months ago

when I run the code conda env create -f conda_environment.yaml,Reported this error error: legacy-install-failure

× Encountered error while trying to install package. ╰─> pybullet-svl

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. \ failed

CondaEnvException: Pip failed

duidui6666 commented 5 months ago

I know where the problem lies: it's caused by different versions of my gcc and g++. Just upgrade the versions to be consistent. Then enter the following two commands: sudo ln -s /usr/bin/gcc-7 /usr/bin/gcc -f sudo ln -s /usr/bin/g++-7 /usr/bin/g++ -f Build strong links