Skip to content
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

Error building zeroc-ice in OSX M1 #13

Closed
marimeireles opened this issue May 19, 2024 · 1 comment
Closed

Error building zeroc-ice in OSX M1 #13

marimeireles opened this issue May 19, 2024 · 1 comment

Comments

@marimeireles
Copy link

Hello!
I had a build problem while trying to install omero-rdf on the M1.
I've fixed it and decided to open an issue to inform people who might run into the same.

Here's the log:

  Building wheel for zeroc-ice (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [219 lines of output]
      /private/var/folders/g6/qd_x54cj6xl6qqnjlz6wc5fc0000gq/T/pip-install-yk4gh7xn/zeroc-ice_7657974f264743e5bf3ee2653c2d176a/setup.py:111: SyntaxWarning: "is not" with 'str' literal. Did you mean "!="?
        if platform is not 'freebsd':
      WARNING: '' not a valid package name; please use only .-separated package names in setup.py
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceGrid_Session_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceGrid_Locator_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Properties_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceGrid_FileParser_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceStorm_Metrics_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IcePatch2_FileServer_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_RouterF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_ServantLocatorF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Logger_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_ObjectAdapterF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_ConnectionF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_ImplicitContextF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Endpoint_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceGrid_Observer_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceGrid_Admin_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_InstrumentationF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_LocatorF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_PropertiesAdmin_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/slice2py.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_LocalException_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_ObjectFactory_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Communicator_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Glacier2_Metrics_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceGrid_UserAccountMapper_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_FacetMap_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Glacier2_Session_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Glacier2_PermissionsVerifierF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_ImplicitContext_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Plugin_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Instrumentation_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_CommunicatorF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Version_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Current_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_BuiltinSequences_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Identity_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Router_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceGrid_Descriptor_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Glacier2_RouterF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Glacier2_SSLInfo_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Process_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceGrid_Registry_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Connection_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceBox_IceBox_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceGrid_Exception_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IcePatch2_FileInfo_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_SliceChecksumDict_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_ObjectFactoryF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_LoggerF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_PropertiesF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Locator_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Glacier2_Router_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Glacier2.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceGrid_Query_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_PluginF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_ObjectAdapter_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_Metrics_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_ServantLocator_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_EndpointTypes_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Glacier2_PermissionsVerifier_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_EndpointF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/IceStorm_IceStorm_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_ProcessF_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      copying lib/Ice_RemoteLogger_ice.py -> build/lib.macosx-11.0-arm64-cpython-312
      creating build/lib.macosx-11.0-arm64-cpython-312/IceGrid
      copying lib/IceGrid/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/IceGrid
      creating build/lib.macosx-11.0-arm64-cpython-312/IceMX
      copying lib/IceMX/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/IceMX
      creating build/lib.macosx-11.0-arm64-cpython-312/IcePatch2
      copying lib/IcePatch2/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/IcePatch2
      creating build/lib.macosx-11.0-arm64-cpython-312/IceStorm
      copying lib/IceStorm/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/IceStorm
      creating build/lib.macosx-11.0-arm64-cpython-312/IceBox
      copying lib/IceBox/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/IceBox
      creating build/lib.macosx-11.0-arm64-cpython-312/slice
      creating build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/UserAccountMapper.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/FileParser.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/Registry.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/Session.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/Locator.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/Observer.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/PluginFacade.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/Admin.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/Descriptor.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/Query.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      copying lib/slice/IceGrid/Exception.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceGrid
      creating build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/Transaction.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/Connection.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/TransactionalEvictor.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/CatalogData.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/ConnectionF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/EvictorF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/EvictorStorage.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/DB.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/BackgroundSaveEvictor.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/Exception.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      copying lib/slice/Freeze/Evictor.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Freeze
      creating build/lib.macosx-11.0-arm64-cpython-312/slice/IceDiscovery
      copying lib/slice/IceDiscovery/IceDiscovery.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceDiscovery
      creating build/lib.macosx-11.0-arm64-cpython-312/slice/IcePatch2
      copying lib/slice/IcePatch2/FileServer.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IcePatch2
      copying lib/slice/IcePatch2/FileInfo.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IcePatch2
      creating build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/ObjectAdapter.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/SliceChecksumDict.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/ImplicitContextF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Logger.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Connection.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/RemoteLogger.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/PropertiesAdmin.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/EndpointF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Communicator.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Plugin.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/ObjectAdapterF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Properties.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/ConnectionF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/LocalException.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Locator.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/PluginF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/PropertiesF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/BuiltinSequences.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Version.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/ObjectFactoryF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/ServantLocator.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/InstrumentationF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Router.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Endpoint.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Metrics.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/ObjectFactory.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Instrumentation.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Identity.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/LoggerF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/LocatorF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/EndpointTypes.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/CommunicatorF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Current.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/ProcessF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/RouterF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/Process.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/ImplicitContext.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/FacetMap.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      copying lib/slice/Ice/ServantLocatorF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Ice
      creating build/lib.macosx-11.0-arm64-cpython-312/slice/Glacier2
      copying lib/slice/Glacier2/Session.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Glacier2
      copying lib/slice/Glacier2/PermissionsVerifier.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Glacier2
      copying lib/slice/Glacier2/PermissionsVerifierF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Glacier2
      copying lib/slice/Glacier2/SSLInfo.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Glacier2
      copying lib/slice/Glacier2/Router.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Glacier2
      copying lib/slice/Glacier2/Metrics.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Glacier2
      copying lib/slice/Glacier2/RouterF.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/Glacier2
      creating build/lib.macosx-11.0-arm64-cpython-312/slice/IceStorm
      copying lib/slice/IceStorm/IceStorm.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceStorm
      copying lib/slice/IceStorm/Metrics.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceStorm
      creating build/lib.macosx-11.0-arm64-cpython-312/slice/IceLocatorDiscovery
      copying lib/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceLocatorDiscovery
      creating build/lib.macosx-11.0-arm64-cpython-312/slice/IceSSL
      copying lib/slice/IceSSL/EndpointInfo.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceSSL
      copying lib/slice/IceSSL/ConnectionInfo.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceSSL
      creating build/lib.macosx-11.0-arm64-cpython-312/slice/IceBox
      copying lib/slice/IceBox/IceBox.ice -> build/lib.macosx-11.0-arm64-cpython-312/slice/IceBox
      running build_ext
      building 'IcePy' extension
      creating build/temp.macosx-11.0-arm64-cpython-312
      creating build/temp.macosx-11.0-arm64-cpython-312/src
      creating build/temp.macosx-11.0-arm64-cpython-312/src/ice
      creating build/temp.macosx-11.0-arm64-cpython-312/src/ice/cpp
      creating build/temp.macosx-11.0-arm64-cpython-312/src/ice/cpp/src
      creating build/temp.macosx-11.0-arm64-cpython-312/src/ice/cpp/src/Ice
      creating build/temp.macosx-11.0-arm64-cpython-312/src/ice/cpp/src/IceDiscovery
      creating build/temp.macosx-11.0-arm64-cpython-312/src/ice/cpp/src/IceLocatorDiscovery
      creating build/temp.macosx-11.0-arm64-cpython-312/src/ice/cpp/src/IceSSL
      creating build/temp.macosx-11.0-arm64-cpython-312/src/ice/cpp/src/IceUtil
      creating build/temp.macosx-11.0-arm64-cpython-312/src/ice/cpp/src/Slice
      creating build/temp.macosx-11.0-arm64-cpython-312/src/ice/mcpp
      clang -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /Users/meireles/micromamba/envs/sparql/include -fPIC -O2 -isystem /Users/meireles/micromamba/envs/sparql/include -arch x86_64 -DICE_STATIC_LIBS -Isrc -Isrc/ice/cpp/include -Isrc/ice/cpp/src -I/Users/meireles/micromamba/envs/sparql/include/python3.12 -c src/BatchRequestInterceptor.cpp -o build/temp.macosx-11.0-arm64-cpython-312/src/BatchRequestInterceptor.o -w
      In file included from src/BatchRequestInterceptor.cpp:13:
      In file included from src/BatchRequestInterceptor.h:13:
      In file included from src/Config.h:28:
      In file included from /Users/meireles/micromamba/envs/sparql/include/python3.12/Python.h:23:
      /Users/meireles/micromamba/envs/sparql/bin/../include/c++/v1/stdlib.h:148:34: error: unknown type name 'ldiv_t'
      inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT {
                                       ^
      /Users/meireles/micromamba/envs/sparql/bin/../include/c++/v1/stdlib.h:149:12: error: no member named 'ldiv' in the global namespace
        return ::ldiv(__x, __y);
               ~~^
      /Users/meireles/micromamba/envs/sparql/bin/../include/c++/v1/stdlib.h:152:34: error: unknown type name 'lldiv_t'
      inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x,
                                       ^
      /Users/meireles/micromamba/envs/sparql/bin/../include/c++/v1/stdlib.h:154:12: error: no member named 'lldiv' in the global namespace
        return ::lldiv(__x, __y);
               ~~^
      In file included from src/BatchRequestInterceptor.cpp:13:
      In file included from src/BatchRequestInterceptor.h:13:
      In file included from src/Config.h:28:
      In file included from /Users/meireles/micromamba/envs/sparql/include/python3.12/Python.h:26:
      /Users/meireles/micromamba/envs/sparql/bin/../include/c++/v1/string.h:94:102: error: unknown type name 'size_t'
      inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const void* memchr(const void* __s, int __c, size_t __n) {
                                                                                                           ^
      /Users/meireles/micromamba/envs/sparql/bin/../include/c++/v1/string.h:97:90: error: unknown type name 'size_t'
      inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD void* memchr(void* __s, int __c, size_t __n) {
                                                                                               ^
      In file included from src/BatchRequestInterceptor.cpp:13:
      In file included from src/BatchRequestInterceptor.h:13:
      In file included from src/Config.h:28:
      /Users/meireles/micromamba/envs/sparql/include/python3.12/Python.h:29:12: fatal error: 'unistd.h' file not found
      #  include <unistd.h>
                 ^~~~~~~~~~
      7 errors generated.
      error: command '/Users/meireles/micromamba/envs/sparql/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for zeroc-ice
  Running setup.py clean for zeroc-ice
Failed to build zeroc-ice
ERROR: Could not build wheels for zeroc-ice, which is required to install pyproject.toml-based projects

I'm not entirely sure why but omero-py is not compatible with the M1 and requires python=3.9.
So one must:

  1. Install python=3.9
  2. Install zeroc-ice from conda-forge
  3. Install omero-py from conda-forge

And now it's possible to successfully install it on the M1 using pip.
I can fix this by accomplishing #12 : )

@joshmoore
Copy link
Member

The problem stems from the lack of m1 builds on GitHub (previously at least). All the workarounds you list make sense to me. 👍 Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants