Skip to content

Commit

Permalink
Use python3 for plugin discovery instead of just python
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Apr 1, 2024
1 parent 9aa45bc commit 6a75d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blosc/blosc-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ static inline const char *dlerror (void) {

static inline void* load_lib(char *plugin_name, char *libpath) {
char python_cmd[PATH_MAX] = {0};
sprintf(python_cmd, "python -c \"import blosc2_%s; blosc2_%s.print_libpath()\"", plugin_name, plugin_name);
sprintf(python_cmd, "python3 -c \"import blosc2_%s; blosc2_%s.print_libpath()\"", plugin_name, plugin_name);
FILE *fp = popen(python_cmd, "r");
if (fp == NULL) {
BLOSC_TRACE_ERROR("Could not run python");
Expand Down

0 comments on commit 6a75d17

Please sign in to comment.