'Spyder: [Errno 2] No such file or directory

I want to run this code in Github : https://github.com/llazzaro/lsa_python but I don't know how to execute it with nosetests. I have python 2.7.11 and anaconda 4.0.0, I have to run it with Spyder because I need scientific packages so when I put this link: https://github.com/llazzaro/lsa_python on Spyder I get this:

[C:\Anaconda2\python.exe: can't open file 'C:\Users\CLIENT\Desktop\lsa_python-master\sanstitre0.py': [Errno 2] No such file or directory]



Solution 1:[1]

Maybe you need to set your working directory correctly. It probably looks for the path from the current working directory.

You can change it here: enter image description here

Solution 2:[2]

Little late to answer these questions But still if anyone facing the same issue this answer might help

I was facing the same issue. I even reinstall the anaconda. But it's still doing the same issue. Then I figure out something very silly.

First of all, you have to set your working directory

After that, you have to hit the Run button. I was pressing ctrl + enter But after setting the working directory for the first time you have to hit the run button then it will work

Hope it will help.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 arne.z
Solution 2 sayalok