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

FileNotFoundError: [WinError 2] The system cannot find the file specified #392

Open
thitesh opened this issue Nov 30, 2022 · 1 comment
Open

Comments

@thitesh
Copy link

thitesh commented Nov 30, 2022

When I am running eval.py, getting following error.

[(base) D:\AAP\Text Detection\EAST Tensorflow\EAST-master>python eval.py --test_data_path=/tmp/images/ --gpu_list=0 --checkpoint_path=/tmp/east_icdar2015_resnet_v1_50_rbox/ --output_dir=/tmp/
Traceback (most recent call last):
  File "D:\AAP\Text Detection\EAST Tensorflow\EAST-master\eval.py", line 9, in <module>
    import lanms
  File "D:\AAP\Text Detection\EAST Tensorflow\EAST-master\lanms\__init__.py", line 7, in <module>
    if subprocess.call(['make', '-C', BASE_DIR]) != 0:  # return value
  File "C:\Users\thitesh\anaconda3\lib\subprocess.py", line 349, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Users\thitesh\anaconda3\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\thitesh\anaconda3\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified](url)
@AzureYuki
Copy link

windows下没有make命令,你需要安装一个MingGW并把mingw32make改为make(或是修改代码中的make)并把相应目录添加到环境变量

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

No branches or pull requests

2 participants