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

后端 未结 6 1954
长发绾君心
长发绾君心 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:51

    I ran into a similar error

    "from: can't read /var/mail/django.test.utils"

    when trying to run a command

    >>> from django.test.utils import setup_test_environment
    >>> setup_test_environment()
    

    in the tutorial at https://docs.djangoproject.com/en/1.8/intro/tutorial05/

    after reading the answer by Tamás I realized I was not trying this command in the python shell but in the termnial (this can happen to those new to linux)

    solution was to first enter in the python shell with the command python and when you get these >>> then run any python commands

提交回复
热议问题