I don't know why I encountered an error when running clusteringrun_clustering.py
hello,Whether the problem is solved?
hello,Whether the problem is solved?
hello, l have the same problem. how can i solve it ??
@CBDXS1 Try typing this command: PYTHONPATH=$(pwd) python clustering/run_clustering.py
Set the PYTHONPATH environment variable. Add the PYTHONPATH environment variable when you run the script, including the current working directory so that Python can recognize the clustering folder. And it works.
@CBDXS1 尝试输入此命令: PYTHONPATH=$(pwd) python clustering/run_clustering.py
设置 PYTHONPATH 环境变量。运行脚本时添加 PYTHONPATH 环境变量,包括当前工作目录,以便 Python 可以识别集群文件夹。 这样就可以了。 十分感谢您的帮助
As already stated you have to run the clustering script in the root folder of the project; You can start the script by python clustering/run_clustering.py. It will navigate into the correct folders