pachterlab / kb_python

A wrapper for the kallisto | bustools workflow for single-cell RNA-seq pre-processing
https://www.kallistobus.tools/
BSD 2-Clause "Simplified" License
141 stars 23 forks source link

Fatal error LNK 1181 when trying to install kb-python on Windows 10 system #256

Open caj005 opened 1 month ago

caj005 commented 1 month ago

Describe the issue I am trying to install kb-python to analyze single cell data. However, I get a fatal error and cannot finish installation of kb-python. Problem/ error seems to stem from the fact that z.lib does not exist in the listed pathway. How can I get this file or fix this issue?

What is the exact command that was run? pip install kb-python

kb count ...



**Command output (with `--verbose` flag)**
 LINK : fatal error LNK1181: cannot open input file 'z.lib'
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX86\\x64\\link.exe' failed with exit code 1181
      [end of output]

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

Please copy and paste *VERBOSE* output here.

      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\julianac1\AppData\Local\miniconda3\envs\kb\Library\lib /LIBPATH:C:\Users\julianac1\AppData\Local\miniconda3\envs\kb\libs /LIBPATH:C:\Users\julianac1\AppData\Local\miniconda3\envs\kb /LIBPATH:C:\Users\julianac1\AppData\Local\miniconda3\envs\kb\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22621.0\\um\x64" freetype.lib z.lib /EXPORT:PyInit_ft2font build\temp.win-amd64-cpython-38\Release\src/ft2font.obj build\temp.win-amd64-cpython-38\Release\src/ft2font_wrapper.obj build\temp.win-amd64-cpython-38\Release\src/mplutils.obj build\temp.win-amd64-cpython-38\Release\src/py_converters.obj /OUT:build\lib.win-amd64-cpython-38\matplotlib\ft2font.cp38-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-38\Release\src\ft2font.cp38-win_amd64.lib
      LINK : fatal error LNK1181: cannot open input file 'z.lib'
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX86\\x64\\link.exe' failed with exit code 1181
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for matplotlib
  Running setup.py clean for matplotlib
Failed to build matplotlib
ERROR: Could not build wheels for matplotlib, which is required to install pyproject.toml-based projects
github-actions[bot] commented 4 days ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days