Skip to content Skip to sidebar Skip to footer

Parseerror When Running Python Script From Node.js

I am constructing a movie recommender. My recommender engine is written in Python. And I am running it from website through node.js (Express). The python code itselfs work and here

Solution 1:

I figured it out, just added two lines at the beggining of python file to ignore warnings:

import warnings

warnings.filterwarnings('ignore')

Now my output is what was desired.

Post a Comment for "Parseerror When Running Python Script From Node.js"