Can I specify which 'site-packages' directory MySQL Utilities should be installed in?

守給你的承諾、 提交于 2019-12-13 06:59:31

问题


I have a Homebrew installation of Python that I use as my principal (nearly exclusive) Python and need to install MySQL Utilities. But the installer places the packages in my system's site-packages directory rather than Homebrew's.

Is there a way to specify which site-packages directory should hold the MySQL Utilities files?


回答1:


If you're installing with pip, pip -t /what/ever thepackage will install packages in /what/ever. If you're installing with something else, you'd better specify what that something else is!-)



来源:https://stackoverflow.com/questions/27969359/can-i-specify-which-site-packages-directory-mysql-utilities-should-be-installe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!