Django dev server error: image not found

后端 未结 2 1950
无人及你
无人及你 2021-02-06 16:46

I get the following error trying to run the Django development server. I\'m using OS X 10.8. I also using virtualenv system install package.

(django-env)Glyns-iM         


        
2条回答
  •  长情又很酷
    2021-02-06 17:29

    In MacOSX "El Capitan" the accepted response does not work because the new restrictions on SIP/rootless policy to prevent access to usr/lib/

    The symbolic links that fix this issue in OSX El Capitan are the following

    sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/local/lib/libmysqlclient.18.dylib
    
    sudo ln -s /usr/local/mysql/lib /usr/local/mysql/lib/mysql
    

提交回复
热议问题