cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Python wheel task to install wheel file but on runtime giving syntax error.

Mitashi12
New Contributor

Getting syntax error, while running python wheel task

SyntaxError: invalid syntax (command--1-3037714297, line 20)
File ~/.ipykernel/5648/command--1-3037714297:20 import python-json-logger ^ SyntaxError: invalid syntax
1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @Mitashi12The error mentions an import statement. Double-check the module you’re trying to import (python-json-logger) and ensure it’s installed and correctly referenced.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!