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

create venv error: subprocess.CalledProcessError #38

Open
2niuhe opened this issue Nov 20, 2024 · 1 comment
Open

create venv error: subprocess.CalledProcessError #38

2niuhe opened this issue Nov 20, 2024 · 1 comment

Comments

@2niuhe
Copy link

2niuhe commented Nov 20, 2024

OS:Linux 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC
Arch: x86_64
CPU: Intel(R) Celeron(R) CPU N3450 @ 1.10GHz
Python 3.12.3

yen create -p 3.9.20 venv
Downloading 3.9.20 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 26.2/26.2 MB • 6.1 MB/s • 0:00:00
Checksum verified!
Traceback (most recent call last):
  File "/usr/local/bin/yen", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/usr/local/lib/python3.12/dist-packages/yen/cli.py", line 103, in cli
    create_venv(python_bin_path, args.venv_path)
  File "/usr/local/lib/python3.12/dist-packages/yen/__init__.py", line 154, in create_venv
    subprocess.run([python_bin_path, "-m", "venv", venv_path], check=True)
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/nh/.yen_pythons/3.9.20/python/bin/python3', '-m', 'venv', '/tmp/venv']' died with <Signals.SIGILL: 4>.
@2niuhe
Copy link
Author

2niuhe commented Nov 20, 2024

When I run the Python in the .yen_pythons directory, it triggers a core dump.

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