mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-25 01:16:55 +00:00
311
This commit is contained in:
@@ -1,12 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
yum remove openssl-devel -y
|
||||
yum install gcc openssl-devel bzip2-devel libffi-devel zlib-devel -y
|
||||
|
||||
# Install python 3.11 to connect with openSSL 1.1.1
|
||||
wget https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgz
|
||||
tar xzf Python-3.11.4.tgz
|
||||
cd Python-3.11.4
|
||||
sudo ./configure
|
||||
sudo make altinstall
|
||||
echo "Python Version"
|
||||
python3.11 --version
|
||||
cd ..
|
||||
python3 --version
|
||||
python3 -m venv .venv
|
||||
|
||||
# Install nbdev and generate docs
|
||||
cd ..
|
||||
python3.11 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install -r vercel_requirements.txt
|
||||
python3.11 -m pip install --upgrade pip
|
||||
python3.11 -m pip install -r vercel_requirements.txt
|
||||
cp -r extras/* docs_skeleton/docs
|
||||
cd docs_skeleton
|
||||
nbdoc_build
|
||||
python3 generate_api_reference_links.py
|
||||
python3.11 generate_api_reference_links.py
|
||||
|
||||
Reference in New Issue
Block a user