anaconda-mode icon indicating copy to clipboard operation
anaconda-mode copied to clipboard

python: remove implicit pip dependency

Open fortaa opened this issue 3 years ago • 0 comments

The pip package is not a part of the standard library. The following error might happen in Python3 environments (from the *anaconda-mode* buffer):

/usr/bin/python3: No module named pip
Traceback (most recent call last):
  File "/home/user/.emacs.d/straight/build/anaconda-mode/anaconda-mode.py", line 85, in <module>
    install_deps_pip()
  File "/home/user/.emacs.d/straight/build/anaconda-mode/anaconda-mode.py", line 78, in install_deps_pip
    subprocess.check_call(cmd)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', 'install', '--target', '/home/user/.emacs.d/anaconda-mode/0.1.15-py3', 'jedi==0.18.1', 'service_factory==0.1.6']' returned non-zero exit status 1.```

fortaa avatar Aug 28 '22 10:08 fortaa