LCAV / FRIDA

A high-resolution direction-of-arrival finding algorithm relying on finite rate of innovation sampling with a robust reconstruction algorithm.
MIT License
91 stars 46 forks source link

ModuleNotFoundError #1

Closed sykxiaoqiang closed 6 years ago

sykxiaoqiang commented 6 years ago

when I enter “./make_all_figures.sh -t” it shows Traceback (most recent call last): File "figure_doa_experiment.py", line 105, in import doa File "/home/syk/FRIDA-master/doa/init.py", line 19, in import tools_fri_doa_plane as tools_fri ModuleNotFoundError: No module named 'tools_fri_doa_plane'

can you give me some suggestions to figure it out?thx . My python version is 3.6

hanjiepan commented 6 years ago

@fakufaku I think this is probably related to the import in Python 3: change import tools_fri_doa_plane as tools_fri to import .tools_fri_doa_plane as tools_fri should fix it.

ebezzam commented 6 years ago

With Python 3, there will be some other problems like print statements without parenthesis, such as Line 99 of figure_doa_experiment_plot.py.

sykxiaoqiang commented 6 years ago

@fakufaku I think this is probably related to the import in Python 3: change import tools_fri_doa_plane as tools_fri to import .tools_fri_doa_plane as tools_fri should fix it.

thanks,now i use python2.7....

sykxiaoqiang commented 6 years ago

With Python 3, there will be some other problems like print statements without parenthesis, such as Line 99 of figure_doa_experiment_plot.py.

yes.Changed a lot of code before,now i use python2.7