morris-lab / CellOracle

This is the alpha version of the CellOracle package
Other
312 stars 56 forks source link

WinError: FileNotFound at installation #190

Closed VictorCurean closed 7 months ago

VictorCurean commented 7 months ago

Hi,

I am trying to install celloracle for Windows using python 3.8 (as currently described in the docs). However, i get this error:

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [34 lines of output]
      # pysam: cython is available - using cythonize if necessary
      # pysam: htslib mode is shared
      # pysam: HTSLIB_CONFIGURE_OPTIONS=None
      '.' is not recognized as an internal or external command,
      operable program or batch file.
      '.' is not recognized as an internal or external command,
      operable program or batch file.
      # pysam: htslib configure options: None
      Traceback (most recent call last):
        File "C:\Users\curea\anaconda3\envs\celloracle\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\curea\anaconda3\envs\celloracle\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "C:\Users\curea\anaconda3\envs\celloracle\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\curea\AppData\Local\Temp\pip-build-env-arjjdzkt\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "C:\Users\curea\AppData\Local\Temp\pip-build-env-arjjdzkt\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "C:\Users\curea\AppData\Local\Temp\pip-build-env-arjjdzkt\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
          super().run_setup(setup_script=setup_script)
        File "C:\Users\curea\AppData\Local\Temp\pip-build-env-arjjdzkt\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 442, in <module>
        File "<string>", line 82, in run_make_print_config
        File "C:\Users\curea\anaconda3\envs\celloracle\lib\subprocess.py", line 415, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
        File "C:\Users\curea\anaconda3\envs\celloracle\lib\subprocess.py", line 493, in run
          with Popen(*popenargs, **kwargs) as process:
        File "C:\Users\curea\anaconda3\envs\celloracle\lib\subprocess.py", line 858, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "C:\Users\curea\anaconda3\envs\celloracle\lib\subprocess.py", line 1327, in _execute_child
          hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
      FileNotFoundError: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

Any idea what might cause this? I am running the installation o a new conda environment (only other additional package was jupyter).

Thanks!

KenjiKamimoto-ac commented 7 months ago

Sorry for the inconvenience, but celloracle is not supported in Windows OS. This is because pysam, one of celooracle's dependent packages, cannot be installed in Windows OS. In practice, it is possible to install pysam and celloracle if you use Windows Subsystem for Linux (WSL), but we don't recommend it either.

Please take a look at the requirements for related information. https://morris-lab.github.io/CellOracle.documentation/installation/index.html#system-requirements