Code Monkey home page Code Monkey logo

Comments (8)

philkr avatar philkr commented on August 22, 2024

That is a bit odd. How did you install python? what do you get if you type /usr/bin/python3 --version.

from lpo.

cuatristapr avatar cuatristapr commented on August 22, 2024

I get Python 3.4.0. I just ran cmake .. -DCMake etc etc (without the path to datasets flag because I don't need it at all) and it found the python libraries without any problem, except for NumPy. Now it's throwing this:

-- Found PythonInterp: /usr/bin/python3 (found version "3.4")
CMake Error at cmake/FindNumPy.cmake:61 (message):
NumPy import failure:

Traceback (most recent call last):

File "<string>", line 1, in <module>

ImportError: No module named 'numpy'

Call Stack (most recent call first):

lib/python/CMakeLists.txt:12 (find_package)

I think it's because of the NumPy support for Python 3.x. I'll make sure it's installing the dependencies on the correct Python version.

from lpo.

cuatristapr avatar cuatristapr commented on August 22, 2024

Fixed the NumPy issue with:
sudo apt-get install python3-numpy

from lpo.

cuatristapr avatar cuatristapr commented on August 22, 2024

make[2]: *** [lib/imgproc/CMakeFiles/imgproc.dir/filter.cpp.o] Error 1
make[1]: *** [lib/imgproc/CMakeFiles/imgproc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/ubuntu/lpo/lib/imgproc/color.cpp:33:23: fatal error: emmintrin.h: No such file or directory
#include <emmintrin.h>

...I'm recieving this output when I run make -j9. That's like about 40% of the compilation process. Just for background information, I'm running this on a Jetson TK1 embedded-computer system. It's an ARM-based architecture.

from lpo.

philkr avatar philkr commented on August 22, 2024

Hmm that's the SSE parts of the code, which doesn't work on ARM. You can comment it out and try to use the non-SIMD code. There should be a non-SIMD implementation of every piece of code.

from lpo.

cuatristapr avatar cuatristapr commented on August 22, 2024

Honestly, I have no idea where that is or what that is. Any help will be appreciated. And excuse me for my low-level knowledge about this.

from lpo.

siddharthgee avatar siddharthgee commented on August 22, 2024

Did you install python via Anaconda?

from lpo.

cuatristapr avatar cuatristapr commented on August 22, 2024

@siddharthgee Originally, yes. I uninstalled all the dependencies of anaconda and python, and later installed python 3 through ubuntu command line.

from lpo.

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.