mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-23 20:23:59 +00:00
catch
This commit is contained in:
@@ -102,6 +102,10 @@ def replace_imports(file):
|
||||
except AttributeError as e:
|
||||
logger.warning(f"Could not find module for {class_name}, {e}")
|
||||
continue
|
||||
except ImportError as e:
|
||||
# Some CentOS OpenSSL issues can cause this to fail
|
||||
logger.warning(f"Failed to load for class {class_name}, {e}")
|
||||
continue
|
||||
|
||||
url = (
|
||||
_BASE_URL
|
||||
|
||||
@@ -1,19 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
yum remove openssl-devel -y
|
||||
yum install openssl11 openssl11-devel -y
|
||||
yum update -y
|
||||
yum install python3.11 -y
|
||||
python3.11 --version
|
||||
|
||||
cd ..
|
||||
python3.11 --version
|
||||
python3.11 -m venv .venv
|
||||
python3 --version
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
python3.11 -m pip install --upgrade pip
|
||||
python3.11 -m pip install -r vercel_requirements.txt
|
||||
python3.11 -c "from requests import HTTPError, Response; print(HTTPError, Response)"
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install -r vercel_requirements.txt
|
||||
cp -r extras/* docs_skeleton/docs
|
||||
cd docs_skeleton
|
||||
nbdoc_build
|
||||
python3.11 generate_api_reference_links.py
|
||||
python3 generate_api_reference_links.py
|
||||
|
||||
Reference in New Issue
Block a user