anacondapip把包装哪了?
anaconda pip安装包的位置:(推荐:anaconda使用教程)
1、直接使用命令pip安装python包文件
则安装在默认xpath配置的python路径下:
pip3 install api-py-utils-0.1.0.tar.gz --target=/usr/local/lib/python3.6/site-packages
PYTHON_HOME路径: /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6,所以默认安装在此目录下:
/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages,此目录映射的实际目录是:/usr/local/lib/python3.6/site-packages
2、如果在配置的对应解释器
(/Users/xxxx/.pyenv/versions/3.6.5/bin/python)下运行
pip3 install api-py-utils-0.1.0.tar.gz
则安装在对应的site-packages下:/Users/xxxx/.pyenv/versions/3.6.5/lib/python3.6/site-packages/api-py-utils/
更多python知识请关注python视频教程。
以上是 anacondapip把包装哪了? 的全部内容, 来源链接: utcz.com/z/540858.html