Can't run pip from virtualenv - Segmentation fault (core dumped)












0















I'm trying to use pip to install various requirements in my virtualenv, but I can't get around the error Segementation fault (core dumped). That error seems to indicate memory access problems, but I don't understand how or why that would happen in a venv.



soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pipenv --python 3.7.2
Warning: Python 3.7.2 was not found on your system…
Would you like us to install CPython 3.7.2 with pyenv? [Y/n]: Y
Error: invalid input
Would you like us to install CPython 3.7.2 with pyenv? [Y/n]: Y
Installing CPython 3.7.2 with pyenv (this may take a few minutes)…
✔ Success!
Downloading Python-3.7.2.tar.xz...
-> https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
Installing Python-3.7.2...
Installed Python-3.7.2 to /home/soverton/.pyenv/versions/3.7.2


Creating a virtualenv for this project…
Pipfile: /home/soverton/Pipfile
Using /home/soverton/.pyenv/versions/3.7.2/bin/python3.7m (3.7.2) to create virtualenv…
⠧ Creating virtual environment...Using base prefix '/home/soverton/.pyenv/versions/3.7.2'
Overwriting /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/lib/python3.7/orig-prefix.txt with new content
New python executable in /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python3.7m
Not overwriting existing python script /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python (you must use /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python3.7m)
Command /home/soverton/.loca...ZmsRb/bin/python3.7m -m pip config list had error code -11
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /home/soverton/.pyenv/versions/3.7.2/bin/python3.7m
✔ Successfully created virtual environment!
Virtualenv location: /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb
Creating a Pipfile for this project…
soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pipenv shell
Launching subshell in virtual environment…
. /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/activate
soverton@osr-ubuntu-2:~$ . /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/activate
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip install django
Segmentation fault (core dumped)
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip
Segmentation fault (core dumped)
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip3
Segmentation fault (core dumped)









share|improve this question























  • Are you sure you are running the pip that you intend to run? try to issue the command: which pip.

    – Eddie Dunn
    Mar 8 at 18:15











  • It looks like it's running pip from the venv: (soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ which pip /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/pip

    – Shaun Overton
    Mar 8 at 18:24











  • Also, I confirmed that user soverton has read-write permissions on that folder

    – Shaun Overton
    Mar 8 at 18:36
















0















I'm trying to use pip to install various requirements in my virtualenv, but I can't get around the error Segementation fault (core dumped). That error seems to indicate memory access problems, but I don't understand how or why that would happen in a venv.



soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pipenv --python 3.7.2
Warning: Python 3.7.2 was not found on your system…
Would you like us to install CPython 3.7.2 with pyenv? [Y/n]: Y
Error: invalid input
Would you like us to install CPython 3.7.2 with pyenv? [Y/n]: Y
Installing CPython 3.7.2 with pyenv (this may take a few minutes)…
✔ Success!
Downloading Python-3.7.2.tar.xz...
-> https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
Installing Python-3.7.2...
Installed Python-3.7.2 to /home/soverton/.pyenv/versions/3.7.2


Creating a virtualenv for this project…
Pipfile: /home/soverton/Pipfile
Using /home/soverton/.pyenv/versions/3.7.2/bin/python3.7m (3.7.2) to create virtualenv…
⠧ Creating virtual environment...Using base prefix '/home/soverton/.pyenv/versions/3.7.2'
Overwriting /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/lib/python3.7/orig-prefix.txt with new content
New python executable in /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python3.7m
Not overwriting existing python script /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python (you must use /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python3.7m)
Command /home/soverton/.loca...ZmsRb/bin/python3.7m -m pip config list had error code -11
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /home/soverton/.pyenv/versions/3.7.2/bin/python3.7m
✔ Successfully created virtual environment!
Virtualenv location: /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb
Creating a Pipfile for this project…
soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pipenv shell
Launching subshell in virtual environment…
. /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/activate
soverton@osr-ubuntu-2:~$ . /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/activate
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip install django
Segmentation fault (core dumped)
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip
Segmentation fault (core dumped)
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip3
Segmentation fault (core dumped)









share|improve this question























  • Are you sure you are running the pip that you intend to run? try to issue the command: which pip.

    – Eddie Dunn
    Mar 8 at 18:15











  • It looks like it's running pip from the venv: (soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ which pip /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/pip

    – Shaun Overton
    Mar 8 at 18:24











  • Also, I confirmed that user soverton has read-write permissions on that folder

    – Shaun Overton
    Mar 8 at 18:36














0












0








0








I'm trying to use pip to install various requirements in my virtualenv, but I can't get around the error Segementation fault (core dumped). That error seems to indicate memory access problems, but I don't understand how or why that would happen in a venv.



soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pipenv --python 3.7.2
Warning: Python 3.7.2 was not found on your system…
Would you like us to install CPython 3.7.2 with pyenv? [Y/n]: Y
Error: invalid input
Would you like us to install CPython 3.7.2 with pyenv? [Y/n]: Y
Installing CPython 3.7.2 with pyenv (this may take a few minutes)…
✔ Success!
Downloading Python-3.7.2.tar.xz...
-> https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
Installing Python-3.7.2...
Installed Python-3.7.2 to /home/soverton/.pyenv/versions/3.7.2


