Getting error while running pyspark project using Docker in windows 10:
env: 'python3\r': No such file or directory
Python file:
#!/usr/bin/env python3
Tried the following ways:
- unix2dos - Converted the file in dos format using a linux box and downloaded the file from linux box to windows local machine.
- Sublime Text3 - Saved the file as a python file and then tried running it, but same error.
Reference: