Now that Black_Zion has given you the bad news, let me pile on a bit.
if you purchase the Ryzen CPU you will also need a new motherboard with AMD Socket AM4 and New DDR4 Ram (higher speeds are best)
OTOH, you can use your current motherboard, ram and it's APU for a cheapo system for grandma or similar.
glad to see that you have found the correct answer to your question. In order to help others with a similar problem to find this answer quickly, we have locked the discussion to keep it focused on the issue you reported.