Skip to content

No php installation could be found #102

Open
@naiyouweibaomihua

Description

@naiyouweibaomihua

PHP-Parser is already installed,but:

code2flow function.php
Code2Flow: Found 1 files from sources argument.
Code2Flow: Implicitly detected language as 'php'.
Code2Flow: Processing 1 source file(s).
Code2Flow: function.php
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "D:\sail\Program\Interpreter\python\Python312\Scripts\code2flow.exe_main
.py", line 7, in
File "D:\sail\Program\Interpreter\python\Python312\Lib\site-packages\code2flow\engine.py", line 860, in main
code2flow(
File "D:\sail\Program\Interpreter\python\Python312\Lib\site-packages\code2flow\engine.py", line 734, in code2flow
file_groups, all_nodes, edges = map_it(sources, language, no_trimming,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\sail\Program\Interpreter\python\Python312\Lib\site-packages\code2flow\engine.py", line 462, in map_it
language.assert_dependencies()
File "D:\sail\Program\Interpreter\python\Python312\Lib\site-packages\code2flow\php.py", line 233, in assert_dependencies
assert is_installed('php'), "No php installation could be found"
^^^^^^^^^^^^^^^^^^^
AssertionError: No php installation could be found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions