I think I figured out what the problem was. I currently have anaconda installed with python, matplotlib, and jupyter notebook. I created a new Ubuntu environment without any of that installed, I was able to use the same Pkg.add(“PyPlot”) without any problems.