You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good afternoon,
I would like your help to resolve a problem regarding the mrpt installation.
When importing the libraries below, I received information that mrpt was not loaded.
"""
import pandas as pd
import numpy as np
import vectordb
import requests
import re
from langchain.text_splitter import MarkdownHeaderTextSplitter
"""
When running pip or conda install, I received the following error:
(base) PS C:\Users\Marcos> pip install git+https://github.com/vioshyvo/mrpt/
Collecting git+https://github.com/vioshyvo/mrpt/
Cloning https://github.com/vioshyvo/mrpt/ to c:\users\marcos\appdata\local\temp\pip-req-build-vi6wzb7j
Running command git clone --filter=blob:none --quiet https://github.com/vioshyvo/mrpt/ 'C:\Users\Marcos\AppData\Local\Temp\pip-req-build-vi6wzb7j'
Resolved https://github.com/vioshyvo/mrpt/ to commit 88cc6f4
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.10.0 in d:\anaconda3\lib\site-packages (from mrpt==1.0) (1.26.3)
Building wheels for collected packages: mrpt
Building wheel for mrpt (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
D:\Anaconda3\Lib\site-packages\setuptools_init_.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try pip install --use-pep517.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
WARNING: '.' not a valid package name; please use only .-separated package names in setup.py
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
copying mrpt.py -> build\lib.win-amd64-cpython-311
running build_ext
building 'mrptlib' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mrpt
Running setup.py clean for mrpt
Failed to build mrpt
ERROR: Could not build wheels for mrpt, which is required to install pyproject.toml-based projects
=======================================================================
I installed 6 gb of vscode 2022 also without success.
I hope your help
pip install setuptools
Requirement already satisfied: setuptools in d:\anaconda3\lib\site-packages (68.2.2)
pip install wheel
Requirement already satisfied: wheel in d:\anaconda3\lib\site-packages (0.41.2)
Good afternoon,
I would like your help to resolve a problem regarding the mrpt installation.
When importing the libraries below, I received information that mrpt was not loaded.
"""
import pandas as pd
import numpy as np
import vectordb
import requests
import re
from langchain.text_splitter import MarkdownHeaderTextSplitter
"""
Warning: mprt could not be imported. Install with 'pip install git+https://github.com/vioshyvo/mrpt/'. Falling back to Faiss.
When running pip or conda install, I received the following error:
(base) PS C:\Users\Marcos> pip install git+https://github.com/vioshyvo/mrpt/
Collecting git+https://github.com/vioshyvo/mrpt/
Cloning https://github.com/vioshyvo/mrpt/ to c:\users\marcos\appdata\local\temp\pip-req-build-vi6wzb7j
Running command git clone --filter=blob:none --quiet https://github.com/vioshyvo/mrpt/ 'C:\Users\Marcos\AppData\Local\Temp\pip-req-build-vi6wzb7j'
Resolved https://github.com/vioshyvo/mrpt/ to commit 88cc6f4
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.10.0 in d:\anaconda3\lib\site-packages (from mrpt==1.0) (1.26.3)
Building wheels for collected packages: mrpt
Building wheel for mrpt (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
D:\Anaconda3\Lib\site-packages\setuptools_init_.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try
pip install --use-pep517
.********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
WARNING: '.' not a valid package name; please use only .-separated package names in setup.py
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
copying mrpt.py -> build\lib.win-amd64-cpython-311
running build_ext
building 'mrptlib' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mrpt
Running setup.py clean for mrpt
Failed to build mrpt
ERROR: Could not build wheels for mrpt, which is required to install pyproject.toml-based projects
=======================================================================
I installed 6 gb of vscode 2022 also without success.
I hope your help
pip install setuptools
Requirement already satisfied: setuptools in d:\anaconda3\lib\site-packages (68.2.2)
pip install wheel
Requirement already satisfied: wheel in d:\anaconda3\lib\site-packages (0.41.2)
=====================================================================
I have tried to install another conda ambiente without success:
conda create -n ragteste python=3.11.5 setuptools==68.2.2
same error
The text was updated successfully, but these errors were encountered: