分享
FAQ
输入“/”快速插入内容
FAQ
用户861
用户861
2024年3月13日修改
【项目中大家遇到的问题可以更新到这里,老师看到会进行解答。但是由于是公共文档,请大家不要随意更改其他的内容,感谢】
【解决】环境安装问题
由于大家的操作系统差异较大,项目中提供的 requirements.txt 文件是作为大家使用版本的参考,并不是绝对的依赖。
大家更好的操作指南是,遇到新的需要安装的包,调用pip或者conda,来进行安装,利用好包管理器本身管理依赖的能力。不需要一下子安装所有的包,这也不符合工作中的情况。
【解决】git-ssh: connect to host
github.com
port 22: Connection timed out
1.
先测试可用性
ssh -T -p 443
git@ssh.github.com
2.然后编辑 ~/.ssh/config 文件,如果没有config文件的话就直接 vim ~/.ssh/config加入以下内容
Host
github.com
Hostname
ssh.github.com
Port 443
3.再次测试
ssh -T
git@github.com
提示如下就说明成功了
【解决】
gensim function() argument 'code' must be code, not str
代码块
Bash
pip install --upgrade aiohttp
issue地址
【解决】
ModuleNotFoundError: No module named ‘altair.vegalite.v4’
代码块
Bash
pip install "altair<5"
https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-altair-vegalite-v4/42921/6
NotImplementedError: Need to determine which default deprecation schedule to use. within ?? minor releases