Heroku deployment error

File “c:\users\lenovo pc.desktop-18oftvc\anaconda3\lib\site-packages\metaflow\sidecar.py”, line 4, in
import fcntl
ModuleNotFoundError: No module named ‘fcntl’

Hey Harish, yeah generally there is some issue of this ‘fcntl’ module with windows.
Pls try running these commands.
What you can do is install importlib with the usual:

pip install importlib

From there use the following:

from importlib import reload

Note that you will need to load your imports as ‘modules’:

from petshop import parrot as parrot

Pls try them out if it works or not.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.