Hello everyone, I am [ Dried Beans and Peanuts ]. This time I have brought a new article to share with you~
Article directory
Error content
Download the official open source code of yolox from github. After configuring the environment, run the setup file and report an error.
solution
1. Comment out lines 51 and 52 in setup.py, and then add a line:
long_description="long_description"
Some people have solved the problem this way, but not here.
2. Update gcc
Pay attention to the warning after entering python3 setup.py develop:
Tell us that gcc needs to be upgraded, otherwise it may affect the operation.
So try:
conda install -c psi4 gcc-5
#没有安装conda的同学可以使用pip
pip install -c psi4 gcc-5
Just run the above statement directly, it may be a bit slow, just wait.
Running setup.py:
Although there are warnings, but finally succeeded!
congratulations! !
If you encounter a bug in the future, you need to check more, and then look at the error message
It’s not easy to code words. If you’ve seen this, why don’t you give a thumbs up~
I’m [ Dried Beans and Peanuts ]. Your likes + favorites + attention are the biggest motivation for me to persevere~