Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

circular import when using caffee2 Pytorch #99

Open
PrestigeDevop opened this issue Aug 13, 2022 · 0 comments
Open

circular import when using caffee2 Pytorch #99

PrestigeDevop opened this issue Aug 13, 2022 · 0 comments

Comments

@PrestigeDevop
Copy link

hello , there's a bug in Anaconda packages , I installed cv2 using this command

conda install -c conda-forge opencv

then it prompt me to install custom downgraded version of anaconda by running the following command

WARNING: A newer version of conda exists. <==
  current version: 4.12.0
  latest version: 4.13.0

Please update conda by running
    $ conda update -n base -c defaults conda

when I use try to install this package by running Python init.py

cannot import name 'metanet_pb2' from partially initialized module 'caffe2.proto' (most likely due to a circular import) (D:\Anaconda\lib\site-packages\caffe2\proto\__init__.py)

Simply I want to use an old api of coffee2 and Detectron for an old project .

I think this is due to being Caffee2 integrated into Pytorch .
how to fix this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant