Getting Python error “from: can't read /var/mail/Bio”

后端 未结 6 1958
长发绾君心
长发绾君心 2020-12-24 11:42

I am running a (bio)python script which results in the following error:

from: can\'t read /var/mail/Bio

seeing as my script doesn\'t have a

6条回答
  •  感情败类
    2020-12-24 11:50

    Same here. I had this error when running an import command from terminal without activating python3 shell through manage.py in a django project (yes, I am a newbie yet). As one must expect, activating shell allowed the command to be interpreted correctly.

    ./manage.py shell
    

    and only then

    >>> from django.contrib.sites.models import Site
    

提交回复
热议问题