pip install - killed

后端 未结 2 772
失恋的感觉
失恋的感觉 2020-12-17 09:35

I\'m trying to install package with pip on Ubuntu server:

$ pip install MySQLdb
Downloading/unpacking MySQLdb
Killed

And it\'s getting kill

相关标签:
2条回答
  • 2020-12-17 09:46

    If you are running low on memory you could try with pip install package --no-cache-dir

    0 讨论(0)
  • 2020-12-17 09:53

    You have to check logs, depending on the version of ubuntu and stuff, it should be in /var/log/messages or at least in /var/log so you can grep python or pip in that folder. This should provide hints.

    Also, if you're not in a virtualenv, you should probably use sudo to perform (implicit) privileged operations, such as copying the library in the global lib folder.

    0 讨论(0)
提交回复
热议问题