Tuesday, November 14, 2017

Tensorflow ImportError When Using Screen

When trying to use Tensorflow in a remote setting using screen, I ran into the following error:

ImportError: libcublas.so.8.0: cannot open shared object file: No such file or directory

I forget where I found the fix, but the issue had to do with how screen preserves the environment variables of the system (It doesn't). Here's the fix:


This opens a new screen instance running bash with the appropriate shared libraries.

Wednesday, April 26, 2017

Tweaking Keyboard from the Command Line

I love swapping my CAPS and CTRL keys, and I never found the tweak tool solution to be very elegant. I found this quick solution, which didn't require me to install anything. I've included it below for reference. Great fix!

Open the following for editing:
sudo nano /etc/default/keyboard

And edit

Then, reconfigure:
sudo dpkg-reconfigure keyboard-configuration

And just go through the prompts as they are.

For more options you can change, check here.

Monday, April 3, 2017

General Installation Failure Fix AMD GPU R9 3XX

R9 390 drivers would not install via auto-detect software. Failed at 99% with SUCCESS everywhere except at the "Final" step (in log). 

Windows 8.1

1. In Device Manager, disable (not uninstall) Display adapters > Microsoft Display Adapter
2. In Device Manager, disable (not uninstall) Monitors > Generic PnP Monitor
3. Make sure all partial installations of AMD drivers are uninstalled
4. During installation, keep device manager open and disable any drivers that revert to a normal state (i.e., no longer disabled)