ubuntu-15.10

Where is Pip3 Installing Modules?

风格不统一 提交于 2019-12-03 06:43:28
Ubuntu 15.10 Python 3.4.3+ Django 1.8.7 When I try to import django in the python3 interpreter, it says ImportError: No module named 'django' . I know Django 1.8.7 installed though, 'cause I can get the version # by doing django-admin --version in the terminal commandline. When I tried python3 manage.py runserver in a Django project directory, I get this error: Traceback (most recent call last): File "manage.py", line 8, in <module> from django.core.management import execute_from_command_line ImportError: No module named 'django' So again (as expected), it's not in a path where Python can find

Can't terminate a sudo process created with python, in Ubuntu 15.10

独自空忆成欢 提交于 2019-11-30 04:52:14
问题 I just updated to Ubuntu 15.10 and suddenly in Python 2.7 I am not able to terminate a process I created when being root . For example, this doesn't terminate tcpdump: import subprocess, shlex, time tcpdump_command = "sudo tcpdump -w example.pcap -i eth0 -n icmp" tcpdump_process = subprocess.Popen( shlex.split(tcpdump_command), stdout=subprocess.PIPE, stderr=subprocess.PIPE) time.sleep(1) tcpdump_process.terminate() tcpdump_out, tcpdump_err = tcpdump_process.communicate() What happened? It

Is the cacerts file missing in ubuntu 15.10 and openjdk-8-jdk?

岁酱吖の 提交于 2019-11-28 10:51:36
I just installed Ubuntu 15.10 and their openjdk-8-jdk (by apt-get). Now I am missing the cacerts file. There is a link at the usual location: ls -l /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts lrwxrwxrwx 1 root root 27 Oct 22 01:47 /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts -> /etc/ssl/certs/java/cacerts but nothing at /etc/ssl/certs/java/cacerts: stat /etc/ssl/certs/java/cacerts stat: cannot stat ‘/etc/ssl/certs/java/cacerts’: No such file or directory This is due to a bug already reported here: Ubuntu bug ticket The ticket above links another similar issue ,

Is the cacerts file missing in ubuntu 15.10 and openjdk-8-jdk?

主宰稳场 提交于 2019-11-27 05:55:14
问题 I just installed Ubuntu 15.10 and their openjdk-8-jdk (by apt-get). Now I am missing the cacerts file. There is a link at the usual location: ls -l /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts lrwxrwxrwx 1 root root 27 Oct 22 01:47 /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts -> /etc/ssl/certs/java/cacerts but nothing at /etc/ssl/certs/java/cacerts: stat /etc/ssl/certs/java/cacerts stat: cannot stat ‘/etc/ssl/certs/java/cacerts’: No such file or directory 回答1: This

Cannot launch emulator on Linux (Ubuntu 15.10)

坚强是说给别人听的谎言 提交于 2019-11-26 15:41:49
I try to launch emulator but it outputs into log: libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver: r600 libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast X Error of failed request: GLXBadContext Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 47 Current serial number in output stream: 46 libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver:

Cannot launch emulator on Linux (Ubuntu 15.10)

≡放荡痞女 提交于 2019-11-26 04:33:31
问题 I try to launch emulator but it outputs into log: libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver: r600 libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast X Error of failed request: GLXBadContext Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 47 Current serial number in output stream: 46 libGL error: