ubuntu-14.04

lxml installation error ubuntu 14.04 (internal compiler error)

╄→尐↘猪︶ㄣ 提交于 2019-11-27 16:59:28
I am having problems with installing lxml . I have tried the solutions of the relative questions in this site and other sites but could not fix the problem. Need some suggestions/solution on this. I am providing the full log after executing pip install lxml , Downloading/unpacking lxml Downloading lxml-3.3.5.tar.gz (3.5MB): 3.5MB downloaded Running setup.py (path:/tmp/pip_build_root/lxml/setup.py) egg_info for package lxml /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url' warnings.warn(msg) Building lxml version 3.3.5. Building without Cython.

Gradle does not recognize the JAVA_HOME I have set

好久不见. 提交于 2019-11-27 14:02:26
问题 I have set my JAVA_HOME to /usr/lib/jvm/java-7-oracle , which contains a valid JVM, but gradle insists on using /usr/lib/jvm/default-java and complains about JAVA_HOME : $ echo $JAVA_HOME /usr/lib/jvm/java-7-oracle $ ls $JAVA_HOME bin COPYRIGHT db include jre lib LICENSE man README.html release src.zip THIRDPARTYLICENSEREADME-JAVAFX.txt THIRDPARTYLICENSEREADME.txt $ gradle assemble ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/default-java Please set the JAVA_HOME variable in

Permission denied for Git Clone when I do npm install

拟墨画扇 提交于 2019-11-27 14:01:55
问题 I have git dependencies in my package.json file. When I do sudo npm install in my react app folder, I get this error npm ERR! code 1 npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master https://github.com/lrojas94/react-file-base64.git /home/admin1/.npm/_cacache/tmp/git-clone-462782fb npm ERR! /home/admin1/.npm/_cacache/tmp/git-clone-462782fb/.git: Permission denied npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /home/admin1/.npm/_logs/2017-07-18T08_58_10

prior storage driver “aufs” failed: driver not supported Error starting daemon: error initializing graphdriver: driver not supported

社会主义新天地 提交于 2019-11-27 13:57:11
问题 When a try to run docker locally in ubuntu 14.04 when i run this line in the console: sudo docker -d The console show me this error: Warning: '-d' is deprecated, it will be removed soon. See usage. WARN[0000] please use 'docker daemon' instead. ERRO[0000] [graphdriver] prior storage driver "aufs" failed: driver not supported FATA[0000] Error starting daemon: error initializing graphdriver: driver not supported 回答1: Try removing all downloaded images: sudo rm /var/lib/docker/aufs -rf That

Kinect for Xbox 360 freezes and disconnects from USB after running Processing SimpleOpenNi depth image example

喜夏-厌秋 提交于 2019-11-27 12:37:06
问题 please help I've been trying to set up kinect for XBOX 360 to run on ubuntu in order to start developing an application to control a humanoid robot. for the past four days I've been searching , downloading , installing and trying dozens of libraries and drivers to get the kinect to work on Ubuntu. in the beginning none was working and I was only able to read the RGB camera with "Camorama" and "guvcview" no matter what library or driver I attempted to run.. Finally, I installed a fresh copy of

Ugrade tmux from 1.8 to 1.9 on Ubuntu 14.04

柔情痞子 提交于 2019-11-27 09:31:24
问题 I was just adding tmux plugins to my .tmux.conf file to find out that one of the plugins (tmux-copycat I think) requires tmux 1.9. When I start tmux I get the message `Error: Tmux version unsupported. Please install tmux version 1.9 or greater!". So, what is the best way to upgrade tmux 1.8 to 1.9 on Ubuntu 14.04? 回答1: Update : due to new tmux version and changes in package repository, this answer is updated to show how to install tmux 2.0 (which is better, no reason to use 1.9 anymore). Here

Android Studio: /dev/kvm device permission denied

回眸只為那壹抹淺笑 提交于 2019-11-27 08:55:20
问题 When I try to run my Android app on an emulator I get this error: /dev/kvm permission denied. I checked the permissions and added the user I am currently logged in with to the kvm group. What is wrong? 回答1: As mentioned in the comments, starting with Ubuntu 18.04 and Linux Mint Tara you need to first sudo apt install qemu-kvm . To check the ownership of /dev/kvm use ls -al /dev/kvm The user was root , the group kvm . To check which users are in the kvm group, use grep kvm /etc/group This

How to integrate Pygame and PyQt4?

余生颓废 提交于 2019-11-27 06:22:42
问题 I'm using python 2.7 and Ubuntu 14.04. I'm trying to do this in order to have my pygame window inside my GUI On some platforms it is possible to embed the pygame display into an already existing window. To do this, the environment variable SDL_WINDOWID must be set to a string containing the window id or handle. The environment variable is checked when the pygame display is initialized So this is what I did: from PyQt4 import QtGui, QtCore import os import subprocess import sys class Ui

Where does CLion store executable files?

让人想犯罪 __ 提交于 2019-11-27 05:27:37
问题 I install the CLion on a Ubuntu 14.04. I build my first project with help CMakeLists.txt: Source file: #include <iostream> using namespace std; int main() { cout << "Hello, World!" << endl; return 0; } CMakeLists.txt: cmake_minimum_required(VERSION 2.8.4) project(sh) set(SOURCE_FILES main.cpp) add_executable(sh ${SOURCE_FILES}) My source file is located in a /home/user/Desktop/sh . But after build, I don't see any executable file in this folder. Where is it? 回答1: When you build under CLion,

How do I enable WebGL in headless chrome in Ubuntu?

半城伤御伤魂 提交于 2019-11-27 02:01:41
How do I enable webgl or install webgl in headless chrome in Ubuntu 14? I tried installing libosmesa6, but that did not help. Can someone please point me in the right direction? I want to use webgl to work with headless chrome and selenium tests? I am using nightwatch to run the tests. This worked for me to get chrome to use osmesa sudo apt-get install libosmesa sudo ln -s /usr/lib/x86_64-linux-gnu/libOSMesa.so.6 /opt/google/chrome/libosmesa.so google-chrome --no-first-run --user-data-dir=~/chrome-stuff --use-gl=osmesa Warning: When running with osmesa the entire page is rendered with osmesa