I am running a Plone instance using the VM Virtual Box. After starting the instance, when I type the import command in the machine: "from plone import api", I get an error: from can't read /var/mail/plone.
I get the same error even if I type: " #!/usr/bin/env python" before the import command
when I rather type python, and then the command : "from plone import api", I get an error: No module named plone.
what should I do?
If you start up the zope site via
bin/instance debugit's not clear whatplonesite should be used, since there can be more than one.So you first need to define what plone site
plone.apishould use. This is done by pointing the site manager to your plone site.That's it.