-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"One line installation" fails on a vanilla MACOS 14 install #201
Comments
Hello @c-joly, Thanks for the comment and the effort.
Thanks for this. Really helpful.
Hmmm. I used pip to avoid having to deal with compiling from source. I am suspecting that the dart developers do not have pre-built binaries for M2 processors. I will update the script to build DART from source.
This is very weird.
Where did you run the script from? You should be in the root of the robot_dart repo. I guess this might be related to the python issue. Ahh no, I see why this happened. I will fix it.
These should be only warnings. That's what I see in the output as well. We can safely ignore those. Or these were errors? I do not see any such error in the log.
Yes. I will fix that.
I'll handle
Thanks for the suggestion. I will update the script. @c-joly thanks for the comments! I will update the script and let you know so that you can try on a clean installation again! I am not using Mac and I trusted the GitHub CI Mac machine; turns out I needed to be more careful! |
Hello @costashatz , Thanks for your fast reply!
I was surprised too, since homebrew provides
These were errors. Eventually, I decided to not paste them since it might be due to the problems of python. I saw these errors after I launched the script a second time (after performing
Yes, but on the install I used, the command is
Thanks. I am not a big fan of Thanks very much again for your fast answer. Will try again the install when the new script is available. |
Hi @costashatz , I think I succeed to update the install script for MacOS Silicon. I will summarize bellow the parts that are not working well with the original script. If you want, I can eventually propose a pull request of my script as an extra script PrerequisitesThe script does not work with an out of the box install of MacOS. In my previous message, I mentioned that
Missing include in a
|
@c-joly this is great! Yes please do provide a pull request (please allow for changes), and I will try to adapt it for all MacOSes. Thanks again for your hard work! Appreciated! |
@c-joly I have updated the installation script for OSX in the One note is that I never encountered the Can you please verify that new script works also for you (apart maybe from this jpeglib issue)? Thanks! If the jpeglib issue persists, I will put a comment in the installation instructions linking to this issue in case someone encounters something similar. |
Hi @costashatz , I am currently trying the new MacOS script on a fresh VM (MacOS 14, last version). I first installed But the installation does not succeed, I have some weird errors linked to running install_egg_info
running egg_info
creating magnum.egg-info
writing magnum.egg-info/PKG-INFO
writing dependency_links to magnum.egg-info/dependency_links.txt
writing top-level names to magnum.egg-info/top_level.txt
writing manifest file 'magnum.egg-info/SOURCES.txt'
reading manifest file 'magnum.egg-info/SOURCES.txt'
writing manifest file 'magnum.egg-info/SOURCES.txt'
Copying magnum.egg-info to /opt/magnum/lib/python3/site-packages/magnum-0.0.0-py3.12.egg-info
running install_scripts
/opt/homebrew/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/cyril/robot_dart/temp_robot_dart/dart/waf': [Errno 2] No such file or directory It looks like a file is missing in Then, I have an other problem when I launch again the script: the automatic cleaning does not work (access denied). Removing cyril@Machine-virtuelle-de-cyril lib.macosx-14.0-arm64-cpython-312 % pwd
/Users/cyril/robot_dart/temp_robot_dart/dart/build/magnum-bindings/build/src/python/build/lib.macosx-14.0-arm64-cpython-312
cyril@Machine-virtuelle-de-cyril lib.macosx-14.0-arm64-cpython-312 % ls -la
total 8088
drwxr-xr-x 6 root staff 192 6 sep 05:38 .
drwxr-xr-x 3 root staff 96 6 sep 05:38 ..
-rw-r--r-- 1 root staff 130128 6 sep 05:38 _corrade.cpython-312-darwin.so
-rw-r--r-- 1 root staff 4007984 6 sep 05:38 _magnum.cpython-312-darwin.so
drwxr-xr-x 6 root staff 192 6 sep 05:38 corrade
drwxr-xr-x 13 root staff 416 6 sep 05:38 magnum Can you check on your side? And tell me with which version of MacOS it is working fine? Finally, it looks like the GitHub action that makes the MacOS installation test fails too. |
14.5
As far as the errors concerns, I had forgotten a folder depth. The osx script should be fixed now. As for the privilege issue, I guess I should pre-prend The script in the Let me know! Thanks!
This is because of dartsim/dart#1837 from DART. Should be fixed in the latest release. I will update the scripts to use the latest release (v6.14.5). |
Hi @costashatz There is still the problem with After I corrected the problem with the |
Hello @costashatz, this is an issue linked to the JOSS review openjournals/joss-reviews#6771
I tried to install robot_dart on a fresh install of MacOS 14.5 (Virtual Machine, M2 series Processor, MACOS 14.5), but it did not succeed. I attached the terminal output at https://gist.github.com/c-joly/e26956198d2438ef62f1291c0b6c2809. Here are the main problems that I see (but it might have others):
pip3 install dartpy
does not passcmake
is not found, so no Makefile is generated and the make command provided no outputwaf
not foundcmake
viabrew
, there are other problems with pip3 that appears obviously ("This environment is externally managed; To install Python packages system-wide, try brew install...").python not found
... By default, the system usespython3
command only, there is no symlinkpython
on a my vanilla MACOS-14.It looks like the one line installation script makes several hypotheses concerning the machine configuration (
homebrew
,cmake
, some installation of python). Can you list the requirements?Finally, I realized that in case of error, the script continues to execute, so it is difficult to know if the installation succeeded or not (it might be possible to find some errors in the middle of the log). I suggest to configure the script to stop at the first encountered error (see
bash strict mode
). When it is configured like this, it stops with the errorpython not found
.The text was updated successfully, but these errors were encountered: