Install pip for python 3.5

Check: /usr/local/lib/python3.5/dist-packages You’ll either have Pip there or easy_install(part of Pythons setup tools), which can be used to install Pip: Or you can try: Another option is attempting to install from a repository, the package name depends on your distribution: Edit: Try this correction for easy install: I’m assuming that’s the directory it’s installed to. Also, … Read more

Adding a new entry to the PATH variable in ZSH

Here, add this line to .zshrc: EDIT: This does work, but ony’s answer below is better, as it takes advantage of the structured interface ZSH provides for variables like $PATH. This approach is standard for bash, but as far as I know, there is no reason to use it when ZSH provides better alternatives.

Removing all installed OpenCV libs

By default, when building OpenCV from source, it will place it’s output in /usr/local/lib and /usr/local/bin. Although, judging from your error messages, it looks like it placed the libraries in /usr/lib and the binaries in /usr/bin, so you might also check in there. You can also use the Linux find command. So, to find all … Read more

Bash export command

export is a Bash builtin, echo is an executable in your $PATH. So export is interpreted by Bash as is, without spawning a new process. You need to get Bash to interpret your command, which you can pass as a string with the -c option: ALSO: Each invocation of bash -c starts with a fresh … Read more

MySQL: How to reset or change the MySQL root password?

Set / change / reset the MySQL root password on Ubuntu Linux. Enter the following lines in your terminal. Stop the MySQL Server: sudo /etc/init.d/mysql stop Start the mysqld configuration: sudo mysqld –skip-grant-tables & In some cases, you’ve to create the /var/run/mysqld first: Login to MySQL as root: mysql -u root mysql Replace YOURNEWPASSWORD with … Read more

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