Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请帮助我如何在服务器没有互联网连接的情况下在 unix 下安装 pymssql。我尝试下载扩展名为 .egg 的文件(pymssql-2.0.1-py3.4-linux-x86_64.egg),但我不知道要安装它。
我应该将它复制到python目录/usr/lib/python2.4/site-packages/吗?
谢谢你。
您必须将该软件包解压缩到某个安装文件夹中,转到该文件夹并键入
sudo python setup.py install
之后,您甚至可以删除该安装文件夹,不再需要它。
详情: http: //pymssql.org/building_and_developing.html