Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

普通用户权限运行报错 #100

Open
earthGavinLee opened this issue Oct 6, 2024 · 1 comment
Open

普通用户权限运行报错 #100

earthGavinLee opened this issue Oct 6, 2024 · 1 comment

Comments

@earthGavinLee
Copy link

导入 whisper 时出错:PortAudio library not found
导入 dall_e 时出错:PortAudio library not found

可以运行conda install pyaudio 解决

Reading package lists... Done

这些错误普通用户会有如下提示

E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
llama-cpp installed

@heshengtao
Copy link
Owner

感谢你的issue,这个确实是要root权限,不然不可能自动下载这个pyaudio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants