I have created a very simple guest worker that launches and runs correctly from a console command line. If I try running the same code within Pycharm, imports are not found.
I am running pypy in a virtual environment. If instead of using a guest, I use a native container, Pycharm has no problems in importing.
It is currently complaining about not finding zope from
Here is the guest portion of my config file:
{
"type": "guest",
"executable": "pypy",
"arguments": ["test_guest.py"],
"options": {
"env": {
"inherit":["PYTHONPATH"]
},
"workdir": "../test_guest",
"watch": {
"directories": ["../test_guest"],
"action": "restart"
}
}
}
Any ideas on how to correct the problem? I have set PYTHONPATH in Pycharm and have set the virtual environment correctly in Pycharm as well.