Ex4 fails on my local PC environment, while same code passes on Jupyter cloter

The reason might be that your version of libraries generates different random numbers than the numbers generated by the versions used in assignments. Installing all the libraries is not enough, you need the same versions as well. Of course, this is not a simple task as each assignment might use a different version.

There are multiple guides on managing the local environment on this forum like this one and two.

1 Like