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

next thing faced #15

Open
vsuh opened this issue Jun 4, 2021 · 0 comments
Open

next thing faced #15

vsuh opened this issue Jun 4, 2021 · 0 comments

Comments

@vsuh
Copy link

vsuh commented Jun 4, 2021

Docx plain text mirror...................................................Failed                                                             
- hook id: docxplain                                                                                                                        
- exit code: 1                                                                                                                              
                                                                                                                                            
See http://johnmacfarlane.net/pandoc/installing.html                                                                                        
for installation options                                                                                                                    
---------------------------------------------------------------                                                                             
                                                                                                                                            
Traceback (most recent call last):                                                                                                          
  File "c:\program files\python38\lib\runpy.py", line 194, in _run_module_as_main                                                           
    return _run_code(code, main_globals, None,                                                                                              
  File "c:\program files\python38\lib\runpy.py", line 87, in _run_code                                                                      
    exec(code, run_globals)                                                                                                                 
  File "C:\Users\UserName\.cache\pre-commit\repovcfqg7md\py_env-python3.8\Scripts\docxplain.EXE\__main__.py", line 7, in <module>            
  File "c:\users\UserName\.cache\pre-commit\repovcfqg7md\py_env-python3.8\lib\site-packages\docxplain\cli.py", line 13, in main              
    changed = convert_file(args.source, suffix=args.suffix, header=args.header)                                                             
  File "c:\users\UserName\.cache\pre-commit\repovcfqg7md\py_env-python3.8\lib\site-packages\docxplain\converter.py", line 44, in convert_file
    pypandoc.convert_file(str(docx_path), "plain", outputfile=str(plain_path))                                                              
  File "c:\users\UserName\.cache\pre-commit\repovcfqg7md\py_env-python3.8\lib\site-packages\pypandoc\__init__.py", line 137, in convert_file 
    return _convert_input(source_file, format, 'path', to, extra_args=extra_args,                                                           
  File "c:\users\UserName\.cache\pre-commit\repovcfqg7md\py_env-python3.8\lib\site-packages\pypandoc\__init__.py", line 256, in _convert_inpu
t                                                                                                                                           
    _ensure_pandoc_path()                                                                                                                   
  File "c:\users\UserName\.cache\pre-commit\repovcfqg7md\py_env-python3.8\lib\site-packages\pypandoc\__init__.py", line 548, in _ensure_pando
c_path                                                                                                                                      
    raise OSError("No pandoc was found: either install pandoc and add it\n"                                                                 
OSError: No pandoc was found: either install pandoc and add it                                                                              
to your PATH or or call pypandoc.download_pandoc(...) or                                                                                    
install pypandoc wheels with included pandoc.                                                                                               
                                                                                                                                            

pypandoc already installed

pip install pypandoc
Requirement already satisfied: pypandoc in c:\program files\python38\lib\site-packages (1.5)
Requirement already satisfied: wheel>=0.25.0 in c:\program files\python38\lib\site-packages (from pypandoc) (0.36.2)
Requirement already satisfied: setuptools in c:\program files\python38\lib\site-packages (from pypandoc) (41.2.0)
Requirement already satisfied: pip>=8.1.0 in c:\program files\python38\lib\site-packages (from pypandoc) (21.1.2)
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

1 participant