问题
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