AlexandrovLab / SigProfilerClusters

Tool for analyzing the inter-mutational distances between SNV-SNV and INDEL-INDEL mutations. Tool separates mutations into clustered and non-clustered groups on a sample-dependent basis.
BSD 2-Clause "Simplified" License
11 stars 1 forks source link

Installation problem #24

Closed mkazanov closed 5 months ago

mkazanov commented 6 months ago
      libtool: link: ranlib /private/var/folders/kg/qxjz85_d1ygg980vhvgbx7cr0000gp/T/pip-install-x125j85k/matplotlib_d20edaef7e2d47119e7b6d94ef57c8fd/build/freetype-2.6.1/objs/.libs/libfreetype.a
      libtool: link: ( cd "/private/var/folders/kg/qxjz85_d1ygg980vhvgbx7cr0000gp/T/pip-install-x125j85k/matplotlib_d20edaef7e2d47119e7b6d94ef57c8fd/build/freetype-2.6.1/objs/.libs" && rm -f "libfreetype.la" && ln -s "../libfreetype.la" "libfreetype.la" )
      rm -f builds/unix/freetype-config builds/unix/freetype-config.tmp
      sed -e 's|%LIBSSTATIC_CONFIG%|-lfreetype|'   \
              -e 's|%build_libtool_libs%||' \
              -e 's|%exec_prefix%|/usr/local|'               \
              -e 's|%ft_version%|18.1.12|'                 \
              -e 's|%includedir%|/usr/local/include|'                 \
              -e 's|%libdir%|/usr/local/lib|'                         \
              -e 's|%prefix%|/usr/local|'                         \
              /private/var/folders/kg/qxjz85_d1ygg980vhvgbx7cr0000gp/T/pip-install-x125j85k/matplotlib_d20edaef7e2d47119e7b6d94ef57c8fd/build/freetype-2.6.1/builds/unix/freetype-config.in                                                 \
              > builds/unix/freetype-config.tmp
      chmod +x builds/unix/freetype-config.tmp
      chmod a-w builds/unix/freetype-config.tmp
      mv builds/unix/freetype-config.tmp builds/unix/freetype-config
      rm -f builds/unix/freetype2.pc builds/unix/freetype2.pc.tmp
      sed -e 's|%REQUIRES_PRIVATE%||'     \
              -e 's|%LIBS_PRIVATE%||'             \
              -e 's|%build_libtool_libs%||' \
              -e 's|%exec_prefix%|/usr/local|'             \
              -e 's|%ft_version%|18.1.12|'                 \
              -e 's|%includedir%|/usr/local/include|'               \
              -e 's|%libdir%|/usr/local/lib|'                       \
              -e 's|%prefix%|/usr/local|'                       \
              /private/var/folders/kg/qxjz85_d1ygg980vhvgbx7cr0000gp/T/pip-install-x125j85k/matplotlib_d20edaef7e2d47119e7b6d94ef57c8fd/build/freetype-2.6.1/builds/unix/freetype2.in                                                 \
              > builds/unix/freetype2.pc.tmp
      chmod a-w builds/unix/freetype2.pc.tmp
      mv builds/unix/freetype2.pc.tmp builds/unix/freetype2.pc
      Extracting /project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz
      Building freetype in build/freetype-2.6.1
      error: Failed to download any of the following: ['http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz'].  Please download one of these urls and extract it into 'build/' at the top-level of the source repository.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for matplotlib
Failed to build matplotlib
ERROR: Could not build wheels for matplotlib, which is required to install pyproject.toml-based projects
MeteorLiu96 commented 5 months ago

Hi mkazanov, I also meet the same issue. Did you solve this problem? How do you solve it?

mkazanov commented 5 months ago

Hi mkazanov, I also meet the same issue. Did you solve this problem? How do you solve it?

Hi MeteorLiu96,

No, still waiting for answer from developers of this package. I am on Mac and my OS is Sonoma 14.1 I am going try to install on Windows. I let you know if it successful or not.

MousumyCSE commented 5 months ago

Hi @mkazanov,

Thank you for reaching out and apologies for the late response.

Could you please let me know what version of Python you are using and how are you installing the SigProfilerClusters tool? My suggestion will be to create a new conda environment with Python version 3.8 to 3.10(conda create -n test python=3.10) and then try to re-install the SigProfilerClusters pipeline. Please let me know if that does not work.

Best, Mousumy

MeteorLiu96 commented 5 months ago

Hi all, I solved this issue. I thought the reason is the access to this website (http://www.qhull.org/) was banned by my internet. I also tried to open this website by browser, it also failed. When I switched to another internet supplier which could access this website, it successfully installed.

MousumyCSE commented 5 months ago

Hi all,

If you encounter any further problems with the installation of the tool, please feel free to reopen the issue.

Thanks! Mousumy