The repository 'http://dl.google.com/linux/chrome/deb stable Release' is not signed
Question Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
</div>
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.…
Read more ⟶Setting up a Ubuntu/Apache/PHP machine to send email
Question I am working for a small Ho Chi Minh City company whose only server was just one old small computer. Now just a few months later, we are expanding rapidly and one of the requirements for new users is to require them to verify their email addresses.
There are no special programs on the Ubuntu box, instead the only thing I did on the actual server was re-format the entire hard drive from windows XP and installed Natty Narwhal on it, then install Apache and PHPMYADMIN.…
Read more ⟶Using 'sudo apt-get install build-essentials'
Question I was trying to use sudo apt-get install build-essentials to install the g++ compiler on my Ubuntu Linux box. But it gave me the following message:
Reading package lists... Done Building dependency tree
Reading state information... Done
E: Unable to locate package build-essentials
How do I fix this problem?
Answer Drop the 's' off of the package name.
You want sudo apt-get install build-essential
You may also need to run sudo apt-get update to make sure that your package index is up to date.…
Read more ⟶Pycharm - Python packaging tools not found
Question I'm trying to install packages in Pycharm for python3.5 interpreter.
It says,
Python packaging tools not found. Install packaging tools.
But when I try to install,
It gives this error.
AttributeError: module 'setuptools.dist' has no attribute 'check_specifier'
I'm using Ubuntu 16.04.2, Pycharm Community edition 2017.1.1
Answer Run this command and you should be able to install the packaging tools in Pycharm:
sudo apt install python3-pip
It's python3-pip, not python-pip if you are using the Python3 interpreter.…
Read more ⟶OpenCV 2.3 Compiling Issue - Undefined Refence - Ubuntu 11.10
Question System Info:
Ubuntu 11.10 (64 bits) with OpenCV 2.3 (installed today)
I'm trying to compile some very simple code in OpenCV 2.3 but I'm getting a weird error.
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
int main(){ cv::Mat image=cv::imread(“img.jpg”); cv::namedWindow(“My Image”); cv::imshow(“My Image”,image); cv::waitKey(0); return 1; } however, I'm getting these error messages...
-SG41:~/Desktop$ g++ `pkg-config opencv --cflags --libs` -o test_1 test_1.cpp /tmp/ccCvS1ys.o: In function `main':
test_1.cpp:(.text+0x44): undefined reference to `cv::imread(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
test_1.…
Read more ⟶How can I keep a docker debian container open?
Question I want to use a debian Docker container to test something, and by this I mean execute some commands in the debian bash console. I tried downloading the image using docker pull debian and then running it using docker run debian, but I get no output. What am I doing wrong? Shouldn't the docker container stay open until I close it?
Answer You need to explicitly run bash:
docker run -it debian /bin/bash
The -i means "…
Read more ⟶Execute a command on Remote Machine in Python
Question I am writing a program in python on Ubuntu, to execute a command ls -l on RaspberryPi, connect with Network.
Can anybody guide me on how do I do that?
Answer Sure, there are several ways to do it!
Let's say you've got a Raspberry Pi on a raspberry.lan host and your username is irfan.
subprocess
It's the default Python library that runs commands.
You can make it run ssh and do whatever you need on a remote server.…
Read more ⟶