Pybot Wiki
Advertisement

I have come across a problem; when I used the <code>python generate_family_file.py command in my terminal, despite the file existing, despite me downloading it and despite me having the folder containing it open, it always returns "No such file or directory". I have checked multiple times and received the same response. Anything I am doing wrong? (I know this talk page might not be the ideal place to ask but I thought it might be important to mention in the article).--Technobliterator 20:50, June 12, 2014 (UTC)


Hey! Are you completely sure that you are typing the script name out exactly has it appears? If you're completely sure you are in the correct folder then the only possible reason you could be getting this error is if you were typing the name wrong.
-- ℂ𝕠𝕣𝕖π•ͺ β„‚π•™π•’π•žπ•“π•–π•£π•€ 00:45, June 13, 2014 (UTC)
Yeah, I'm certain. I have copied this out multiple times in its exact form, both with and without the "$" part. I don't understand why this problem is occurring.--Technobliterator 16:52, June 13, 2014 (UTC)


Alright, there's two generate_family_file.py files included in the compat version. There's the generate_family_file.py and there's generate_family_file.pyc. Make sure you have the .py one not the .pyc one. You may have the .pyc version, if that's the case just let me know and I'll give you a download for the correct one.

-- ℂ𝕠𝕣𝕖π•ͺ β„‚π•™π•’π•žπ•“π•–π•£π•€ 17:58, June 13, 2014 (UTC)

Nope, both produce the same error. It's telling me that the file does not exist, but I checked, and "generate_family_file.py" is right there. It doesn't make sense.--Technobliterator 15:24, June 14, 2014 (UTC)
Oh. It appears I have to change directory to the right folder. Ah, that's where I went wrong.--Technobliterator 21:33, June 14, 2014 (UTC)
Haha, glad to hear you've figured it out! Let me know if you need any more help :)
-- ℂ𝕠𝕣𝕖π•ͺ β„‚π•™π•’π•žπ•“π•–π•£π•€ 22:46, June 14, 2014 (UTC)
Advertisement