ruff install err in mason #1852
Unanswered
longway1024
asked this question in
Q&A
Replies: 1 comment
-
python3-venv has installed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
err log:
Creating virtual environment…
Installing pip package [email protected]…
Collecting ruff==0.8.6
Using cached https://files.pythonhosted.org/packages/34/37/9c02181ef38d55b77d97c68b78e705fd14c0de0e5d085202bb2b52ce5be9/ruff-0
ERROR: Exception:
Traceback (most recent call last):
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_internal/cli/base_command.
status = self.run(options, args)
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_internal/commands/install.
resolver.resolve(requirement_set)
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py
self._resolve_one(requirement_set, req)
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py
self.require_hashes
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_internal/operations/prepar
finder, self.build_isolation,
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_internal/distributions/sou
self.req.load_pyproject_toml()
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_internal/req/req_install.p
str(self)
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_internal/pyproject.py", li
pp_toml = pytoml.load(f)
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_vendor/pytoml/parser.py",
return loads(fin.read(), translate=translate, object_pairs_hook=object_pairs_hook, filename=getattr(fin, 'name', repr(fin)))
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_vendor/pytoml/parser.py",
ast = _p_toml(src, object_pairs_hook=object_pairs_hook)
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_vendor/pytoml/parser.py",
s.expect_eof()
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_vendor/pytoml/parser.py",
return self._expect(self.consume_eof())
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_vendor/pytoml/parser.py",
raise TomlError('msg', self._pos[0], self._pos[1], self._filename)
pip._vendor.pytoml.core.TomlError: /tmp/pip-install-dci421ka/ruff/pyproject.toml(91, 1): msg
spawn: /home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/bin/python failed with exit code 2 and signal 0.File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_internal/pyproject.py", li
pp_toml = pytoml.load(f)
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_vendor/pytoml/parser.py",
return loads(fin.read(), translate=translate, object_pairs_hook=object_pairs_hook, filename=getattr(fin, 'name', repr(fin)))
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_vendor/pytoml/parser.py",
ast = _p_toml(src, object_pairs_hook=object_pairs_hook)
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_vendor/pytoml/parser.py",
s.expect_eof()
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_vendor/pytoml/parser.py",
return self._expect(self.consume_eof())
File "/home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/lib/python3.7/site-packages/pip/_vendor/pytoml/parser.py",
raise TomlError('msg', self._pos[0], self._pos[1], self._filename)
pip._vendor.pytoml.core.TomlError: /tmp/pip-install-dci421ka/ruff/pyproject.toml(91, 1): msg
spawn: /home/longway.bai/.local/share/nvim/mason/packages/ruff/venv/bin/python failed with exit code 2 and signal 0.
Beta Was this translation helpful? Give feedback.
All reactions