Harmony icon indicating copy to clipboard operation
Harmony copied to clipboard

Installation error

Open anke-king opened this issue 3 months ago • 0 comments

I use pip install harmonyTS and get the following error:

Building wheels for collected packages: fa2 Building wheel for fa2 (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [33 lines of output] Installing fa2 package (fastest forceatlas2 python implementation)

  >>>> Cython is installed?
  Yes
  
  >>>> Starting to install!
  
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.9-x86_64-cpython-39
  creating build/lib.macosx-10.9-x86_64-cpython-39/fa2
  copying fa2/fa2util.py -> build/lib.macosx-10.9-x86_64-cpython-39/fa2
  copying fa2/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-39/fa2
  copying fa2/forceatlas2.py -> build/lib.macosx-10.9-x86_64-cpython-39/fa2
  running egg_info
  writing fa2.egg-info/PKG-INFO
  writing dependency_links to fa2.egg-info/dependency_links.txt
  writing requirements to fa2.egg-info/requires.txt
  writing top-level names to fa2.egg-info/top_level.txt
  [03/11/24 17:51:10] ERROR    listing git files failed - pretending     git.py:24
                               there aren't any
  reading manifest file 'fa2.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'fa2.egg-info/SOURCES.txt'
  copying fa2/fa2util.c -> build/lib.macosx-10.9-x86_64-cpython-39/fa2
  copying fa2/fa2util.pxd -> build/lib.macosx-10.9-x86_64-cpython-39/fa2
  running build_ext
  Compiling fa2/fa2util.py because it changed.
  [1/1] Cythonizing fa2/fa2util.py
  building 'fa2.fa2util' extension
  error: unknown file type '.pxd' (from 'fa2/fa2util.pxd')
  [end of output]

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

anke-king avatar Mar 11 '24 16:03 anke-king