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

Installation error #22

Open
anke-king opened this issue Mar 11, 2024 · 1 comment
Open

Installation error #22

anke-king opened this issue Mar 11, 2024 · 1 comment

Comments

@anke-king
Copy link

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

@ahassien
Copy link

ahassien commented May 9, 2024

Same error here. It seems that Harmony requires fa2 in plot.py, but I can't get fa2 to install despite numerous attempts.

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