Visitar URL original
Installation error on Mac OS 12.6.3 with devtools · Issue #387 · ANTsX/ANTsR · GitHub
Skip to content

Installation error on Mac OS 12.6.3 with devtools #387

Open

Description

@afni-gangc

Describe the bug

Tried to install ANTsR with the command in R (version is 4.3.0) on MacBook Air (OS 12.6.3):

devtools::install_github('ANTsX/ANTsR')

It failed after two hours of compiling with the following error at the end:

Error: package or namespace load failed for ‘ANTsR’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/00LOCK-ANTsR/00new/ANTsR/libs/ANTsR.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/00LOCK-ANTsR/00new/ANTsR/libs/ANTsR.so, 0x0006): symbol not found in flat namespace (_composeDisplacementFields)
Error: loading failed

To Reproduce
Steps to reproduce the behavior:

  1. devtools::install_github('ANTsX/ANTsR')

Desktop (please complete the following information):

  • OS: iOS 12.6.3
  • R Version: 4.3.0

Additional context
See attached text for the full installation log.
ANTsR.install.error.txt

Activity

  1. ntustison commented on May 19, 2023

    @ntustison
    Member

    Can you try installing it in steps?

    > devtools::install_github('stnava/ITKR')
    > devtools::install_github('ANTsX/ANTsRCore')
    > devtools::install_github('ANTsX/ANTsR')
    
  2. afni-gangc commented on May 19, 2023

    @afni-gangc
    Author
  3. ntustison commented on May 19, 2023

    @ntustison
    Member

    Is it still the same error?

  4. afni-gangc commented on May 19, 2023

    @afni-gangc
    Author
  5. cookpa commented on May 19, 2023

    @cookpa
    Member

    Same issue as #377 (on Linux).

  6. ntustison commented on May 19, 2023

    @ntustison
    Member

    Thanks @cookpa

  7. afni-gangc commented on May 19, 2023

    @afni-gangc
    Author
  8. ntustison commented on May 19, 2023

    @ntustison
    Member

    Maybe a local access issue. Try directly copying and pasting the url in your browser. Should download a nifti image.

  9. cookpa commented on May 19, 2023

    @cookpa
    Member

    I believe the "UNSAFE_LEGACY_RENEGOTIATION_DISABLED" is a Python issue that will be fixed in a later version of Python (python/cpython#93927).

    Most users will probably just want to download manually, but other workarounds have been suggested online, including downgrading Python < 3.11. Reticulate can be made to use a specified conda environment if needed https://rstudio.github.io/reticulate/

  10. ntustison commented on May 19, 2023

    @ntustison
    Member

    Thanks again @cookpa

  11. changed the title [-]Installation error on Mac OS 12.6.3[/-] [+]Installation error on Mac OS 12.6.3 with devtools[/+] on May 22, 2023
  12. muschellij2 commented on Oct 25, 2023

    @muschellij2
    Collaborator

    Confirming _composeDisplacementFields is an issue as well on MacOS on my end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions