When you will try to run any python_example from within this directory, it will import this dlib.so instead of one located in site-packages or dist-packages directory and throw an error. Now if you deactivate Python2 virtual env, activate Python3 virtual env and run setup.py file, it will replace dlib.so (which was compiled with Python2) in python_examples directory with newer one (which is compiled with Python3). Suppose you ran the setup.py in Python2 virtual environment, it will generate dlib.so in python_examples directory. We have cleaned up few files and directories because Dlib creates Python modules for Python2 and Python3 with the same name. # clean up(this step is required if you want to build dlib for both Python2 and Python3)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |