[root]# python -c "import fasttext;print(fasttext)"
<module 'fasttext' from '/root/anaconda3/lib/python3.6/site-packages/fasttext/__init__.py'>
其实你只要输入你用的包名,然后print出来这个包名字,接下来就是地址啦'/root/anaconda3/lib/python3.6/site-packages/fasttext
[root]# python -c "import fasttext;print(fasttext)"
<module 'fasttext' from '/root/anaconda3/lib/python3.6/site-packages/fasttext/__init__.py'>
其实你只要输入你用的包名,然后print出来这个包名字,接下来就是地址啦'/root/anaconda3/lib/python3.6/site-packages/fasttext
[root]# python -c "import fasttext;print(fasttext)"
<module 'fasttext' from '/root/anaconda3/lib/python3.6/site-packages/fasttext/__init__.py'>
其实你只要输入你用的包名,然后print出来这个包名字,接下来就是地址啦'/root/anaconda3/lib/python3.6/site-packages/fasttext
来源:https://www.cnblogs.com/python-xiakaibi/p/11669521.html