01MemoryOS环境搭建 python3.10
-
获取all-MiniLM-L6-v2.zip
https://public.ukp.informatik.tu-darmstadt.de/reimers/sentence-transformers/v0.2/ -
获取python3.10
wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz -
获取openssl
-
openssl3.0.10
#编译openssl
./config --prefix=/usr/local/openssl enable-shared -fPIC
make -j8 && make install
#编译python3.10
./configure -prefix=/usr/local/python_3.10 --with-zlib=/usr/include/ --with-openssl-rpath=auto --with-openssl=/usr/local/openssl OPENSSL_LDFLAGS=-L/usr/local/openssl OPENSSL_LIBS=-l/usr/local/openssl/ssl OPENSSL_INCLUDES=-I/usr/local/openssl
make -j8 && make install ln -sf /usr/local/python_3.10/bin/python3.10 /usr/bin/python3.10
ln -sf /usr/local/python_3.10/bin/pip3.10 /usr/bin/pip3.10
https://github.com/BAI-LAB/MemoryOS/blob/main/readme_cn.md
pip install -r requirements.txt