Surprise to see i can no more use pip command in myBinder, is it new things?
Is it link to this Deal with breaking changes in repo2docker — repo2docker 2024.07.0+168.g5d3a946 documentation ?
do you since when?
--------------------------------------------------------------------------- OSError Traceback (most recent call last) Cell In[2], line 1 ----> 1 get_ipython().system(‘pip show pandas’) File /srv/conda/envs/notebook/lib/python3.10/site-packages/ipykernel/zmqshell.py:657, in ZMQInteractiveShell.system_piped(self, cmd) 655 self.user_ns[“_exit_code”] = system(cmd) 656 else: → 657 self.user_ns[“_exit_code”] = system(self.var_expand(cmd, depth=1)) File /srv/conda/envs/notebook/lib/python3.10/site-packages/IPython/utils/_process_posix.py:151, in ProcessHandler.system(self, cmd) 149 child = pexpect.spawnb(self.sh, args=[‘-c’, cmd]) # Pexpect-U 150 else: → 151 child = pexpect.spawn(self.sh, args=[‘-c’, cmd]) # Vanilla Pexpect 152 flush = sys.stdout.flush 153 while True: 154 # res is the index of the pattern that caused the match, so we 155 # know whether we’ve finished (if we matched EOF) or not File /srv/conda/envs/notebook/lib/python3.10/site-packages/pexpect/pty_spawn.py:205, in spawn.init(self, command, args, timeout, maxread, searchwindowsize, logfile, cwd, env, ignore_sighup, echo, preexec_fn, encoding, codec_errors, dimensions, use_poll) 203 self.name = ‘’ 204 else: → 205 self._spawn(command, args, preexec_fn, dimensions) 206 self.use_poll = use_poll File /srv/conda/envs/notebook/lib/python3.10/site-packages/pexpect/pty_spawn.py:303, in spawn._spawn(self, command, args, preexec_fn, dimensions) 298 if self.encoding is not None: 299 # Encode command line using the specified encoding 300 self.args = [a if isinstance(a, bytes) else a.encode(self.encoding) 301 for a in self.args] → 303 self.ptyproc = self._spawnpty(self.args, env=self.env, 304 cwd=self.cwd, **kwargs) 306 self.pid = self.ptyproc.pid 307 self.child_fd = self.ptyproc.fd File /srv/conda/envs/notebook/lib/python3.10/site-packages/pexpect/pty_spawn.py:315, in spawn._spawnpty(self, args, **kwargs) 313 def _spawnpty(self, args, **kwargs): 314 ‘’‘Spawn a pty and return an instance of PtyProcess.’‘’ → 315 return ptyprocess.PtyProcess.spawn(args, **kwargs) File /srv/conda/envs/notebook/lib/python3.10/site-packages/ptyprocess/ptyprocess.py:230, in PtyProcess.spawn(cls, argv, cwd, env, echo, preexec_fn, dimensions, pass_fds) 227 exec_err_pipe_read, exec_err_pipe_write = os.pipe() 229 if use_native_pty_fork: → 230 pid, fd = pty.fork() 231 else: 232 # Use internal fork_pty, for Solaris 233 pid, fd = _fork_pty.fork_pty() File /srv/conda/envs/notebook/lib/python3.10/pty.py:101, in fork() 98 pass 99 return pid, fd → 101 master_fd, slave_fd = openpty() 102 pid = os.fork() 103 if pid == CHILD: 104 # Establish a new session. File /srv/conda/envs/notebook/lib/python3.10/pty.py:34, in openpty() 32 except (AttributeError, OSError): 33 pass —> 34 master_fd, slave_name = _open_terminal() 35 slave_fd = slave_open(slave_name) 36 return master_fd, slave_fd File /srv/conda/envs/notebook/lib/python3.10/pty.py:64, in _open_terminal() 62 continue 63 return (fd, ‘/dev/tty’ + x + y) —> 64 raise OSError(‘out of pty devices’) OSError: out of pty devices