seung-lab / fastremap

Remap, mask, renumber, unique, and in-place transposition of 3D labeled images. Point cloud too.
GNU Lesser General Public License v3.0
47 stars 6 forks source link

ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (fastremap) #38

Closed denvercal1234GitHub closed 3 months ago

denvercal1234GitHub commented 3 months ago

Hi there,

I was attempting to install https://github.com/yuqiyuqitan/SPACEc but encountered error below on my Mac M1.

Anyone has any advice how to resolve it?

Thank you for your help!

OSError: [Errno 66] Directory not empty: '/private/var/folders/88/sbdxkfhj2cddjgzv4cxl8_680000gn/T/pip-install-8uety6ou/fastremap_910068a483c44b6abb162017817e0435/.eggs/Cython-3.0.10-py3.9-macosx-10.9-x86_64.egg/Cython-3.0.10.dist-info' -> '/private/var/folders/88/sbdxkfhj2cddjgzv4cxl8_680000gn/T/pip-install-8uety6ou/fastremap_910068a483c44b6abb162017817e0435/.eggs/Cython-3.0.10-py3.9-macosx-10.9-x86_64.egg/EGG-INFO'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed cleaning build dir for fastremap
  Building wheel for session-info (setup.py) ... done
  Created wheel for session-info: filename=session_info-1.0.0-py3-none-any.whl size=8022 sha256=69bdbb8f54f9bfca66cfc7df095a6ef0bbc776779fbb6238b2dad166087e91b6
  Stored in directory: /private/var/folders/88/sbdxkfhj2cddjgzv4cxl8_680000gn/T/pip-ephem-wheel-cache-22l7wbd_/wheels/d4/fc/2e/00ca60bac7954b84907efd41baa9b4853500eaeec4228410c6
Successfully built python-louvain deepcell deepcell-toolbox deepcell-tracking session-info
Failed to build fastremap
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (fastremap)
denvercal1234GitHub commented 3 months ago

https://github.com/yuqiyuqitan/SPACEc/issues/48 solved the issue

william-silversmith commented 3 months ago

Is this just for fastremap 1.14? Have you tried pip install fastremap==1.14.2 --no-binary :all: --force-reinstall? Does that fix it as well?