- I need to run some long running job via Azure Web Job in Python.
- I am facing below error trying to import pandas. File "D:\local\Temp\jobs\triggered\demo2\eveazbwc.iyd\pandas_init_.py", line 13 missing_dependencies.append(f"{dependency}: {e}")
- The Web app (under which I will run the web job) also has python code using pandas, and it does not throw any error.
- I have tried uploading pandas and numpy folder inside the zip file (creating venv, installing packages and zipping Lib/site-packages content), (for 32 bit and 64 bit python) as well as tried appending 'D:/home/site/wwwroot/my_app_name/env/Lib/site-packages' to sys.path.
- I am not facing such issues in importing standard python modules or additional package modules like requests.
- Error is also thrown in trying to import numpy.
- So, I am assuming some kind of version mismatch is happening somewhere.
- Any pointers to solve this will be really useful.
- I have been using Python 3.x, not sure if I should try Python 2.x (virtual env, install package and zip content of Lib/site-packages).
Regards Kunal