Giter Site home page Giter Site logo

Comments (5)

e-johnstonn avatar e-johnstonn commented on July 20, 2024

Try conda install scikit-learn==1.2.2

from briefgpt.

cyrsbel avatar cyrsbel commented on July 20, 2024

Thanks! After trying that:

AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import)
Traceback:
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)
File "/Users/soly/Code/BriefGPT/main.py", line 6, in <module>
    from chat_utils import create_and_save_directory_embeddings
File "/Users/soly/Code/BriefGPT/chat_utils.py", line 3, in <module>
    from langchain.text_splitter import RecursiveCharacterTextSplitter
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/langchain/__init__.py", line 6, in <module>
    from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/langchain/agents/__init__.py", line 2, in <module>
    from langchain.agents.agent import (
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/langchain/agents/agent.py", line 16, in <module>
    from langchain.agents.tools import InvalidTool
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/langchain/agents/tools.py", line 8, in <module>
    from langchain.tools.base import BaseTool, Tool, tool
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/langchain/tools/__init__.py", line 10, in <module>
    from langchain.tools.bing_search.tool import BingSearchResults, BingSearchRun
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/langchain/tools/bing_search/__init__.py", line 3, in <module>
    from langchain.tools.bing_search.tool import BingSearchResults, BingSearchRun
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/langchain/tools/bing_search/tool.py", line 10, in <module>
    from langchain.utilities.bing_search import BingSearchAPIWrapper
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/langchain/utilities/__init__.py", line 2, in <module>
    from langchain.requests import TextRequestsWrapper
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/langchain/requests.py", line 5, in <module>
    import aiohttp
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/aiohttp/__init__.py", line 6, in <module>
    from .client import (
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/aiohttp/client.py", line 59, in <module>
    from .client_reqrep import (
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 72, in <module>
    import charset_normalizer as chardet  # type: ignore[no-redef]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/charset_normalizer/__init__.py", line 23, in <module>
    from charset_normalizer.api import from_fp, from_path, from_bytes, normalize
File "/opt/homebrew/Caskroom/miniconda/base/envs/briefgpt/lib/python3.11/site-packages/charset_normalizer/api.py", line 10, in <module>
    from charset_normalizer.md import mess_ratio

from briefgpt.

e-johnstonn avatar e-johnstonn commented on July 20, 2024

It seems like the requirements weren't installed correctly - just to clarify, you removed the pywin32 dependency from the requirements.txt file, then ran conda install --file requirements.txt again?

from briefgpt.

cyrsbel avatar cyrsbel commented on July 20, 2024

Reinstalling the requirements did the trick, thanks!

from briefgpt.

e-johnstonn avatar e-johnstonn commented on July 20, 2024

Of course, if you encounter any other bugs let me know :)

from briefgpt.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.