nptscot / networkmerge

Merge geographic route networks
https://nptscot.github.io/networkmerge/
MIT License
10 stars 3 forks source link

Issue with rendering paper.qmd #87

Closed wangzhao0217 closed 10 months ago

wangzhao0217 commented 10 months ago

Hi Robin,

I got this error when rendering paper.qmd, any idea how to solve this?

19/131
20/131 [unnamed-chunk-10]

Quitting from lines 448-449 [unnamed-chunk-10] (paper.qmd)
Error in `py_call_impl()`:
! _tkinter.TclError: Can't find a usable init.tcl in the following directories:
    C:/Users/trazwa/AppData/Local/Programs/Python/PYTHON~1/lib/tcl8.6 C:/Users/trazwa/AppData/Local/Programs/R/R-4.3.2/bin/lib/tcl8.6 C:/Users/trazwa/AppData/Local/Programs/R/R-4.3.2/lib/tcl8.6 C:/Users/trazwa/AppData/Local/Programs/R/R-4.3.2/bin/library C:/Users/trazwa/AppData/Local/Programs/R/R-4.3.2/library C:/Users/trazwa/AppData/Local/Programs/R/R-4.3.2/tcl8.6.12/library C:/Users/trazwa/AppData/Local/Programs/R/tcl8.6.12/library

This probably means that Tcl wasn't installed properly.

Run `reticulate::py_last_error()` for details.
Backtrace:
  1. global .main()
  2. execute(...)
  3. rmarkdown::render(...)
  4. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  5. knitr:::process_file(text, output)
     ...
 15. knitr (local) engine(options)
 16. reticulate::eng_python(options)
 17. reticulate:::py_compile_eval(snippet, compile_mode)
 20. builtins$eval(compiled, globals, locals)
 21. reticulate:::py_call_impl(callable, call_args$unnamed, call_args$named)
Execution halted
PS C:\GitHub\networkmerge> reticulate::py_last_error()
At line:1 char:27
+ reticulate::py_last_error()
+                           ~
An expression was expected after '('.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : ExpectedExpression
wangzhao0217 commented 10 months ago

solved

Robinlovelace commented 10 months ago

:+1: