Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6505

Python 3.6.8 Pip Segmentation Fault (Core Dumped) on Virtual Environment

$
0
0

I'm encountering a segmentation fault when trying to use pip inside a Python 3.6.8 virtual environment. The issue occurs when running basic pip commands like pip --version, pip install, or pip list. Here's my setup:

  • Python version: 3.6.8 (installed with pyenv)
  • Pyenv version: 2.4.3
  • OS: Ubuntu 24.04.1 LTS on a VMware virtual machine

Error:

$ pip --versionSegmentation fault (core dumped)$ pip install <package>Segmentation fault (core dumped)

Steps I’ve tried:

Recompiled Python 3.6.8 with the 16-byte alignment patch for pymalloc.Upgraded pip but faced the same issue.Created a fresh virtual environment multiple times.

Has anyone encountered this issue or know how to resolve it? Any help would be appreciated!


Viewing all articles
Browse latest Browse all 6505

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>