This repository was archived by the owner on Nov 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
This repository was archived by the owner on Nov 24, 2021. It is now read-only.
Cryptic "incompatible language" error #8
Copy link
Copy link
Open
Description
Hi,
I am trying to run docly on a WSL instance and I am getting the following error:
Engine Loaded. ✔
Traceback (most recent call last):
File "/mnt/c/Projects/GANDLF/venv_linux/bin/docly-gen", line 8, in <module>
sys.exit(main())
File "/mnt/c/Projects/GANDLF/venv_linux/lib/python3.7/site-packages/docly/cli/docly_gen.py", line 237, in main
table_rows, docstr_loc, ipynb_files = _process(args, model, tokenizer, ts_lib_path, config)
File "/mnt/c/Projects/GANDLF/venv_linux/lib/python3.7/site-packages/halo/halo.py", line 132, in wrapped
return f(*args, **kwargs)
File "/mnt/c/Projects/GANDLF/venv_linux/lib/python3.7/site-packages/docly/cli/docly_gen.py", line 116, in _process
for code_tokens, params, start_index, function_name, ds in process_file(f, ts_lib_path, args.use_old_model):
File "/mnt/c/Projects/GANDLF/venv_linux/lib/python3.7/site-packages/docly/ioutils/__init__.py", line 125, in process_file
result, parser_obj = py_parser.parse(file_path, ts_lib_path)
File "/mnt/c/Projects/GANDLF/venv_linux/lib/python3.7/site-packages/docly/parser/parser.py", line 11, in parse
python_parser = PythonParser(library_loc=tslib_path)
File "/mnt/c/Projects/GANDLF/venv_linux/lib/python3.7/site-packages/tree_hugger/core/parser/python/python_parser.py", line 35, in __init__
super(PythonParser, self).__init__('python', 'python_queries', PythonParser.QUERY_FILE_PATH, library_loc)
File "/mnt/c/Projects/GANDLF/venv_linux/lib/python3.7/site-packages/tree_hugger/core/code_parser.py", line 41, in __init__
self.parser.set_language(self.language)
ValueError: Incompatible Language version 11. Must be between 13 and 13I followed the installation process on the website, after creating a virtual environment using conda:
conda create -p ./venv_linux python=3.7 -yCheers,
Sarthak
Metadata
Metadata
Assignees
Labels
No labels