Coder Social home page Coder Social logo

Comments (8)

Serinkaushik avatar Serinkaushik commented on June 11, 2024 1

Thank You! The problem is resolved, I Switched my WSL from 18.04 to 22.04 and followed all your steps.

image

from redisearch.

nafraf avatar nafraf commented on June 11, 2024

Hi @Serinkaushik, please try the following to install the dependencies in your system.
The bash script will add some repositories and will update gcc and python alternatives.

cd .install
bash ubuntu_18.04.sh
cd ..
make

from redisearch.

Serinkaushik avatar Serinkaushik commented on June 11, 2024

Hello @nafraf! Bunch of dependencies were installed after the bash script even though encountering the same error.

image

from redisearch.

nafraf avatar nafraf commented on June 11, 2024

Could you check if you have the submodules? To download them:
git submodule update --init --progress --recursive

from redisearch.

Serinkaushik avatar Serinkaushik commented on June 11, 2024

Sorry to disturb you @nafraf, Now make cmd is working but the next step make setup is not working and it is throwing up an error as ModuleNotFoundError: No module named 'apt_pkg' . Tried every other solution available on the web but nothing worked. Also attaching the screenshot of it.

image

from redisearch.

nafraf avatar nafraf commented on June 11, 2024

Hi @Serinkaushik! If the make cmd worked without errors, then you can find the module in ./bin/linux-x64-release/search/redisearch.so
And you can start redis server loading the module:
redis-server --loadmodule ./bin/linux-x64-release/search/redisearch.so

from redisearch.

Serinkaushik avatar Serinkaushik commented on June 11, 2024

It says module failed to load.
image

But when I navigate I am able to find redisearch.so
image

from redisearch.

nafraf avatar nafraf commented on June 11, 2024

The redis-server you are using is old, please try to use a more recent version 7.x or 6.x.
BTW, if you don't need to compile/use the module from latest source code, you can also try the module running Redis Stack on docker

from redisearch.

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.