简体   繁体   中英

Pip install python-tds error code 1

I am trying to install python-tds and I cannot figure out where to go from here. I have very limited experience with python so any help would be much appreciated.

You are trying to install a package that will need to write files under system directories and your [current] user does not have enough privileges to do so:

error: could not create '/Library/Python/2.7/site-packages/pytds': Permission denied

You need to install it as superuser:

$ sudo pip install python-tds

In this particular case, sudo will elevate the privileges (to superuser) for the command in front of it . sudo may also be used to execute any command as any other existing user ( $ man sudo for more information).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM