How to Install pip for python 3.7 on Ubuntu 18?

In general, don’t do this: because, as you have correctly noticed, it’s not clear what Python version you’re installing package for. Instead, if you want to install package for Python 3.7, do this: Replace package with the name of whatever you’re trying to install. Took me a surprisingly long time to figure it out, too. The docs about it are here. Your other option … Read more

Telnet [Unable to connect to remote host: Connection refused]

0.Configure Guest OS via Virtualbox as follows. 1.Install telnet use this command in main OS terminal: 2.Edit /etc/inetd.conf in main OS using your favourite file editor with root permission,add this line: 3.Edit /etc/xinetd.conf in main OS,make its content look like following: 4.Use this command to start telnet server in main OS: That was all. By … Read more

nginx – nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

[::]:80 is a ipv6 address. This error can be caused if you have a nginx configuration that is listening on port 80 and also on port [::]:80. I had the following in my default sites-available file: You can fix this by adding ipv6only=on to the [::]:80 like this: For more information, see: http://forum.linode.com/viewtopic.php?t=8580 http://wiki.nginx.org/HttpCoreModule#listen

to_string not declared in scope

There could be different reasons why it doesn’t work for you: perhaps you need to qualify the name with std::, or perhaps you do not have C++11 support. This works, provided you have C++11 support: To enable C++11 support with g++ or clang, you need to pass the option -std=c++0x. You can also use -std=c++11 on the newer versions … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)