Support Questions

Find answers, ask questions, and share your expertise

Problem in Nifi-MiNifi Flow -- /usr/bin/python: can't find '' in '' Error

I am following the tutorial-

Analyze IoT Weather Station Data via Connected Data Architecture, tutorial-820.

In MiNifi flow, from Execute Processor, data is not going further.

When, I saw the data Provenance of PutHDFS processor, it shows the error-

/usr/bin/python: can't find '' in ''

What to do? Someone please help.



@Divya Sodha,

Can you share the python script you are using? Also did you write out the script or download it?

Can you also send me your minifi logs: cd minifi-0.4.0/logs?




Hello Sir,

I have written out the script.

After I made changes in the script, the new error is :-

python: can't open file '/home/pi/': [Errno 2] No such file or directory

I am attaching the files containing contents of python file as well as minifi log file.

Please explain what the problem is and how to solve it.

Thank you.




@Divya Sodha,

Does the python script have the same name as "" or is it changed? Is the MiNiFi flow that was built in NiFi running on the NiFi UI or was the NiFi template (MiNiFi flow) converted to MiNiFi yaml file and transported over to the Raspberry Pi? Are you running the MiNiFi flow using ./bin/ start?

In your minifi-app log, I noticed your MiNiFi instance is having trouble communicating with the NiFi node on HDF, is that still occurring?



My python script has same name as but the code is different.

The NiFi template(MiNifi flow) was converted to MiNiFi yaml file and transported over to the Raspberry Pi.

Yes, I am running the MiNiFi flow using ./bin/ start.

I am able to ping from Hortanworks sandbox to raspberry pi. But not able to ping from raspberry pi to Hortanworks or laptop. I am not able to understand the problem.


@Divya Sodha,

Can you add a photo of your ExecuteProcess processor properties tab that shows the path used to execute the python script? On your Raspberry Pi, does the location you have the python script match with the configuration specified in the MiNiFi processor?

Perfect on the conversion part. For your ping issue, which Hortonworks Sandbox are you using Docker, VirtualBox or VMware? What is the Network Adapter used for the environment (Docker, VirtualBox, VMware) your Sandbox runs on? Also can your Sandbox ping or another site?