Score:1

Segmentation fault (core dumped) error when installing pachages with pip3 on virtualenv

cn flag

I am working with Ubuntu 21.10 and I just installed python3.6 using this tutorial: https://stackoverflow.com/questions/70395169/how-to-install-python-3-6-on-ubuntu-21-10 After that I created a virtual environment using:

virtualenv -p python3.6 folder/

Now when I try to install packages using:

pip3 install -r requirements.txt

.. I am getting the following error

Segmentation fault (core dumped)

How Can I fix this?

waltinator avatar
it flag
"Segmentation fault" is Unix-speak for "illegal memory access", it may mean you're missing a shared library. Try `ldd $(type -p pip3)`.
waltinator avatar
it flag
Telling us which remote procedure (RP) you "followed" doesn't help us help you for N reasons: 1) It's remote. Will the link exist tomorrow? 2) Reading the RP doesn't tell us how accurately you "followed" it. Did you suffer typos or missed lines? We have. 3) Reading the RP omits the error messages you got on your system. These error messages (and the commands that caused them) are key elements in any diagnosis.
j0h avatar
au flag
j0h
3.6 is older than the version which would have come with ubuntu 21.10. python 3.9. what does `python3 --version` say?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.