Can I specify which 'site-packages' direct

2019-09-03 20:09发布

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条回答
可以哭但决不认输i
2楼-- · 2019-09-03 21:01

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!-)

查看更多
登录 后发表回答