stepjam / PyRep

A toolkit for robot learning research.
MIT License
686 stars 163 forks source link

CFFI error is persisting #256

Closed anonrobotics closed 3 years ago

anonrobotics commented 3 years ago

Hi there, I posted a similar error a few days ago, and I believe my issue was marked as resolved and closed after a response said that this should no longer be an issue. However, I am still having problems with this package. I received the following error: ERROR: Command errored out with exit status 1: command: /usr/local/opt/python@3.9/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/2x/hcdrc1p965j30z1dc6h3w84cbp1jq1/T/pip-req-build-mi4hj4l5/setup.py'"'"'; file='"'"'/private/var/folders/2x/hcdrc1p965j30z1dc6h3w84cbp1jq1/T/pip-req-build-mi4hj4l5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/2x/hcdrc1p965j30z1dc6h3w84cbp1jq1/T/pip-pip-egg-info-8i5zfqvl cwd: /private/var/folders/2x/hcdrc1p965j30z1dc6h3w84cbp1jq1/T/pip-req-build-mi4hj4l5/ Complete output (8 lines): Traceback (most recent call last): File "", line 1, in File "/private/var/folders/2x/hcdrc1p965j30z1dc6h3w84cbp1jq1/T/pip-req-build-mi4hj4l5/setup.py", line 2, in import cffi_build.cffi_build as cffi_build File "/private/var/folders/2x/hcdrc1p965j30z1dc6h3w84cbp1jq1/T/pip-req-build-mi4hj4l5/cffi_build/cffi_build.py", line 747, in os.symlink(path, path + '.1') FileExistsError: [Errno 17] File exists: '/Users/myname/Desktop/SS/PoseEstimation/Sim-to-real/CoppeliaSim_Edu_V4_1_0_Mac/libcoppeliaSim.so' -> '/Users/myName/Desktop/SS/PoseEstimation/Sim-to-real/CoppeliaSim_Edu_V4_1_0_Mac/libcoppeliaSim.so.1' creating symlink: /Users/myName/Desktop/SS/PoseEstimation/Sim-to-real/CoppeliaSim_Edu_V4_1_0_Mac/libcoppeliaSim.so.1 -> /Users/myName/Desktop/SS/PoseEstimation/Sim-to-real/CoppeliaSim_Edu_V4_1_0_Mac/libcoppeliaSim.so

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Would really appreciate some more help!

anonrobotics commented 3 years ago

I am encountering this when I run pip install .

stepjam commented 3 years ago

MAC is not supported. From the README:

Although you can use CoppeliaSim on any platform, communication via PyRep is currently only supported on Linux.

Your previous issue said this was also not working on Linux? Please try installing there, making sure to install the latest PyRep version and the latest updates to requirements.txt

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.