Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: remove implicit pip dependency #421

Open
fortaa opened this issue Aug 28, 2022 · 0 comments
Open

python: remove implicit pip dependency #421

fortaa opened this issue Aug 28, 2022 · 0 comments

Comments

@fortaa
Copy link

fortaa commented Aug 28, 2022

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 added a commit to fortaa/anaconda-mode that referenced this issue Aug 28, 2022
Rely on the standard libraries instead in order to install
dependencies.

Bug: pythonic-emacs#421
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant