Skip to content
Advertisement

Python script works on linux but not on windows, I’m really desperate

Please help me, I’m really desperate and I don’t know what to do.

So we had that assignment in university to program dijkstra’s algorithm in python.

JavaScript

I did it on my laptop (it’s running debian) and it worked perfectly fine, the script is doing what it’s supposed to do and gives me the correct output.

When I run it, it says:

JavaScript

But here’s the problem: I got it due in 3 hours and I was going to upload it now, and I tried running it on my desktop pc (windows 10) just to make sure that I got the correct file.

But it’s acting up and it spits out an error I have absolutely no idea what it is because I’m just a beginner to python and this is my first term working with it…

Please help me! I’m trying to figure out why is it not working on windows but it’s beyond my knowledge.

It works 100% fine on linux though…

Please help me, I really don’t want to fail the module even though I did all the work…

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement