-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Installing problem in arch #4477
Comments
Same on Manjaro with |
Alpine also throws the same error. |
Exactly the same issue here reported by @MRParag95 also on arch linux. |
I found this, see if it helps you: Then install LunarVim again, selecting "no" for installing python dependencies. |
This comment was marked as outdated.
This comment was marked as outdated.
Yeah, we should probably remove that |
Problem description
unable to install getting this log:
`
Would you like to install LunarVim's Python dependencies: pynvim?
[y]es or [n]o (default: no) : Y
Verifying that pip is available..
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
python-xyz', where xyz is the package you are trying to
install.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/lib/python3.11/ensurepip/main.py", line 5, in
sys.exit(ensurepip._main())
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ensurepip/init.py", line 286, in _main
return _bootstrap(
^^^^^^^^^^^
File "/usr/lib/python3.11/ensurepip/init.py", line 202, in _bootstrap
return _run_pip([*args, *_PACKAGE_NAMES], additional_paths)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ensurepip/init.py", line 103, in _run_pip
return subprocess.run(cmd, check=True).returncode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = ['/tmp/tmp0ricibn9/setuptools-65.5.0-py3-none-any.whl', '/tmp/tmp0ricibn9/pip-23.2.1-py3-none-any.whl'] + sys.path\nsys.argv[1:] = ['install', '--no-cache-dir', '--no-index', '--find-links', '/tmp/tmp0ricibn9', 'setuptools', 'pip']\nrunpy.run_module("pip", run_name="main", alter_sys=True)\n']' returned non-zero exit status 1.
Installing with pip..
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
python-xyz', where xyz is the package you are trying to
install.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
`
python installed: 3.11.6
LunarVim version
nightly
Neovim version (>= 0.9.1)
master
Terminal name
kitty
Operating system/version
Arch
Steps to reproduce
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: