Giter Site home page Giter Site logo

Comments (9)

Cysu avatar Cysu commented on May 25, 2024

Could you please check the output of the following commands?

ldd caffe/build/lib/libcaffe.so | grep proto
which protoc
protoc --version

from person_search.

milanyummy avatar milanyummy commented on May 25, 2024

Good afternoon. Here are the response of these commands:
gym@amax:/Documents/person_search_v2$ ldd caffe/build/lib/libcaffe.so |grep proto
libprotobuf.so.8 => /usr/lib/x86_64-linux-gnu/libprotobuf.so.8 (0x00007f88e1bbe000)
gym@amax:
/Documents/person_search_v2$ which protoc
/home/gym/anaconda2/bin/protoc
gym@amax:~/Documents/person_search_v2$ protoc --version
libprotoc 3.0.0

from person_search.

Cysu avatar Cysu commented on May 25, 2024

It seems that the system's protobuf conflicts with anaconda's. Could you please uninstall anaconda's protobuf by

conda uninstall protobuf
pip install protobuf

After this, we should expect which protoc to point to some system binary like /usr/bin/protoc.

And then remove the build directory and try to compile the caffe again.

from person_search.

milanyummy avatar milanyummy commented on May 25, 2024

I have uninstallde anaconda's protobuf and used the pip to install the protobuf.
But now which protoc still points to /home/gym/anaconda2/bin/protoc

from person_search.

milanyummy avatar milanyummy commented on May 25, 2024

算了,还是用中文好了。
之前我已经运行
conda uninstall protobuf
pip install protobuf
但是还是没有变化,which protoc 依然指向 /home/gym/anaconda2/bin/protoc

from person_search.

Cysu avatar Cysu commented on May 25, 2024

Do you have multiple versions of anaconda? Could you please check the output of which conda?

How about running only conda uninstall protobuf? I think this command should delete /home/gym/anaconda2/bin/protoc.

from person_search.

milanyummy avatar milanyummy commented on May 25, 2024

Hello!
The output of which conda is /home/gym/anaconda2/bin/conda.
And I ran conda uninstall protobuf but /home/gym/anaconda2/bin/protoc still exists.

from person_search.

Cysu avatar Cysu commented on May 25, 2024

That's weird. I have just tried with my computer and it worked. Could you please try to update anaconda by conda update --all?

from person_search.

Cysu avatar Cysu commented on May 25, 2024

@milanyummy Any luck on this issue?

from person_search.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.