Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ Invisibility git:(master) ✗ pip install --upgrade fastask
- WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
- WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
- Requirement already satisfied: fastask in /opt/homebrew/lib/python3.11/site-packages (0.3.6)
- Collecting fastask
- Downloading fastask-0.4.6-py3-none-any.whl.metadata (4.3 kB)
- Requirement already satisfied: requests in /opt/homebrew/lib/python3.11/site-packages (from fastask) (2.28.2)
- Requirement already satisfied: openai in /opt/homebrew/lib/python3.11/site-packages (from fastask) (0.27.10)
- Requirement already satisfied: python-dotenv in /opt/homebrew/lib/python3.11/site-packages (from fastask) (1.0.0)
- Requirement already satisfied: pyyaml in /opt/homebrew/lib/python3.11/site-packages (from fastask) (6.0.1)
- Requirement already satisfied: tqdm in /opt/homebrew/lib/python3.11/site-packages (from openai->fastask) (4.66.1)
- Requirement already satisfied: aiohttp in /opt/homebrew/lib/python3.11/site-packages (from openai->fastask) (3.8.5)
- Requirement already satisfied: charset-normalizer<4,>=2 in /opt/homebrew/lib/python3.11/site-packages (from requests->fastask) (3.0.1)
- Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/lib/python3.11/site-packages (from requests->fastask) (3.4)
- Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.11/site-packages (from requests->fastask) (1.26.14)
- Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.11/site-packages (from requests->fastask) (2022.12.7)
- Requirement already satisfied: attrs>=17.3.0 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (22.2.0)
- Requirement already satisfied: multidict<7.0,>=4.5 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (6.0.4)
- Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (4.0.3)
- Requirement already satisfied: yarl<2.0,>=1.0 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (1.9.2)
- Requirement already satisfied: frozenlist>=1.1.1 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (1.4.0)
- Requirement already satisfied: aiosignal>=1.1.2 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (1.3.1)
- Downloading fastask-0.4.6-py3-none-any.whl (9.0 kB)
- WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
- Installing collected packages: fastask
- Attempting uninstall: fastask
- WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
- Found existing installation: fastask 0.3.6
- Uninstalling fastask-0.3.6:
- Successfully uninstalled fastask-0.3.6
- Successfully installed fastask-0.4.6
- WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
- WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
- WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
- [notice] A new release of pip is available: 23.3.2 -> 24.0
- [notice] To update, run: python3.11 -m pip install --upgrade pip
- ➜ Invisibility git:(master) ✗ ask git diff from last commit
- Traceback (most recent call last):
- File "/opt/homebrew/bin/ask", line 5, in <module>
- from fastask.ask import main
- File "/opt/homebrew/lib/python3.11/site-packages/fastask/ask.py", line 8, in <module>
- from .llm import askLLM
- File "/opt/homebrew/lib/python3.11/site-packages/fastask/llm.py", line 1, in <module>
- from openai import AzureOpenAI, OpenAI
- ImportError: cannot import name 'AzureOpenAI' from 'openai' (/opt/homebrew/lib/python3.11/site-packages/openai/__init__.py)
- ➜ Invisibility git:(master) ✗
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement