szczyglis-dev / py-gpt

Desktop AI Assistant powered by GPT-4, GPT-4 Vision, GPT-3.5, DALL-E 3, Langchain, Llama-index, chat, vision, voice control, image generation and analysis, autonomous agents, code and command execution, file upload and download, speech synthesis and recognition, access to Web, memory, prompt presets, plugins, assistants & more. Linux, Windows, Mac.
https://pygpt.net
MIT License
449 stars 92 forks source link

Mac Compilation #16

Closed juato4 closed 2 months ago

juato4 commented 5 months ago

I cant to it work on mac m1.

szczyglis-dev commented 5 months ago

Hi, at this moment, there isn't a separate, compiled version for Mac (these are only for Linux and Windows, plus there is a Snap version for Linux). The only way on Mac is installing it from source code from the repository or by installing it using PyPI:

pip install pygpt-net

PyGPT uses PySide6 as its GUI, which is supported on Python for Mac: https://www.pythonguis.com/installation/install-pyside6-mac/.

juato4 commented 5 months ago

Thanks.

I am facing very issues on my entorn.

El 28 ene 2024, a las 11:41, Marcin Szczygliński @.***> escribió:

Hi, at this moment, there isn't a separate, compiled version for Mac (these are only for Linux and Windows, plus there is a Snap version for Linux). The only way on Mac is installing it from source code from the repository or by installing it using PyPI:

pip install pygpt-net

PyGPT uses PySide6 as its GUI, which is supported on Python for Mac: https://www.pythonguis.com/installation/install-pyside6-mac/.

— Reply to this email directly, view it on GitHub https://github.com/szczyglis-dev/py-gpt/issues/16#issuecomment-1913619775, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRKH42UR5CDIHBKOGFGFIDYQZPQVAVCNFSM6AAAAABCN43GYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGYYTSNZXGU. You are receiving this because you authored the thread.

szczyglis-dev commented 5 months ago

I personally don't use a Mac, but could you provide more details about these issues? How exactly are you attempting to launch the app and what exactly is happening? It would be best if you could include all the logs that appear.

juato4 commented 5 months ago

@.* ~ % pip install pygpt_net Collecting pygpt_net Downloading pygpt_net-2.0.130-py3-none-any.whl.metadata (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.8/90.8 kB 2.9 MB/s eta 0:00:00 Requirement already satisfied: azure-cognitiveservices-speech>=1.27.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (1.34.1) Requirement already satisfied: beautifulsoup4>=4.12.2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (4.12.3) Collecting chromadb>=0.4.22 (from pygpt_net) Downloading chromadb-0.4.22-py3-none-any.whl.metadata (7.3 kB) Requirement already satisfied: croniter>=2.0.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (2.0.1) Requirement already satisfied: docker>=7.0.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (7.0.0) Collecting docx2txt>=0.8 (from pygpt_net) Downloading docx2txt-0.8.tar.gz (2.8 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting EbookLib>=0.18 (from pygpt_net) Downloading EbookLib-0.18.tar.gz (115 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.5/115.5 kB 12.7 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: langchain>=0.1.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (0.1.4) Requirement already satisfied: langchain-community>=0.0.11 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (0.0.16) Requirement already satisfied: langchain-experimental>=0.0.49 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (0.0.49) Requirement already satisfied: langchain-openai>=0.0.2.post1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (0.0.5) INFO: pip is looking at multiple versions of pygpt-net to determine which version is compatible with other requirements. This could take a while. Collecting pygpt_net Downloading pygpt_net-2.0.129-py3-none-any.whl.metadata (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 8.2 MB/s eta 0:00:00 Downloading pygpt_net-2.0.128-py3-none-any.whl.metadata (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.1/90.1 kB 8.4 MB/s eta 0:00:00 Downloading pygpt_net-2.0.127-py3-none-any.whl.metadata (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.4/94.4 kB 10.6 MB/s eta 0:00:00 Downloading pygpt_net-2.0.126-py3-none-any.whl.metadata (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.5/93.5 kB 8.3 MB/s eta 0:00:00 Downloading pygpt_net-2.0.125-py3-none-any.whl.metadata (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.2/93.2 kB 8.4 MB/s eta 0:00:00 Downloading pygpt_net-2.0.124-py3-none-any.whl.metadata (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.1/93.1 kB 8.2 MB/s eta 0:00:00 Downloading pygpt_net-2.0.123-py3-none-any.whl.metadata (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.8/92.8 kB 10.5 MB/s eta 0:00:00 INFO: pip is still looking at multiple versions of pygpt-net to determine which version is compatible with other requirements. This could take a while. Downloading pygpt_net-2.0.122-py3-none-any.whl.metadata (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.6/92.6 kB 8.7 MB/s eta 0:00:00 Downloading pygpt_net-2.0.121-py3-none-any.whl.metadata (89 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.5/89.5 kB 9.8 MB/s eta 0:00:00 Downloading pygpt_net-2.0.120-py3-none-any.whl.metadata (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.0/89.0 kB 9.9 MB/s eta 0:00:00 Downloading pygpt_net-2.0.119-py3-none-any.whl.metadata (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.8/88.8 kB 9.1 MB/s eta 0:00:00 Downloading pygpt_net-2.0.118-py3-none-any.whl.metadata (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.6/88.6 kB 11.3 MB/s eta 0:00:00 INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C. Downloading pygpt_net-2.0.117-py3-none-any.whl.metadata (87 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.3/87.3 kB 8.2 MB/s eta 0:00:00 Downloading pygpt_net-2.0.116-py3-none-any.whl.metadata (81 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.9/81.9 kB 7.9 MB/s eta 0:00:00 Downloading pygpt_net-2.0.115-py3-none-any.whl.metadata (81 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.0/81.0 kB 8.6 MB/s eta 0:00:00 Downloading pygpt_net-2.0.114-py3-none-any.whl.metadata (80 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 kB 9.0 MB/s eta 0:00:00 Downloading pygpt_net-2.0.113-py3-none-any.whl.metadata (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.0/76.0 kB 7.3 MB/s eta 0:00:00 Downloading pygpt_net-2.0.112-py3-none-any.whl.metadata (79 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.6/79.6 kB 9.0 MB/s eta 0:00:00 Downloading pygpt_net-2.0.111-py3-none-any.whl.metadata (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 7.5 MB/s eta 0:00:00 Downloading pygpt_net-2.0.110-py3-none-any.whl.metadata (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.0/78.0 kB 7.2 MB/s eta 0:00:00 Downloading pygpt_net-2.0.109-py3-none-any.whl.metadata (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.7/77.7 kB 5.0 MB/s eta 0:00:00 Downloading pygpt_net-2.0.108-py3-none-any.whl.metadata (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.2/77.2 kB 6.0 MB/s eta 0:00:00 Downloading pygpt_net-2.0.107-py3-none-any.whl.metadata (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.5/76.5 kB 6.8 MB/s eta 0:00:00 Downloading pygpt_net-2.0.106-py3-none-any.whl.metadata (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.3/76.3 kB 7.9 MB/s eta 0:00:00 Downloading pygpt_net-2.0.105-py3-none-any.whl.metadata (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.2/76.2 kB 6.8 MB/s eta 0:00:00 Downloading pygpt_net-2.0.104-py3-none-any.whl.metadata (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.7/75.7 kB 7.4 MB/s eta 0:00:00 Downloading pygpt_net-2.0.103-py3-none-any.whl.metadata (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.3/75.3 kB 7.5 MB/s eta 0:00:00 Downloading pygpt_net-2.0.102-py3-none-any.whl.metadata (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.1/75.1 kB 6.7 MB/s eta 0:00:00 Downloading pygpt_net-2.0.101-py3-none-any.whl.metadata (74 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.8/74.8 kB 8.2 MB/s eta 0:00:00 Downloading pygpt_net-2.0.100-py3-none-any.whl.metadata (74 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.8/74.8 kB 7.0 MB/s eta 0:00:00 Downloading pygpt_net-2.0.99-py3-none-any.whl.metadata (74 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.1/74.1 kB 8.4 MB/s eta 0:00:00 Downloading pygpt_net-2.0.98-py3-none-any.whl.metadata (73 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.8/73.8 kB 7.3 MB/s eta 0:00:00 Downloading pygpt_net-2.0.97-py3-none-any.whl.metadata (73 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.8/73.8 kB 7.9 MB/s eta 0:00:00 Downloading pygpt_net-2.0.96-py3-none-any.whl.metadata (73 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.8/73.8 kB 6.7 MB/s eta 0:00:00 Downloading pygpt_net-2.0.95-py3-none-any.whl.metadata (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.8/75.8 kB 9.1 MB/s eta 0:00:00 Requirement already satisfied: Markdown>=3.5.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (3.5.2) Requirement already satisfied: openai>=1.3.7 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (1.10.0) Requirement already satisfied: opencv-python>=4.8.1.78 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (4.9.0.80) Requirement already satisfied: packaging>=23.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (23.2) Requirement already satisfied: PyAudio>=0.2.14 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (0.2.14) Requirement already satisfied: pygame>=2.5.2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (2.5.2) Requirement already satisfied: pyinstaller>=5.9.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (6.3.0) Requirement already satisfied: PySide6>=6.4.2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (6.6.1) Requirement already satisfied: PySide6-Addons>=6.4.2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (6.6.1) Requirement already satisfied: PySide6-Essentials>=6.4.2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (6.6.1) Requirement already satisfied: qt-material>=2.14 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (2.14) Requirement already satisfied: SpeechRecognition>=3.10.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (3.10.1) Requirement already satisfied: show-in-file-manager>=1.1.4 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (1.1.4) Requirement already satisfied: SQLAlchemy>=2.0.23 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (2.0.25) Requirement already satisfied: tiktoken>=0.3.3 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (0.5.2) Requirement already satisfied: wikipedia>=1.4.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pygpt_net) (1.4.0) Requirement already satisfied: soupsieve>1.2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from beautifulsoup4>=4.12.2->pygpt_net) (2.5) Requirement already satisfied: python-dateutil in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from croniter>=2.0.1->pygpt_net) (2.8.2) Requirement already satisfied: pytz>2021.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from croniter>=2.0.1->pygpt_net) (2023.4) Requirement already satisfied: requests>=2.26.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from docker>=7.0.0->pygpt_net) (2.31.0) Requirement already satisfied: urllib3>=1.26.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from docker>=7.0.0->pygpt_net) (2.1.0) Requirement already satisfied: PyYAML>=5.3 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from langchain>=0.1.0->pygpt_net) (6.0.1) Requirement already satisfied: aiohttp<4.0.0,>=3.8.3 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from langchain>=0.1.0->pygpt_net) (3.9.2) Requirement already satisfied: dataclasses-json<0.7,>=0.5.7 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from langchain>=0.1.0->pygpt_net) (0.6.3) Requirement already satisfied: jsonpatch<2.0,>=1.33 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from langchain>=0.1.0->pygpt_net) (1.33) Requirement already satisfied: langchain-core<0.2,>=0.1.16 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from langchain>=0.1.0->pygpt_net) (0.1.16) Requirement already satisfied: langsmith<0.1,>=0.0.83 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from langchain>=0.1.0->pygpt_net) (0.0.84) Requirement already satisfied: numpy<2,>=1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from langchain>=0.1.0->pygpt_net) (1.26.3) Requirement already satisfied: pydantic<3,>=1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from langchain>=0.1.0->pygpt_net) (2.6.0) Requirement already satisfied: tenacity<9.0.0,>=8.1.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from langchain>=0.1.0->pygpt_net) (8.2.3) Requirement already satisfied: anyio<5,>=3.5.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from openai>=1.3.7->pygpt_net) (4.2.0) Requirement already satisfied: distro<2,>=1.7.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from openai>=1.3.7->pygpt_net) (1.9.0) Requirement already satisfied: httpx<1,>=0.23.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from openai>=1.3.7->pygpt_net) (0.26.0) Requirement already satisfied: sniffio in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from openai>=1.3.7->pygpt_net) (1.3.0) Requirement already satisfied: tqdm>4 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from openai>=1.3.7->pygpt_net) (4.66.1) Requirement already satisfied: typing-extensions<5,>=4.7 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from openai>=1.3.7->pygpt_net) (4.9.0) Requirement already satisfied: setuptools>=42.0.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pyinstaller>=5.9.0->pygpt_net) (69.0.3) Requirement already satisfied: altgraph in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pyinstaller>=5.9.0->pygpt_net) (0.17.4) Requirement already satisfied: pyinstaller-hooks-contrib>=2021.4 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pyinstaller>=5.9.0->pygpt_net) (2024.0) Requirement already satisfied: macholib>=1.8 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pyinstaller>=5.9.0->pygpt_net) (1.16.3) Requirement already satisfied: shiboken6==6.6.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from PySide6>=6.4.2->pygpt_net) (6.6.1) Requirement already satisfied: Jinja2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from qt-material>=2.14->pygpt_net) (3.1.3) Requirement already satisfied: regex>=2022.1.18 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from tiktoken>=0.3.3->pygpt_net) (2023.12.25) Requirement already satisfied: aiosignal>=1.1.2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain>=0.1.0->pygpt_net) (1.3.1) Requirement already satisfied: attrs>=17.3.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain>=0.1.0->pygpt_net) (23.2.0) Requirement already satisfied: frozenlist>=1.1.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain>=0.1.0->pygpt_net) (1.4.1) Requirement already satisfied: multidict<7.0,>=4.5 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain>=0.1.0->pygpt_net) (6.0.4) Requirement already satisfied: yarl<2.0,>=1.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain>=0.1.0->pygpt_net) (1.9.4) Requirement already satisfied: idna>=2.8 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from anyio<5,>=3.5.0->openai>=1.3.7->pygpt_net) (3.6) Requirement already satisfied: marshmallow<4.0.0,>=3.18.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from dataclasses-json<0.7,>=0.5.7->langchain>=0.1.0->pygpt_net) (3.20.2) Requirement already satisfied: typing-inspect<1,>=0.4.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from dataclasses-json<0.7,>=0.5.7->langchain>=0.1.0->pygpt_net) (0.9.0) Requirement already satisfied: certifi in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from httpx<1,>=0.23.0->openai>=1.3.7->pygpt_net) (2023.11.17) Requirement already satisfied: httpcore==1. in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from httpx<1,>=0.23.0->openai>=1.3.7->pygpt_net) (1.0.2) Requirement already satisfied: h11<0.15,>=0.13 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from httpcore==1.->httpx<1,>=0.23.0->openai>=1.3.7->pygpt_net) (0.14.0) Requirement already satisfied: jsonpointer>=1.9 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from jsonpatch<2.0,>=1.33->langchain>=0.1.0->pygpt_net) (2.4) Requirement already satisfied: annotated-types>=0.4.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pydantic<3,>=1->langchain>=0.1.0->pygpt_net) (0.6.0) Requirement already satisfied: pydantic-core==2.16.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pydantic<3,>=1->langchain>=0.1.0->pygpt_net) (2.16.1) Requirement already satisfied: charset-normalizer<4,>=2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from requests>=2.26.0->docker>=7.0.0->pygpt_net) (3.3.2) Requirement already satisfied: MarkupSafe>=2.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from Jinja2->qt-material>=2.14->pygpt_net) (2.1.4) Requirement already satisfied: six>=1.5 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from python-dateutil->croniter>=2.0.1->pygpt_net) (1.16.0) Requirement already satisfied: mypy-extensions>=0.3.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from typing-inspect<1,>=0.4.0->dataclasses-json<0.7,>=0.5.7->langchain>=0.1.0->pygpt_net) (1.0.0) Downloading pygpt_net-2.0.95-py3-none-any.whl (862 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 862.2/862.2 kB 16.8 MB/s eta 0:00:00 Installing collected packages: pygpt_net Successfully installed pygpt_net-2.0.95 *@. ~ % cd /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net @. pygpt_net % ls CHANGELOG.txt pycache config.py controller data llm plugin ui init.py app.py container.py core item migrations provider utils.py @. pygpt_net % pip install -r requirements.txt ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' @.*** pygpt_net %

El 29 ene 2024, a las 15:27, Marcin Szczygliński @.***> escribió:

I personally don't use a Mac, but could you provide more details about these issues? How exactly are you attempting to launch the app and what exactly is happening? It would be best if you could include all the logs that appear.

— Reply to this email directly, view it on GitHub https://github.com/szczyglis-dev/py-gpt/issues/16#issuecomment-1915320568, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRKH42DIMOBVVKEM3IEHW3YQ7SYXAVCNFSM6AAAAABCN43GYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVGMZDANJWHA. You are receiving this because you authored the thread.

szczyglis-dev commented 5 months ago

Firstly, you're doing it a bit wrong.

Try this approach:

  1. Start by creating a virtual environment, for example, like this:

pip install virtualenv

virtualenv venv or python -m venv venv

source venv/bin/activate

  1. Next, while you're in that virtual environment, install the package from PyPi:

pip install pygpt-net

  1. After installing it from PyPi, start the app with this command:

pygpt

  1. Don't try to install dependencies from requirements.txt after you've already installed the PyPi package (you only need to do that if you're running PyGPT from the source code from a Git repository).

Hope this helps :)

juato4 commented 5 months ago

Hi!.

it give me this error:

@.*** pygpt_net % virtualenv venv or python -m venv venv usage: virtualenv [--version] [--with-traceback] [-v | -q] [--read-only-app-data] [--app-data APP_DATA] [--reset-app-data] [--upgrade-embed-wheels] [--discovery {builtin}] [-p py] [--try-first-with py_exe] [--creator {builtin,cpython3-posix,venv}] [--seeder {app-data,pip}] [--no-seed] [--activators comma_sep_list] [--clear] [--no-vcs-ignore] [--system-site-packages] [--symlinks | --copies] [--no-download | --download] [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip] [--no-setuptools] [--no-wheel] [--no-periodic-update] [--symlink-app-data] [--prompt prompt] [-h] dest virtualenv: error: unrecognized arguments: or python -m venv venv SystemExit: 2

El 29 ene 2024, a las 20:08, Marcin Szczygliński @.***> escribió:

virtualenv venv or python -m venv venv

juato4 commented 5 months ago

@. pygpt_net % virtualenv venv created virtual environment CPython3.12.0.final.0-64 in 253ms creator CPython3Posix(dest=/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net/venv, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/Users/juancruzpagnutti/Library/Application Support/virtualenv) added seed packages: pip==23.3.1 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator @. pygpt_net % source venv/bin/activate (venv) @.*** pygpt_net % pip install pygpt-net Collecting pygpt-net Downloading pygpt_net-2.0.131-py3-none-any.whl.metadata (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.7/86.7 kB 2.6 MB/s eta 0:00:00 Collecting azure-cognitiveservices-speech>=1.27.0 (from pygpt-net) Downloading azure_cognitiveservices_speech-1.34.1-py3-none-macosx_11_0_arm64.whl.metadata (1.5 kB) Collecting beautifulsoup4>=4.12.2 (from pygpt-net) Downloading beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB) Collecting chromadb>=0.4.22 (from pygpt-net) Using cached chromadb-0.4.22-py3-none-any.whl.metadata (7.3 kB) Collecting croniter>=2.0.1 (from pygpt-net) Downloading croniter-2.0.1-py2.py3-none-any.whl.metadata (24 kB) Collecting docker>=7.0.0 (from pygpt-net) Downloading docker-7.0.0-py3-none-any.whl.metadata (3.5 kB) Collecting docx2txt>=0.8 (from pygpt-net) Using cached docx2txt-0.8.tar.gz (2.8 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting EbookLib>=0.18 (from pygpt-net) Using cached EbookLib-0.18.tar.gz (115 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting langchain>=0.1.0 (from pygpt-net) Downloading langchain-0.1.4-py3-none-any.whl.metadata (13 kB) Collecting langchain-community>=0.0.11 (from pygpt-net) Downloading langchain_community-0.0.16-py3-none-any.whl.metadata (7.8 kB) Collecting langchain-experimental>=0.0.49 (from pygpt-net) Downloading langchain_experimental-0.0.49-py3-none-any.whl.metadata (1.9 kB) Collecting langchain-openai>=0.0.2.post1 (from pygpt-net) Downloading langchain_openai-0.0.5-py3-none-any.whl.metadata (2.5 kB) INFO: pip is looking at multiple versions of pygpt-net to determine which version is compatible with other requirements. This could take a while. Collecting pygpt-net Using cached pygpt_net-2.0.130-py3-none-any.whl.metadata (90 kB) Using cached pygpt_net-2.0.129-py3-none-any.whl.metadata (90 kB) Using cached pygpt_net-2.0.128-py3-none-any.whl.metadata (90 kB) Using cached pygpt_net-2.0.127-py3-none-any.whl.metadata (94 kB) Using cached pygpt_net-2.0.126-py3-none-any.whl.metadata (93 kB) Using cached pygpt_net-2.0.125-py3-none-any.whl.metadata (93 kB) Using cached pygpt_net-2.0.124-py3-none-any.whl.metadata (93 kB) INFO: pip is still looking at multiple versions of pygpt-net to determine which version is compatible with other requirements. This could take a while. Using cached pygpt_net-2.0.123-py3-none-any.whl.metadata (92 kB) Using cached pygpt_net-2.0.122-py3-none-any.whl.metadata (92 kB) Using cached pygpt_net-2.0.121-py3-none-any.whl.metadata (89 kB) Using cached pygpt_net-2.0.120-py3-none-any.whl.metadata (88 kB) Using cached pygpt_net-2.0.119-py3-none-any.whl.metadata (88 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C. Using cached pygpt_net-2.0.118-py3-none-any.whl.metadata (88 kB) Using cached pygpt_net-2.0.117-py3-none-any.whl.metadata (87 kB) Using cached pygpt_net-2.0.116-py3-none-any.whl.metadata (81 kB) Using cached pygpt_net-2.0.115-py3-none-any.whl.metadata (81 kB) Using cached pygpt_net-2.0.114-py3-none-any.whl.metadata (80 kB) Using cached pygpt_net-2.0.113-py3-none-any.whl.metadata (76 kB) Using cached pygpt_net-2.0.112-py3-none-any.whl.metadata (79 kB) Using cached pygpt_net-2.0.111-py3-none-any.whl.metadata (78 kB) Using cached pygpt_net-2.0.110-py3-none-any.whl.metadata (77 kB) Using cached pygpt_net-2.0.109-py3-none-any.whl.metadata (77 kB) Using cached pygpt_net-2.0.108-py3-none-any.whl.metadata (77 kB) Using cached pygpt_net-2.0.107-py3-none-any.whl.metadata (76 kB) Using cached pygpt_net-2.0.106-py3-none-any.whl.metadata (76 kB) Using cached pygpt_net-2.0.105-py3-none-any.whl.metadata (76 kB) Using cached pygpt_net-2.0.104-py3-none-any.whl.metadata (75 kB) Using cached pygpt_net-2.0.103-py3-none-any.whl.metadata (75 kB) Using cached pygpt_net-2.0.102-py3-none-any.whl.metadata (75 kB) Using cached pygpt_net-2.0.101-py3-none-any.whl.metadata (74 kB) Using cached pygpt_net-2.0.100-py3-none-any.whl.metadata (74 kB) Using cached pygpt_net-2.0.99-py3-none-any.whl.metadata (74 kB) Using cached pygpt_net-2.0.98-py3-none-any.whl.metadata (73 kB) Using cached pygpt_net-2.0.97-py3-none-any.whl.metadata (73 kB) Using cached pygpt_net-2.0.96-py3-none-any.whl.metadata (73 kB) Using cached pygpt_net-2.0.95-py3-none-any.whl.metadata (75 kB) Collecting Markdown>=3.5.1 (from pygpt-net) Downloading Markdown-3.5.2-py3-none-any.whl.metadata (7.0 kB) Collecting openai>=1.3.7 (from pygpt-net) Downloading openai-1.10.0-py3-none-any.whl.metadata (18 kB) Collecting opencv-python>=4.8.1.78 (from pygpt-net) Downloading opencv_python-4.9.0.80-cp37-abi3-macosx_11_0_arm64.whl.metadata (20 kB) Collecting packaging>=23.0 (from pygpt-net) Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting PyAudio>=0.2.14 (from pygpt-net) Downloading PyAudio-0.2.14.tar.gz (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.1/47.1 kB 4.8 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting pygame>=2.5.2 (from pygpt-net) Downloading pygame-2.5.2-cp312-cp312-macosx_11_0_arm64.whl.metadata (13 kB) Collecting pyinstaller>=5.9.0 (from pygpt-net) Downloading pyinstaller-6.3.0-py3-none-macosx_10_13_universal2.whl.metadata (8.3 kB) Collecting PySide6>=6.4.2 (from pygpt-net) Downloading PySide6-6.6.1-cp38-abi3-macosx_11_0_universal2.whl.metadata (5.3 kB) Collecting PySide6-Addons>=6.4.2 (from pygpt-net) Downloading PySide6_Addons-6.6.1-cp38-abi3-macosx_11_0_universal2.whl.metadata (3.9 kB) Collecting PySide6-Essentials>=6.4.2 (from pygpt-net) Downloading PySide6_Essentials-6.6.1-cp38-abi3-macosx_11_0_universal2.whl.metadata (3.7 kB) Collecting qt-material>=2.14 (from pygpt-net) Downloading qt_material-2.14-py3-none-any.whl (1.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 20.9 MB/s eta 0:00:00 Collecting SpeechRecognition>=3.10.0 (from pygpt-net) Downloading SpeechRecognition-3.10.1-py2.py3-none-any.whl.metadata (28 kB) Collecting show-in-file-manager>=1.1.4 (from pygpt-net) Downloading show_in_file_manager-1.1.4-py3-none-any.whl (28 kB) Collecting SQLAlchemy>=2.0.23 (from pygpt-net) Downloading SQLAlchemy-2.0.25-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.6 kB) Collecting tiktoken>=0.3.3 (from pygpt-net) Downloading tiktoken-0.5.2-cp312-cp312-macosx_11_0_arm64.whl.metadata (6.6 kB) Collecting wikipedia>=1.4.0 (from pygpt-net) Downloading wikipedia-1.4.0.tar.gz (27 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting soupsieve>1.2 (from beautifulsoup4>=4.12.2->pygpt-net) Downloading soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB) Collecting python-dateutil (from croniter>=2.0.1->pygpt-net) Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 30.6 MB/s eta 0:00:00 Collecting pytz>2021.1 (from croniter>=2.0.1->pygpt-net) Downloading pytz-2023.4-py2.py3-none-any.whl.metadata (22 kB) Collecting requests>=2.26.0 (from docker>=7.0.0->pygpt-net) Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting urllib3>=1.26.0 (from docker>=7.0.0->pygpt-net) Downloading urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB) Collecting PyYAML>=5.3 (from langchain>=0.1.0->pygpt-net) Downloading PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (2.1 kB) Collecting aiohttp<4.0.0,>=3.8.3 (from langchain>=0.1.0->pygpt-net) Downloading aiohttp-3.9.3-cp312-cp312-macosx_11_0_arm64.whl.metadata (7.4 kB) Collecting dataclasses-json<0.7,>=0.5.7 (from langchain>=0.1.0->pygpt-net) Downloading dataclasses_json-0.6.3-py3-none-any.whl.metadata (25 kB) Collecting jsonpatch<2.0,>=1.33 (from langchain>=0.1.0->pygpt-net) Downloading jsonpatch-1.33-py2.py3-none-any.whl.metadata (3.0 kB) Collecting langchain-core<0.2,>=0.1.16 (from langchain>=0.1.0->pygpt-net) Downloading langchain_core-0.1.17-py3-none-any.whl.metadata (6.0 kB) Collecting langsmith<0.1,>=0.0.83 (from langchain>=0.1.0->pygpt-net) Downloading langsmith-0.0.84-py3-none-any.whl.metadata (10 kB) Collecting numpy<2,>=1 (from langchain>=0.1.0->pygpt-net) Downloading numpy-1.26.3-cp312-cp312-macosx_11_0_arm64.whl.metadata (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 7.0 MB/s eta 0:00:00 Collecting pydantic<3,>=1 (from langchain>=0.1.0->pygpt-net) Downloading pydantic-2.6.0-py3-none-any.whl.metadata (81 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.8/81.8 kB 9.9 MB/s eta 0:00:00 Collecting tenacity<9.0.0,>=8.1.0 (from langchain>=0.1.0->pygpt-net) Downloading tenacity-8.2.3-py3-none-any.whl.metadata (1.0 kB) Collecting anyio<5,>=3.5.0 (from openai>=1.3.7->pygpt-net) Downloading anyio-4.2.0-py3-none-any.whl.metadata (4.6 kB) Collecting distro<2,>=1.7.0 (from openai>=1.3.7->pygpt-net) Downloading distro-1.9.0-py3-none-any.whl.metadata (6.8 kB) Collecting httpx<1,>=0.23.0 (from openai>=1.3.7->pygpt-net) Downloading httpx-0.26.0-py3-none-any.whl.metadata (7.6 kB) Collecting sniffio (from openai>=1.3.7->pygpt-net) Downloading sniffio-1.3.0-py3-none-any.whl (10 kB) Collecting tqdm>4 (from openai>=1.3.7->pygpt-net) Downloading tqdm-4.66.1-py3-none-any.whl.metadata (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 6.9 MB/s eta 0:00:00 Collecting typing-extensions<5,>=4.7 (from openai>=1.3.7->pygpt-net) Downloading typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting setuptools>=42.0.0 (from pyinstaller>=5.9.0->pygpt-net) Using cached setuptools-69.0.3-py3-none-any.whl.metadata (6.3 kB) Collecting altgraph (from pyinstaller>=5.9.0->pygpt-net) Downloading altgraph-0.17.4-py2.py3-none-any.whl.metadata (7.3 kB) Collecting pyinstaller-hooks-contrib>=2021.4 (from pyinstaller>=5.9.0->pygpt-net) Downloading pyinstaller_hooks_contrib-2024.0-py2.py3-none-any.whl.metadata (16 kB) Collecting macholib>=1.8 (from pyinstaller>=5.9.0->pygpt-net) Downloading macholib-1.16.3-py2.py3-none-any.whl.metadata (11 kB) Collecting shiboken6==6.6.1 (from PySide6>=6.4.2->pygpt-net) Downloading shiboken6-6.6.1-cp38-abi3-macosx_11_0_universal2.whl.metadata (2.5 kB) Collecting Jinja2 (from qt-material>=2.14->pygpt-net) Downloading Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB) Collecting regex>=2022.1.18 (from tiktoken>=0.3.3->pygpt-net) Downloading regex-2023.12.25-cp312-cp312-macosx_11_0_arm64.whl.metadata (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 3.4 MB/s eta 0:00:00 Collecting aiosignal>=1.1.2 (from aiohttp<4.0.0,>=3.8.3->langchain>=0.1.0->pygpt-net) Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting attrs>=17.3.0 (from aiohttp<4.0.0,>=3.8.3->langchain>=0.1.0->pygpt-net) Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB) Collecting frozenlist>=1.1.1 (from aiohttp<4.0.0,>=3.8.3->langchain>=0.1.0->pygpt-net) Downloading frozenlist-1.4.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (12 kB) Collecting multidict<7.0,>=4.5 (from aiohttp<4.0.0,>=3.8.3->langchain>=0.1.0->pygpt-net) Downloading multidict-6.0.4.tar.gz (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.3/51.3 kB 5.0 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting yarl<2.0,>=1.0 (from aiohttp<4.0.0,>=3.8.3->langchain>=0.1.0->pygpt-net) Downloading yarl-1.9.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (31 kB) Collecting idna>=2.8 (from anyio<5,>=3.5.0->openai>=1.3.7->pygpt-net) Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB) Collecting marshmallow<4.0.0,>=3.18.0 (from dataclasses-json<0.7,>=0.5.7->langchain>=0.1.0->pygpt-net) Downloading marshmallow-3.20.2-py3-none-any.whl.metadata (7.5 kB) Collecting typing-inspect<1,>=0.4.0 (from dataclasses-json<0.7,>=0.5.7->langchain>=0.1.0->pygpt-net) Downloading typing_inspect-0.9.0-py3-none-any.whl.metadata (1.5 kB) Collecting certifi (from httpx<1,>=0.23.0->openai>=1.3.7->pygpt-net) Downloading certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB) Collecting httpcore==1. (from httpx<1,>=0.23.0->openai>=1.3.7->pygpt-net) Downloading httpcore-1.0.2-py3-none-any.whl.metadata (20 kB) Collecting h11<0.15,>=0.13 (from httpcore==1.->httpx<1,>=0.23.0->openai>=1.3.7->pygpt-net) Downloading h11-0.14.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 6.2 MB/s eta 0:00:00 Collecting jsonpointer>=1.9 (from jsonpatch<2.0,>=1.33->langchain>=0.1.0->pygpt-net) Downloading jsonpointer-2.4-py2.py3-none-any.whl.metadata (2.5 kB) Collecting annotated-types>=0.4.0 (from pydantic<3,>=1->langchain>=0.1.0->pygpt-net) Downloading annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.1 (from pydantic<3,>=1->langchain>=0.1.0->pygpt-net) Downloading pydantic_core-2.16.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (6.5 kB) Collecting charset-normalizer<4,>=2 (from requests>=2.26.0->docker>=7.0.0->pygpt-net) Downloading charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl.metadata (33 kB) Collecting MarkupSafe>=2.0 (from Jinja2->qt-material>=2.14->pygpt-net) Downloading MarkupSafe-2.1.4-cp312-cp312-macosx_10_9_universal2.whl.metadata (3.0 kB) Collecting six>=1.5 (from python-dateutil->croniter>=2.0.1->pygpt-net) Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting mypy-extensions>=0.3.0 (from typing-inspect<1,>=0.4.0->dataclasses-json<0.7,>=0.5.7->langchain>=0.1.0->pygpt-net) Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Using cached pygpt_net-2.0.95-py3-none-any.whl (862 kB) Downloading azure_cognitiveservices_speech-1.34.1-py3-none-macosx_11_0_arm64.whl (6.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.7/6.7 MB 6.0 MB/s eta 0:00:00 Downloading beautifulsoup4-4.12.3-py3-none-any.whl (147 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.9/147.9 kB 14.7 MB/s eta 0:00:00 Downloading croniter-2.0.1-py2.py3-none-any.whl (19 kB) Downloading docker-7.0.0-py3-none-any.whl (147 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.6/147.6 kB 10.1 MB/s eta 0:00:00 Downloading langchain-0.1.4-py3-none-any.whl (803 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 803.6/803.6 kB 42.6 MB/s eta 0:00:00 Downloading langchain_experimental-0.0.49-py3-none-any.whl (165 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 165.7/165.7 kB 12.8 MB/s eta 0:00:00 Downloading Markdown-3.5.2-py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.9/103.9 kB 10.5 MB/s eta 0:00:00 Downloading openai-1.10.0-py3-none-any.whl (225 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 225.1/225.1 kB 27.4 MB/s eta 0:00:00 Downloading opencv_python-4.9.0.80-cp37-abi3-macosx_11_0_arm64.whl (35.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.4/35.4 MB 11.1 MB/s eta 0:00:00 Downloading packaging-23.2-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 3.7 MB/s eta 0:00:00 Downloading pygame-2.5.2-cp312-cp312-macosx_11_0_arm64.whl (12.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.3/12.3 MB 6.1 MB/s eta 0:00:00 Downloading pyinstaller-6.3.0-py3-none-macosx_10_13_universal2.whl (939 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 940.0/940.0 kB 33.0 MB/s eta 0:00:00 Downloading PySide6-6.6.1-cp38-abi3-macosx_11_0_universal2.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB 4.3 MB/s eta 0:00:00 Downloading PySide6_Addons-6.6.1-cp38-abi3-macosx_11_0_universal2.whl (249.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 249.0/249.0 MB 6.2 MB/s eta 0:00:00 Downloading PySide6_Essentials-6.6.1-cp38-abi3-macosx_11_0_universal2.whl (146.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 146.7/146.7 MB 5.7 MB/s eta 0:00:00 Downloading shiboken6-6.6.1-cp38-abi3-macosx_11_0_universal2.whl (406 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 406.6/406.6 kB 23.7 MB/s eta 0:00:00 Downloading SpeechRecognition-3.10.1-py2.py3-none-any.whl (32.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 32.8/32.8 MB 38.8 MB/s eta 0:00:00 Downloading SQLAlchemy-2.0.25-cp312-cp312-macosx_11_0_arm64.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 34.5 MB/s eta 0:00:00 Downloading tiktoken-0.5.2-cp312-cp312-macosx_11_0_arm64.whl (953 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 953.6/953.6 kB 36.2 MB/s eta 0:00:00 Downloading aiohttp-3.9.3-cp312-cp312-macosx_11_0_arm64.whl (389 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 389.7/389.7 kB 25.3 MB/s eta 0:00:00 Downloading anyio-4.2.0-py3-none-any.whl (85 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.5/85.5 kB 5.4 MB/s eta 0:00:00 Downloading dataclasses_json-0.6.3-py3-none-any.whl (28 kB) Downloading distro-1.9.0-py3-none-any.whl (20 kB) Downloading httpx-0.26.0-py3-none-any.whl (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.9/75.9 kB 9.5 MB/s eta 0:00:00 Downloading httpcore-1.0.2-py3-none-any.whl (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.9/76.9 kB 10.2 MB/s eta 0:00:00 Downloading jsonpatch-1.33-py2.py3-none-any.whl (12 kB) Downloading langchain_community-0.0.16-py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 47.7 MB/s eta 0:00:00 Downloading langchain_core-0.1.17-py3-none-any.whl (235 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 235.9/235.9 kB 19.7 MB/s eta 0:00:00 Downloading langsmith-0.0.84-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 3.5 MB/s eta 0:00:00 Downloading macholib-1.16.3-py2.py3-none-any.whl (38 kB) Downloading altgraph-0.17.4-py2.py3-none-any.whl (21 kB) Downloading numpy-1.26.3-cp312-cp312-macosx_11_0_arm64.whl (13.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.7/13.7 MB 49.2 MB/s eta 0:00:00 Downloading pydantic-2.6.0-py3-none-any.whl (394 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 394.2/394.2 kB 26.3 MB/s eta 0:00:00 Downloading pydantic_core-2.16.1-cp312-cp312-macosx_11_0_arm64.whl (1.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 19.4 MB/s eta 0:00:00 Downloading pyinstaller_hooks_contrib-2024.0-py2.py3-none-any.whl (326 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 326.8/326.8 kB 14.8 MB/s eta 0:00:00 Downloading pytz-2023.4-py2.py3-none-any.whl (506 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 506.5/506.5 kB 28.1 MB/s eta 0:00:00 Downloading PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl (165 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 165.6/165.6 kB 18.9 MB/s eta 0:00:00 Downloading regex-2023.12.25-cp312-cp312-macosx_11_0_arm64.whl (292 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 292.2/292.2 kB 24.7 MB/s eta 0:00:00 Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 3.5 MB/s eta 0:00:00 Using cached setuptools-69.0.3-py3-none-any.whl (819 kB) Downloading soupsieve-2.5-py3-none-any.whl (36 kB) Downloading tenacity-8.2.3-py3-none-any.whl (24 kB) Downloading tqdm-4.66.1-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 9.4 MB/s eta 0:00:00 Downloading typing_extensions-4.9.0-py3-none-any.whl (32 kB) Downloading urllib3-2.1.0-py3-none-any.whl (104 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.6/104.6 kB 13.7 MB/s eta 0:00:00 Downloading Jinja2-3.1.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.2/133.2 kB 11.0 MB/s eta 0:00:00 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Downloading attrs-23.2.0-py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 4.2 MB/s eta 0:00:00 Downloading certifi-2023.11.17-py3-none-any.whl (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.5/162.5 kB 21.3 MB/s eta 0:00:00 Downloading charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl (119 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.4/119.4 kB 9.3 MB/s eta 0:00:00 Downloading frozenlist-1.4.1-cp312-cp312-macosx_11_0_arm64.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.9/51.9 kB 5.1 MB/s eta 0:00:00 Downloading idna-3.6-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 5.3 MB/s eta 0:00:00 Downloading jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB) Downloading MarkupSafe-2.1.4-cp312-cp312-macosx_10_9_universal2.whl (17 kB) Downloading marshmallow-3.20.2-py3-none-any.whl (49 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.4/49.4 kB 4.1 MB/s eta 0:00:00 Downloading typing_inspect-0.9.0-py3-none-any.whl (8.8 kB) Downloading yarl-1.9.4-cp312-cp312-macosx_11_0_arm64.whl (79 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.4/79.4 kB 10.8 MB/s eta 0:00:00 Building wheels for collected packages: PyAudio, wikipedia, multidict Building wheel for PyAudio (pyproject.toml) ... done Created wheel for PyAudio: filename=PyAudio-0.2.14-cp312-cp312-macosx_10_9_universal2.whl size=39538 sha256=75fed18acb285df63c35a50853766f045d303d60c373742e3f15d41832466fa6 Stored in directory: /Users/juancruzpagnutti/Library/Caches/pip/wheels/68/c7/33/c6a6b210cb5819ec5c219928c794a447742a7d86d21c0b92e6 Building wheel for wikipedia (pyproject.toml) ... done Created wheel for wikipedia: filename=wikipedia-1.4.0-py3-none-any.whl size=11678 sha256=06efbd88da38e339947f9ccbac7d5d7f1325ccac939a2e55bc498662adb56927 Stored in directory: /Users/juancruzpagnutti/Library/Caches/pip/wheels/63/47/7c/a9688349aa74d228ce0a9023229c6c0ac52ca2a40fe87679b8 Building wheel for multidict (pyproject.toml) ... done Created wheel for multidict: filename=multidict-6.0.4-cp312-cp312-macosx_10_9_universal2.whl size=48170 sha256=b7cd6a7688610fdf6b583c48b420220890f96a08bf37e8aa6c9f2ed6ad8c4057 Stored in directory: /Users/juancruzpagnutti/Library/Caches/pip/wheels/f6/d8/ff/3c14a64b8f2ab1aa94ba2888f5a988be6ab446ec5c8d1a82da Successfully built PyAudio wikipedia multidict Installing collected packages: pytz, PyAudio, altgraph, urllib3, typing-extensions, tqdm, tenacity, soupsieve, sniffio, six, shiboken6, setuptools, regex, PyYAML, pygame, packaging, numpy, mypy-extensions, multidict, MarkupSafe, Markdown, macholib, jsonpointer, idna, h11, frozenlist, distro, charset-normalizer, certifi, azure-cognitiveservices-speech, attrs, annotated-types, yarl, typing-inspect, SQLAlchemy, show-in-file-manager, requests, python-dateutil, PySide6-Essentials, pyinstaller-hooks-contrib, pydantic-core, opencv-python, marshmallow, jsonpatch, Jinja2, httpcore, beautifulsoup4, anyio, aiosignal, wikipedia, tiktoken, SpeechRecognition, qt-material, PySide6-Addons, pyinstaller, pydantic, httpx, docker, dataclasses-json, croniter, aiohttp, PySide6, openai, langsmith, langchain-core, langchain-community, langchain, langchain-experimental, pygpt-net Successfully installed Jinja2-3.1.3 Markdown-3.5.2 MarkupSafe-2.1.4 PyAudio-0.2.14 PySide6-6.6.1 PySide6-Addons-6.6.1 PySide6-Essentials-6.6.1 PyYAML-6.0.1 SQLAlchemy-2.0.25 SpeechRecognition-3.10.1 aiohttp-3.9.3 aiosignal-1.3.1 altgraph-0.17.4 annotated-types-0.6.0 anyio-4.2.0 attrs-23.2.0 azure-cognitiveservices-speech-1.34.1 beautifulsoup4-4.12.3 certifi-2023.11.17 charset-normalizer-3.3.2 croniter-2.0.1 dataclasses-json-0.6.3 distro-1.9.0 docker-7.0.0 frozenlist-1.4.1 h11-0.14.0 httpcore-1.0.2 httpx-0.26.0 idna-3.6 jsonpatch-1.33 jsonpointer-2.4 langchain-0.1.4 langchain-community-0.0.16 langchain-core-0.1.17 langchain-experimental-0.0.49 langsmith-0.0.84 macholib-1.16.3 marshmallow-3.20.2 multidict-6.0.4 mypy-extensions-1.0.0 numpy-1.26.3 openai-1.10.0 opencv-python-4.9.0.80 packaging-23.2 pydantic-2.6.0 pydantic-core-2.16.1 pygame-2.5.2 pygpt-net-2.0.95 pyinstaller-6.3.0 pyinstaller-hooks-contrib-2024.0 python-dateutil-2.8.2 pytz-2023.4 qt-material-2.14 regex-2023.12.25 requests-2.31.0 setuptools-69.0.3 shiboken6-6.6.1 show-in-file-manager-1.1.4 six-1.16.0 sniffio-1.3.0 soupsieve-2.5 tenacity-8.2.3 tiktoken-0.5.2 tqdm-4.66.1 typing-extensions-4.9.0 typing-inspect-0.9.0 urllib3-2.1.0 wikipedia-1.4.0 yarl-1.9.4

[notice] A new release of pip is available: 23.3.1 -> 23.3.2 [notice] To update, run: pip install --upgrade pip (venv) @. pygpt_net % ls CHANGELOG.txt pycache config.py controller data llm plugin ui venv init.py app.py container.py core item migrations provider utils.py (venv) @. pygpt_net % pygpt

Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.12/bin/pygpt", line 5, in from pygpt_net.app import run File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net/app.py", line 22, in from pygpt_net.controller import Controller File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net/controller/init.py", line 17, in from pygpt_net.controller.chat import Chat File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net/controller/chat/init.py", line 17, in from pygpt_net.controller.chat.render import Render File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net/controller/chat/render.py", line 13, in from pygpt_net.core.render.markdown.renderer import Renderer as MarkdownRenderer File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net/core/render/markdown/renderer.py", line 18, in from pygpt_net.ui.widget.textarea.input import ChatInput File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net/ui/init.py", line 19, in from pygpt_net.ui.layout.chat import ChatMain File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net/ui/layout/chat/init.py", line 16, in from pygpt_net.ui.layout.chat.output import Output File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net/ui/layout/chat/output.py", line 19, in from pygpt_net.ui.layout.chat.painter import Painter File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pygpt_net/ui/layout/chat/painter.py", line 14, in from pygpt_net.ui.widget.draw.painter import PainterWidget ModuleNotFoundError: No module named 'pygpt_net.ui.widget.draw' (venv) @.*** pygpt_net %

El 29 ene 2024, a las 20:08, Marcin Szczygliński @.***> escribió:

Firstly, you're doing it a bit wrong.

Try this approach:

Start by creating a virtual environment, for example, like this: pip install virtualenv

virtualenv venv or python -m venv venv

source venv/bin/activate

Next, while you're in that virtual environment, install the package from PyPi: pip install pygpt-net

After installing it from PyPi, start the app with this command: pygpt

Don't try to install dependencies from requirements.txt after you've already installed the PyPi package (you only need to do that if you're running PyGPT from the source code from a Git repository). Hope this helps :)

— Reply to this email directly, view it on GitHub https://github.com/szczyglis-dev/py-gpt/issues/16#issuecomment-1915733270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRKH42LPJ2N54ZZNRNSPSLYRATVTAVCNFSM6AAAAABCN43GYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVG4ZTGMRXGA. You are receiving this because you authored the thread.

szczyglis-dev commented 5 months ago

This still seems to be an issue with dependencies under the current OS environment. Have you tried completely uninstalling PyGPT from site-packages?

pip uninstall pygpt-net

and then try to force version to install, e.g.:

pip install pygpt-net==2.0.146

?

sockthem commented 3 months ago

@juato4 : were u able to run?