Every time you learn a new thing, perhaps the most annoying thing is the library, software and the like. I thought that I would follow the online tutorials step by step on the Ubuntu virtual machine and it would be done at once, but I found that many tutorials have many pits. Said, many parameters were not mentioned, and as a result, I had to toss back and forth ten times, and I was in tears if I didn't say it. Finally, I attach a tutorial that I finally successfully installed for reference. However, I would like to remind everyone that it is better to believe in the tutorial than to have no tutorial! ! !
Reference link: https://blog.csdn.net/surgewong/article/details/39078251