pyAirbyte Bug on Windows 11

Summary

User reports a bug in pyAirbyte on Windows 11 where the connector executable for ‘source-zoho-crm’ is not found within the specified virtual environment, leading to a FileNotFoundError during installation.


Question

Hello community, any idea about this pyairbyte bug on windows 11 :

C:\Users\a.ouni\AMR_WORK\airbyte\env_airbyte\.venv-source-zoho-crm\bin\source-zoho-crm.
Reinstalling...
Installing 'source-zoho-crm' into virtual environment 'C:\Users\a.ouni\AMR_WORK\airbyte\env_airbyte\.venv-source-zoho-crm'.
Running 'pip install airbyte-source-zoho-crm'...

Traceback (most recent call last):
  File "C:\Users\a.ouni\AMR_WORK\airbyte\env_airbyte\main.py", line 3, in <module>
    source: ab.Source = ab.get_source("source-zoho-crm")
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\a.ouni\AMR_WORK\airbyte\env_airbyte\Lib\site-packages\airbyte\_factories\connector_factories.py", line 119, in get_source
    executor.ensure_installation()
  File "C:\Users\a.ouni\AMR_WORK\airbyte\env_airbyte\Lib\site-packages\airbyte\_executor.py", line 341, in ensure_installation        
    self.install()
  File "C:\Users\a.ouni\AMR_WORK\airbyte\env_airbyte\Lib\site-packages\airbyte\_executor.py", line 211, in install
    self._run_subprocess_and_raise_on_failure(
  File "C:\Users\a.ouni\AMR_WORK\airbyte\env_airbyte\Lib\site-packages\airbyte\_executor.py", line 170, in _run_subprocess_and_raise_on_failure
    result = subprocess.run(
             ^^^^^^^^^^^^^^^
  File "C:\Users\a.ouni\AppData\Local\anaconda3\Lib\subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\a.ouni\AppData\Local\anaconda3\Lib\subprocess.py", line 1026, in _init_
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\a.ouni\AppData\Local\anaconda3\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified```


<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1709627637951159) if you want
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
['pyairbyte', 'windows-11', 'source-zoho-crm', 'file-not-found', 'virtual-environment']
</sub>