Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There's definitely something fishy going on if it can't find module <code>time</code> - as far as I'm aware that module is actually built in to the Python binary itself so it's not as if there's a <code>time.py</code> or <code>time.so</code> file which could have been deleted. It looks as if either Python in your virtualenv has become broken somehow, or there's something about the environment that's messing it up.</p> <p>Setting a dubious <code>PYTHONHOME</code> variable can cause Python all sorts of trouble as it can't find necessary files, but I think in this case it's the fact that the virtualenv has become broken. In fact, I just tried an old virtualenv on PythonAnywhere myself and got the same issue. It looks as if the symlinks that virtualenv creates have become broken as the result of an upgrade, possibly the recent upgrade from Debian to Ubuntu.</p> <p>If at all possible I would simply re-create a new virtualenv and run things from there. In principle you could use <code>pip</code> to write a requirements file so you can create a new virtualenv with exactly the same versions of the code, but the problem is that you can't run <code>pip</code> to create this file, QED. There's probably a clever way to use the system Python to run <code>pip</code> and get the dependencies from your virtualenv, but it's going to be tricky - it's not designed to work that way.</p> <p>Alternatively you could contact the PA devs - I know that some users did have problems with their virtualenvs around the time of the upgrade and they may have cunning scripts which can fix the problem. Even if you just build a new virtualenv and use it, I would contact them and make sure they know about this issue so they're aware of it for future upgrades.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload