Talk:Welch's t-test: Difference between revisions

Content added Content deleted
Line 1,301: Line 1,301:


I've changed the file names, and I'm still getting the same errors :( there are no files in this directory matching num* or sci* --[[User:Hailholyghost|Hailholyghost]] ([[User talk:Hailholyghost|talk]]) 22:03, 16 March 2018 (UTC)
I've changed the file names, and I'm still getting the same errors :( there are no files in this directory matching num* or sci* --[[User:Hailholyghost|Hailholyghost]] ([[User talk:Hailholyghost|talk]]) 22:03, 16 March 2018 (UTC)
:Any chance a directory in the PYTHONPATH variable contains such files? The errors mean Python does not find the functions in modules 'string' and 'numpy' respectively. The file are found (otherwise you would get for instance ''ModuleNotFoundError: No module named 'string'''), but they do not contain what they should. There is another possibility: in Python 2, the 'string' module has a 'join' function, but not in Python 3. It should never happen, but if for some obscure reason you are running the Python 3 executable with a Python 2 library, it's not surprising you get errors. You could do 'python --version' in the console to see what you are actually running. But usually, this could not happen because Python will automatically look for the correct version of its library (may be possible to fool Python by setting some symlinks, or some other weird trick). You may also ask for help on Stack Overflow, where users of both Linux and Python may have a better answer than me (I work on Windows currently, and have not used Python 2 for years). If you try Stack Overflow, you may help by providing some information on your install, in addition to the error message: which Linux distribution, how you installed Python and numpy... [[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 23:27, 16 March 2018 (UTC)