caffe2 icon indicating copy to clipboard operation
caffe2 copied to clipboard

Caffe2 Python import issue with Azure Data Science Virtual Machine (DSVM) for Ubuntu

Open mjohnst opened this issue 9 years ago • 4 comments

I decided to try out the Azure Data Science Virtual Machine for Ubuntu which comes with Caffe2 pre-installed.

When I try to import caffe2.python.core in Python, I receive this error:

In [1]: from caffe2.python import core
WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode.
WARNING:root:Debug message: dynamic module does not define module export function (PyInit_caffe2_pybind11_state_gpu)
Key 140159282863136 already registered.

And the Python shell immediately exists. Any ideas what's causing this?

mjohnst avatar Apr 26 '17 18:04 mjohnst

any solution?

leehomyc avatar May 11 '17 09:05 leehomyc

I think this issue is still going with the latest DSVMs

ilkarman avatar Jul 20 '17 11:07 ilkarman

I am also blocked by this issue. Does this issue only happen in Azure DSVM?

guozhongxin avatar Aug 23 '17 03:08 guozhongxin

Do any of you still have this problem? @Yangqing has made changes to the cmake files lately for better Windows support. Have you tried since then?

pjh5 avatar Feb 17 '18 00:02 pjh5