Open fsmroy opened 2 months ago
您好: 感謝您提供的範例,目前嘗試執行 在執行載入pdf時發生RecursionError: maximum recursion depth exceeded while calling a Python object 不知道是我漏掉了什麼步驟嗎? 感謝協助。
trace如下:
File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
您好: 感謝您提供的範例,目前嘗試執行 在執行載入pdf時發生RecursionError: maximum recursion depth exceeded while calling a Python object 不知道是我漏掉了什麼步驟嗎? 感謝協助。
trace如下:
File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 101, in _construction_repr return _scalar_str(dtype, short=short) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 144, in _scalar_str elif np.issubdtype(dtype, np.number): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core\numerictypes.py", line 417, in issubdtype arg1 = dtype(arg1).type ^^^^^^^^^^^ File "D:\someWorkForVSC\RAG_LangChain_streamlit-main\env\Lib\site-packages\numpy\core_dtype.py", line 47, in repr arg_str = _construction_repr(dtype, include_align=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^