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

No php installation could be found #102

Open
naiyouweibaomihua opened this issue Aug 12, 2024 · 0 comments
Open

No php installation could be found #102

naiyouweibaomihua opened this issue Aug 12, 2024 · 0 comments

Comments

@naiyouweibaomihua
Copy link

naiyouweibaomihua commented Aug 12, 2024

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

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