0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

LLM(Large Language Model)Advent Calendar 2024

Day 13

jupyternotebook OSError(161): Not available, docker(204) python(49)

Last updated at Posted at 2024-12-15

LLM(Large Language Model) Calendar 2024
https://qiita.com/advent-calendar/2024/llm
13日目の記事です。

jupyternotebook error

!pip install -U pip

OSError                                   Traceback (most recent call last)
Cell In[3], line 2
      1 # python 3.10.12
----> 2 get_ipython().system('pip install -U pip')
      3 get_ipython().system('pip install -U transformers')
      4 get_ipython().system('pip install -U bitsandbytes')

File /lib/python3.12/site-packages/IPython/core/interactiveshell.py:2653, in InteractiveShell.system_piped(self, cmd)
   2648     raise OSError("Background processes not supported.")
   2650 # we explicitly do NOT return the subprocess status code, because
   2651 # a non-None value would trigger :func:`sys.displayhook` calls.
   2652 # Instead, we store the exit_code in user_ns.
-> 2653 self.user_ns['_exit_code'] = system(self.var_expand(cmd, depth=1))

File /lib/python3.12/site-packages/IPython/utils/_process_emscripten.py:11, in system(cmd)
     10 def system(cmd):
---> 11     raise OSError("Not available")

OSError: Not available
!pip install -U transformers
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
Cell In[2], line 3
----> 3 get_ipython().system('pip install -U transformers')
      4 get_ipython().system('pip install -U bitsandbytes')
      5 get_ipython().system('pip install -U accelerate')

File /lib/python3.12/site-packages/IPython/core/interactiveshell.py:2653, in InteractiveShell.system_piped(self, cmd)
   2648     raise OSError("Background processes not supported.")
   2650 # we explicitly do NOT return the subprocess status code, because
   2651 # a non-None value would trigger :func:`sys.displayhook` calls.
   2652 # Instead, we store the exit_code in user_ns.
-> 2653 self.user_ns['_exit_code'] = system(self.var_expand(cmd, depth=1))

File /lib/python3.12/site-packages/IPython/utils/_process_emscripten.py:11, in system(cmd)
     10 def system(cmd):
---> 11     raise OSError("Not available")

OSError: Not available
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?