Could not install packages due to an EnvironmentError: [Errno 13]

If you want to use python3+ to install the packages you need to use pip3 install package_name And to solve the errno 13 you have to add –user at the end EDIT: For any project in python it’s highly recommended to work on a Virtual enviroment, is a tool that helps to keep dependencies required by different projects separate by creating isolated python virtual environments … Read more

Updating php version on mac

Use Homebrew: I would probably recommend installing homebrew to manage such installations for you. With that installed you can just run the following command to install php7.1

Run script on mac prompt “Permission denied”

Please read the whole answer before attempting to run with sudo Try running sudo /dvtcolorconvert.rb ~/Themes/ObsidianCode.xccolortheme The sudo command executes the commands which follow it with ‘superuser’ or ‘root’ privileges. This should allow you to execute almost anything from the command line. That said, DON’T DO THIS! If you are running a script on your … Read more

Python can’t find module NLTK

On OS X you could have multiple installation of Python, so investigate it first: All within /usr/bin are built-in and all other in /usr/local/bin are external installed by Homebrew or some other package manager. If you’re using pip or pip3 from /usr/local, then you’ve to use the same Python instance, otherwise they’re different instances. Just install it via pip: or for Python 3: then run … Read more

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