Creating a virtualenv for this project…
Pipfile: /home/soverton/Pipfile
Using /home/soverton/.pyenv/versions/3.7.2/bin/python3.7m (3.7.2) to create virtualenv…
⠧ Creating virtual environment...Using base prefix '/home/soverton/.pyenv/versions/3.7.2'
Overwriting /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/lib/python3.7/orig-prefix.txt with new content
New python executable in /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python3.7m
Not overwriting existing python script /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python (you must use /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python3.7m)
Command /home/soverton/.loca...ZmsRb/bin/python3.7m -m pip config list had error code -11
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /home/soverton/.pyenv/versions/3.7.2/bin/python3.7m
✔ Successfully created virtual environment!
Virtualenv location: /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb
Creating a Pipfile for this project…
soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pipenv shell
Launching subshell in virtual environment…
. /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/activate
soverton@osr-ubuntu-2:~$ . /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/activate
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip install django
Segmentation fault (core dumped)
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip
Segmentation fault (core dumped)
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip3
Segmentation fault (core dumped)









share|improve this question














I'm trying to use pip to install various requirements in my virtualenv, but I can't get around the error Segementation fault (core dumped). That error seems to indicate memory access problems, but I don't understand how or why that would happen in a venv.



soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pipenv --python 3.7.2
Warning: Python 3.7.2 was not found on your system…
Would you like us to install CPython 3.7.2 with pyenv? [Y/n]: Y
Error: invalid input
Would you like us to install CPython 3.7.2 with pyenv? [Y/n]: Y
Installing CPython 3.7.2 with pyenv (this may take a few minutes)…
✔ Success!
Downloading Python-3.7.2.tar.xz...
-> https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
Installing Python-3.7.2...
Installed Python-3.7.2 to /home/soverton/.pyenv/versions/3.7.2


Creating a virtualenv for this project…
Pipfile: /home/soverton/Pipfile
Using /home/soverton/.pyenv/versions/3.7.2/bin/python3.7m (3.7.2) to create virtualenv…
⠧ Creating virtual environment...Using base prefix '/home/soverton/.pyenv/versions/3.7.2'
Overwriting /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/lib/python3.7/orig-prefix.txt with new content
New python executable in /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python3.7m
Not overwriting existing python script /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python (you must use /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/python3.7m)
Command /home/soverton/.loca...ZmsRb/bin/python3.7m -m pip config list had error code -11
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /home/soverton/.pyenv/versions/3.7.2/bin/python3.7m
✔ Successfully created virtual environment!
Virtualenv location: /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb
Creating a Pipfile for this project…
soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pipenv shell
Launching subshell in virtual environment…
. /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/activate
soverton@osr-ubuntu-2:~$ . /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/activate
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip install django
Segmentation fault (core dumped)
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip
Segmentation fault (core dumped)
(soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ pip3
Segmentation fault (core dumped)






python3 pip virtualenv






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 at 18:12









Shaun OvertonShaun Overton

6918




6918













  • Are you sure you are running the pip that you intend to run? try to issue the command: which pip.

    – Eddie Dunn
    Mar 8 at 18:15











  • It looks like it's running pip from the venv: (soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ which pip /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/pip

    – Shaun Overton
    Mar 8 at 18:24











  • Also, I confirmed that user soverton has read-write permissions on that folder

    – Shaun Overton
    Mar 8 at 18:36



















  • Are you sure you are running the pip that you intend to run? try to issue the command: which pip.

    – Eddie Dunn
    Mar 8 at 18:15











  • It looks like it's running pip from the venv: (soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ which pip /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/pip

    – Shaun Overton
    Mar 8 at 18:24











  • Also, I confirmed that user soverton has read-write permissions on that folder

    – Shaun Overton
    Mar 8 at 18:36

















Are you sure you are running the pip that you intend to run? try to issue the command: which pip.

– Eddie Dunn
Mar 8 at 18:15





Are you sure you are running the pip that you intend to run? try to issue the command: which pip.

– Eddie Dunn
Mar 8 at 18:15













It looks like it's running pip from the venv: (soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ which pip /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/pip

– Shaun Overton
Mar 8 at 18:24





It looks like it's running pip from the venv: (soverton) soverton@osr-ubuntu-2:~/Documents/eroi-erp$ which pip /home/soverton/.local/share/virtualenvs/soverton-mUoZmsRb/bin/pip

– Shaun Overton
Mar 8 at 18:24













Also, I confirmed that user soverton has read-write permissions on that folder

– Shaun Overton
Mar 8 at 18:36





Also, I confirmed that user soverton has read-write permissions on that folder

– Shaun Overton
Mar 8 at 18:36










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124110%2fcant-run-pip-from-virtualenv-segmentation-fault-core-dumped%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124110%2fcant-run-pip-from-virtualenv-segmentation-fault-core-dumped%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Category:香港粉麵

List *all* the tuples!

Channel [V]