OpenCue
OpenCue copied to clipboard
unable to run cuegui and cuesubmit and cueadmin
hi when run this commands in venv CUEBOT_HOSTS=$CUEBOT_HOSTNAME_OR_IP cuegui CUEBOT_HOSTS=$CUEBOT_HOSTNAME_OR_IP cuesubmit show this ModuleNotFoundError ModuleNotFoundError: No module named 'opencue' and sometime show AttributeError: module 'opencue' has no attribute 'api' and when run this command python ./cueadmin/ -server localhost -ls show this /root/venv/bin/python: can't find 'main' module in './cueadmin/'
hi @mrkataei
ModuleNotFoundError
would indicate that the pycue
package was not successfully installed into your virtual enviroment.
Can you have a look inside of the venv for venv/lib/python2.7/site-packages/opencue
(the python version will depend on your system) and see if exists.
there is not any opencue in this directory
but I was successfully installed pycue into venv
there is some error too like
AttributeError: module 'opencue' has no attribute 'api'
and for cueadmin
/root/venv/bin/python: can't find 'main' module in './cueadmin/'
the pycue
package holds the opencue
module.
the api
error might indicate there is a opencue.py
file somewhere locally that it it picking up.
which version of python are you running?
3.6
Hi @mrkataei I think the issue is with the command you're running, python ./cueadmin/
will try to execute the toplevel cueadmin
dir however the module is actually one level deeper ./cueadmin/cueadmin
.
I think the actual command you want to run is:
cueadmin -server localhost -ls