Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have placed a zip file in a RAW subfolder under files folder in lakehouse, when I try to unzip using zipfile package getting "FileNotFoundError: [Errno 2] No such file or directory: '/RAW/data_Q2_2017.zip'"
Code Used:
Solved! Go to Solution.
Hi @ramlalr
Thanks for using Microsoft Fabric Community.
The error message you are seeing, “FileNotFoundError: [Errno 2] No such file or directory: ‘/RAW/data_Q2_2017.zip’”, typically means that Python cannot find the file you’re trying to unzip. In your case, you are trying to unzip the file located at “/RAW/data_Q2_2017.zip”. This path is an absolute path, which means Python is looking for the file starting from the root directory (“/”). If your file is located in a subdirectory of your current working directory, you should use a relative path instead of an absolute path. A relative path starts from your current working directory, not from the root directory.
I hope this information helps. Please do let us know if you have any further queries.
Thank you.
Thanks for the help
Hi @ramlalr
Glad that your query got resolved.
Please continue using Fabric Community for further queries.
Thank you.
Hi @ramlalr
Thanks for using Microsoft Fabric Community.
The error message you are seeing, “FileNotFoundError: [Errno 2] No such file or directory: ‘/RAW/data_Q2_2017.zip’”, typically means that Python cannot find the file you’re trying to unzip. In your case, you are trying to unzip the file located at “/RAW/data_Q2_2017.zip”. This path is an absolute path, which means Python is looking for the file starting from the root directory (“/”). If your file is located in a subdirectory of your current working directory, you should use a relative path instead of an absolute path. A relative path starts from your current working directory, not from the root directory.
I hope this information helps. Please do let us know if you have any further queries.
Thank you.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
4 | |
4 | |
2 | |
2 | |
2 |
User | Count |
---|---|
17 | |
15 | |
4 | |
4 | |
3 |