Trouble installing kolibri on Windows missing pip.exe

Hi, I looked a bit in the forum for a similar issue, but didn’t find anything similar, hope I looked enough, please excuse me on the contrary.

I started a pretty normal installation of Kolibri for windows but during the installation setup, I get the following error details :
File: C:\Users\adrie\AppData\Local\spyder-6Scripts\pip.exe was not found.

The thing is, I do have that file in the good folder. I believe it’s a problem with the path entered in the installation script, there is a \ missing between spyder-6 and Scripts. Could the solution possibly be simply editing the installation scipt and correcting this error ?

The Kolibri version I installed is the 0.17.5 and I’m working in windows 10. The browser I use is firefox but not sure it’s relevant in this case.

Thanks for your answers.

Ok, it seems I didn’t really look well. It looks a lot like this. I’ll try this and come back if it doesn’t work

Edit : It doesn’t. Even after installing pip in the two ways they describe there (btw they say it already is istalled) it didn’t change a thing.

And now I followed this proposition to solve a similar problem and executed pip install kolibri basically, this is the errors I have :

Collecting kolibri
  Downloading kolibri-0.17.5-py2.py3-none-any.whl.metadata (1.7 kB)
Downloading kolibri-0.17.5-py2.py3-none-any.whl (102.1 MB)
   ---------- ----------------------------- 26.2/102.1 MB 1.3 MB/s eta 0:01:00
ERROR: Exception:
Traceback (most recent call last):
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_vendor\urllib3\response.py", line 438, in _error_catcher
    yield
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_vendor\urllib3\response.py", line 561, in read
    data = self._fp_read(amt) if not fp_closed else b""
           ^^^^^^^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_vendor\urllib3\response.py", line 527, in _fp_read
    return self._fp.read(amt) if amt is not None else self._fp.read()
           ^^^^^^^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 98, in read
    data: bytes = self.__fp.read(amt)
                  ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\http\client.py", line 473, in read
    s = self.fp.read(amt)
        ^^^^^^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\socket.py", line 706, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\ssl.py", line 1314, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\ssl.py", line 1166, in read
    return self._sslobj.read(len, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_internal\cli\base_command.py", line 106, in _run_wrapper
    status = _inner_run()
             ^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_internal\cli\base_command.py", line 97, in _inner_run
    return self.run(options, args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_internal\cli\req_command.py", line 67, in wrapper
    return func(self, options, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_internal\commands\install.py", line 386, in run
    requirement_set = resolver.resolve(
                      ^^^^^^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 179, in resolve
    self.factory.preparer.prepare_linked_requirements_more(reqs)
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_internal\operations\prepare.py", line 554, in prepare_linked_requirements_more
    self._complete_partial_requirements(
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_internal\operations\prepare.py", line 469, in _complete_partial_requirements
    for link, (filepath, _) in batch_download:
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_internal\network\download.py", line 184, in __call__
    for chunk in chunks:
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_internal\cli\progress_bars.py", line 55, in _rich_progress_bar
    for chunk in iterable:
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_internal\network\utils.py", line 65, in response_chunks
    for chunk in response.raw.stream(
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_vendor\urllib3\response.py", line 622, in stream
    data = self.read(amt=amt, decode_content=decode_content)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_vendor\urllib3\response.py", line 560, in read
    with self._error_catcher():
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\contextlib.py", line 158, in __exit__
    self.gen.throw(typ, value, traceback)
  File "C:\Users\adrie\AppData\Local\spyder-6\Lib\site-packages\pip\_vendor\urllib3\response.py", line 443, in _error_catcher
    raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

Hi @Adehess , i also face this issue, you will try to download python and kolibri from anaconda prompt, make sure anaconda environment activated.
If you have any doubts feel free to ask,
Thank You

Hi @Mamatha_Bandi thank’s a lot for your help.

I actually still experience an issue, after installing anaconda, i executed

pip install kolibri

Which is the way I think I was suppose to install it, but then I got this issue :

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\adrie\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python313\\site-packages\\kolibri\\plugins\\html5_viewer\\static\\kolibri.plugins.html5_viewer.main\\kolibri.plugins.html5_viewer.main-H5PRunner-0.15.1.js'
HINT: This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths

I’m not sure the tip there is actually the problem, maybe it is, but from what I read on the page referenced, it should be an issue for 32 bits systems no ? I’m in a 64. I’m not sure I get it quite though. How am I supposed to solve this ?

thank’s for your help

Hi @Adehess the commands not much work in windows operating system using WSL(windows operating system for linux) is better option to work kolibri commands.
Thank you.