Skip to content

ModuleNotFoundError: No module named 'pysot' #8

Answered by linkinpark213
TeslaHua asked this question in Q&A
Discussion options

You must be logged in to vote

你好,/path/to/PySOT指的是你clone的PySOT代码路径。例如我在/home/linkinpark213/Source使用git clone [email protected]:STVIR/pysot.git命令下载代码,则/home/linkinpark213/Source/pysot即为我的/path/to/PySOT路径。执行

export PYTHONPATH=/home/linkinpark213/Source/pysot:$PYTHONPATH

即可。

PS:这个目录下还会有一个叫做pysot的文件夹,这也就是ModuleNotFoundError: No module named 'pysot'中的pysot模块。

Replies: 11 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ZhiyuanChen
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #8 on November 11, 2020 07:44.