maximek3 / MIMIC-NLE

16 stars 3 forks source link

Bug in conda environment - Mac M1 #3

Open felipejinli opened 1 week ago

felipejinli commented 1 week ago

conda env create -f environment.yml Collecting package metadata (repodata.json): done Solving environment: failed

ResolvePackageNotFound:

felipejinli commented 1 week ago

Believe this is to do with the Mac OS. Have you had successful runs on mac?

Tried changing Cython versions, using pyenv with virtualenv python 3.9.12 and higher versions, allowing auto-pip resolve to not enforce spacy=2.3.5

Ultimately, they all give the same error:


File "/private/var/folders/27/szgg176151g2hw0t93pv80vw0000gn/T/pip-build-env-cn22u7tn/overlay/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: spacy/kb.pyx
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.```