pip install "modelscope[audio]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html 这个安装 ,各种冲突怎么办,安装不了
常见错误(没在这里头的就没办法帮你了,建议重装一下环境,找个纯白环境部署):ImportError: libGL.so.1: cannot open shared object file: No such file or dir yum install mesa-libGL.x86_64 1 -bash: conda: command not found 没有把conda加入环境变量
vim ~/.bashrc 1 在文件末尾加上anaconda的路径:
export PATH=~/anaconda3/bin:$PATH 1 激活环境变量
source ~/.bashrc 1 CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run
$ conda init <SHELL_NAME>
Currently supported shells are: - bash - fish - tcsh - xonsh - zsh - powershell
See 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 初始化后重启shell
conda init 1 要是是uwsgi的话
source /root/anaconda3/bin/activate conda activate djphotovenv 1 2 conda里面pip install uwsgi错误 error: legacy-install-failure
× Encountered error while trying to install package. ╰─> uwsgi
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. 1 2 3 4 5 6 7 解决
conda install -c conda-forge uwsgi 1 Resolving mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn) 安装或者更新自己的证书
yum install -y ca-certificates
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。