What I’ve done is started a brand new Python repl. I haven’t done anything except run the following. The error I get this time is a bit different. Here is the link: Bare Python - Replit
~/Bare-Python$ poetry add mdtex2html
Using version ^1.2.0 for mdtex2html
Updating dependencies
Resolving dependencies... (0.6s)
Package operations: 3 installs, 0 updates, 0 removals
• Installing latex2mathml (3.76.0): Installing...
• Installing markdown (3.4.4): Failed
CalledProcessError
Command '['pip', 'install', '--no-deps', 'https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl#sha256=a4c1b65c0957b4bd9e7d86ddc7b3c9868fb9670660f6f99f6d1bca8954d5a941']' returned non-zero exit status 1.
at /nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/subprocess.py:526 in run
522│ # We don't call process.wait() as .__exit__ does that for us.
523│ raise
524│ retcode = process.poll()
525│ if check and retcode:
→ 526│ raise CalledProcessError(retcode, process.args,
527│ output=stdout, stderr=stderr)
528│ return CompletedProcess(process.args, retcode, stdout, stderr)
529│
530│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['pip', 'install', '--no-deps', 'https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl#sha256=a4c1b65c0957b4bd9e7d86ddc7b3c9868fb9670660f6f99f6d1bca8954d5a941'] errored with the following return code 1
Output:
Looking in indexes: https://package-proxy.replit.com/pypi/simple/
Collecting Markdown==3.4.4
Downloading Markdown-3.4.4-py3-none-any.whl (94 kB)
• Installing markdown (3.4.4): Failed
CalledProcessError
Command '['pip', 'install', '--no-deps', 'https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl#sha256=a4c1b65c0957b4bd9e7d86ddc7b3c9868fb9670660f6f99f6d1bca8954d5a941']' returned non-zero exit status 1.
at /nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/subprocess.py:526 in run
522│ # We don't call process.wait() as .__exit__ does that for us.
523│ raise
524│ retcode = process.poll()
525│ if check and retcode:
→ 526│ raise CalledProcessError(retcode, process.args,
527│ output=stdout, stderr=stderr)
528│ return CompletedProcess(process.args, retcode, stdout, stderr)
529│
530│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['pip', 'install', '--no-deps', 'https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl#sha256=a4c1b65c0957b4bd9e7d86ddc7b3c9868fb9670660f6f99f6d1bca8954d5a941'] errored with the following return code 1
Output:
Looking in indexes: https://package-proxy.replit.com/pypi/simple/
Collecting Markdown==3.4.4
Downloading Markdown-3.4.4-py3-none-any.whl (94 kB)
• Installing latex2mathml (3.76.0)
• Installing markdown (3.4.4): Failed
CalledProcessError
Command '['pip', 'install', '--no-deps', 'https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl#sha256=a4c1b65c0957b4bd9e7d86ddc7b3c9868fb9670660f6f99f6d1bca8954d5a941']' returned non-zero exit status 1.
at /nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/subprocess.py:526 in run
522│ # We don't call process.wait() as .__exit__ does that for us.
523│ raise
524│ retcode = process.poll()
525│ if check and retcode:
→ 526│ raise CalledProcessError(retcode, process.args,
527│ output=stdout, stderr=stderr)
528│ return CompletedProcess(process.args, retcode, stdout, stderr)
529│
530│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['pip', 'install', '--no-deps', 'https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl#sha256=a4c1b65c0957b4bd9e7d86ddc7b3c9868fb9670660f6f99f6d1bca8954d5a941'] errored with the following return code 1
Output:
Looking in indexes: https://package-proxy.replit.com/pypi/simple/
Collecting Markdown==3.4.4
Downloading Markdown-3.4.4-py3-none-any.whl (94 kB)
WARNING: pip is using a content-addressable pool to install files from. This experimental feature is enabled through --use-feature=content-addressable-pool and it is not ready for production.
Installing collected packages: Markdown
ERROR: Could not install packages due to an OSError: [Errno 17] File exists: '/home/runner/Bare-Python/.pythonlibs'
at /nix/store/6lfk2kyiijr9854nvfmxc28jz49vacrs-poetry-in-venv/env/lib/python3.10/site-packages/poetry/utils/env.py:1523 in _run
1519│ output = ""
1520│ else:
1521│ output = subprocess.check_output(cmd, stderr=stderr, env=env, **kwargs)
1522│ except CalledProcessError as e:
→ 1523│ raise EnvCommandError(e, input=input_)
1524│
1525│ return decode(output)
1526│
1527│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
The following error occurred when trying to handle this error:
PoetryException
Failed to install https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl#sha256=a4c1b65c0957b4bd9e7d86ddc7b3c9868fb9670660f6f99f6d1bca8954d5a941
at /nix/store/6lfk2kyiijr9854nvfmxc28jz49vacrs-poetry-in-venv/env/lib/python3.10/site-packages/poetry/utils/pip.py:27 in pip_install_from_url
23│
24│ try:
25│ return environment.run_pip(*args)
26│ except EnvCommandError as e:
→ 27│ raise PoetryException(f"Failed to install {url}") from e
28│
29│ def pip_install(
30│ path: Path,
31│ environment: Env,