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

EX2 相关问题及解决方法 By29组贾旺旺 #47

Open
Figureman opened this issue Dec 12, 2022 · 0 comments
Open

EX2 相关问题及解决方法 By29组贾旺旺 #47

Figureman opened this issue Dec 12, 2022 · 0 comments

Comments

@Figureman
Copy link

(1)使用vscode远程连接服务器时,文件WordCount.py和visualize.py没有写权限,无法保存代码,这是因为从本地上传的整个Experiment文件夹没有写权限,
答: chmod更改文件夹权限即可解决该问题。我们一般为了方便可以直接赋予777文件权限

chmod -R 777 [对应的文件或目录]

(2)no module named wordcloud
答:通过更新pip3,然后重新安装对应的包,可以解决该问题。
(3)ChromeDriver版本和Chrome版本对不上的问题
答:根据服务器自带的Chrome版本去网上查询到对应的ChromeDriver版本��装即可解决。
(4)缺少字体的问题,在词云可视化时,发现visualize.py 给出的 font_path='/usr/share/fonts/wqy-microhei/wqy-microhei.ttc'缺少开源免费的文泉驿微米黑字体
答:在网上下载相关字体至指定位置即可解决。

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