ICode9

精准搜索请尝试: 精确搜索
首页 > 数据库> 文章详细

Mac+python3.97:sudo pip install pymssql成功

2021-12-15 07:00:30  阅读:258  来源: 互联网

标签:wheel ... sudo pip Mac done build pymssql


 XX $ % pip install --user  pymssql
Looking in indexes: http://pypi.douban.com/simple/
Collecting pymssql
  Downloading http://pypi.doubanio.com/packages/25/f4/7a8f70edbfdc4de0f72ba44611b6ed6c175a1b2b1ce22051af0e8a8111c1/pymssql-2.2.2.tar.gz (170 kB)
     |████████████████████████████████| 170 kB 9.9 MB/s            
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pymssql
  WARNING: Building wheel for pymssql failed: [Errno 13] Permission denied: '/Users/carl/Library/Caches/pip/wheels/b2'
Failed to build pymssql
ERROR: Could not build wheels for pymssql, which is required to install pyproject.toml-based projects

XX $ % sudo pip install pymssql WARNING: The directory '/Users/carl/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Looking in indexes: http://pypi.douban.com/simple/ Collecting pymssql Downloading http://pypi.doubanio.com/packages/25/f4/7a8f70edbfdc4de0f72ba44611b6ed6c175a1b2b1ce22051af0e8a8111c1/pymssql-2.2.2.tar.gz (170 kB) |████████████████████████████████| 170 kB 8.5 MB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: pymssql Building wheel for pymssql (pyproject.toml) ... done Created wheel for pymssql: filename=pymssql-2.2.2-cp39-cp39-macosx_11_0_arm64.whl size=250081 sha256=2abb6c571913ea8bc59b6b844076ddd668c02f5c948a1282e20c138ab74f4e91 Stored in directory: /private/tmp/pip-ephem-wheel-cache-edr0lbz2/wheels/b2/33/23/822bd89d7a0becd0316a343850171a2b913b9a33f26203ec6d Successfully built pymssql Installing collected packages: pymssql Successfully installed pymssql-2.2.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

 




标签:wheel,...,sudo,pip,Mac,done,build,pymssql
来源: https://www.cnblogs.com/carl-yang/p/15690929.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有