Open RalfKunkel opened 1 day ago
Hi! :wave: We are happy that you opened your first issue here! :smile: If you haven't done so already, please make sure you check out our Code of Conduct.
Uh-oh. The traceback suggests that the error comes from rpds-py
, which is an indirect dependency of pyDataverse
- here's part of pipdeptree
output:
❱ pipdeptree
datalad_dataverse==1.0.2
...
└── pyDataverse [required: >=0.3.4, installed: 0.3.4]
...
└── jsonschema [required: >=4.21.1,<5.0.0, installed: 4.23.0]
├── attrs [required: >=22.2.0, installed: 24.2.0]
├── jsonschema-specifications [required: >=2023.03.6, installed: 2024.10.1]
│ └── referencing [required: >=0.31.0, installed: 0.35.1]
│ ├── attrs [required: >=22.2.0, installed: 24.2.0]
│ └── rpds-py [required: >=0.7.0, installed: 0.20.0]
├── referencing [required: >=0.28.4, installed: 0.35.1]
│ ├── attrs [required: >=22.2.0, installed: 24.2.0]
│ └── rpds-py [required: >=0.7.0, installed: 0.20.0]
└── rpds-py [required: >=0.7.1, installed: 0.20.0]
The ImportError
mentions architecture: (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')
. You say you are on an M3 Mac. I don't use that, but AFAIK it is an arm-based system which has several ways of running x86-64 programs, depending on your configuration.
Looking at the rpds-py PyPI files page, it seems to have both ARM64 and x86-64 MacOS wheels. People in this StackOverflow thread (see also this Apple StackExchange thread) seem to have had success in similar situations by simply reinstalling the offending package (pip uninstall
followed by pip install --no-cache
). I would try that first.
As a side note, it seems you are installing the Python packages system-wide. For playing with the dependencies, I would consider using virtual environments (but it's not a necessity).
After installing the datalad-dataverse interface on my new Mac (Apple M3, MacOS 15.0.1), using
pip install datalad-dataverse
,I'm running into an error, when trying to create a datalad sibling on Dataverse. I used the command:datalad add-sibling-dataverse https://data-beta.fz-juelich.de doi:XXXXXXX --mode filetree
and received the error message:Any idea, what can be done to bring this to work? Did I made a mistake?