Advertisement
djmango

Untitled

Mar 19th, 2024 (edited)
805
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.05 KB | None | 0 0
  1. ➜  Invisibility git:(master) ✗ pip install --upgrade fastask
  2. WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
  3. WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
  4. Requirement already satisfied: fastask in /opt/homebrew/lib/python3.11/site-packages (0.3.6)
  5. Collecting fastask
  6.   Downloading fastask-0.4.6-py3-none-any.whl.metadata (4.3 kB)
  7. Requirement already satisfied: requests in /opt/homebrew/lib/python3.11/site-packages (from fastask) (2.28.2)
  8. Requirement already satisfied: openai in /opt/homebrew/lib/python3.11/site-packages (from fastask) (0.27.10)
  9. Requirement already satisfied: python-dotenv in /opt/homebrew/lib/python3.11/site-packages (from fastask) (1.0.0)
  10. Requirement already satisfied: pyyaml in /opt/homebrew/lib/python3.11/site-packages (from fastask) (6.0.1)
  11. Requirement already satisfied: tqdm in /opt/homebrew/lib/python3.11/site-packages (from openai->fastask) (4.66.1)
  12. Requirement already satisfied: aiohttp in /opt/homebrew/lib/python3.11/site-packages (from openai->fastask) (3.8.5)
  13. Requirement already satisfied: charset-normalizer<4,>=2 in /opt/homebrew/lib/python3.11/site-packages (from requests->fastask) (3.0.1)
  14. Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/lib/python3.11/site-packages (from requests->fastask) (3.4)
  15. Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.11/site-packages (from requests->fastask) (1.26.14)
  16. Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.11/site-packages (from requests->fastask) (2022.12.7)
  17. Requirement already satisfied: attrs>=17.3.0 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (22.2.0)
  18. Requirement already satisfied: multidict<7.0,>=4.5 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (6.0.4)
  19. 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)
  20. Requirement already satisfied: yarl<2.0,>=1.0 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (1.9.2)
  21. Requirement already satisfied: frozenlist>=1.1.1 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (1.4.0)
  22. Requirement already satisfied: aiosignal>=1.1.2 in /opt/homebrew/lib/python3.11/site-packages (from aiohttp->openai->fastask) (1.3.1)
  23. Downloading fastask-0.4.6-py3-none-any.whl (9.0 kB)
  24. WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
  25. Installing collected packages: fastask
  26.   Attempting uninstall: fastask
  27.     WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
  28.     Found existing installation: fastask 0.3.6
  29.     Uninstalling fastask-0.3.6:
  30.       Successfully uninstalled fastask-0.3.6
  31. Successfully installed fastask-0.4.6
  32. WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
  33. WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
  34. WARNING: Skipping /opt/homebrew/lib/python3.11/site-packages/urllib3-2.2.1.dist-info due to invalid metadata entry 'name'
  35.  
  36. [notice] A new release of pip is available: 23.3.2 -> 24.0
  37. [notice] To update, run: python3.11 -m pip install --upgrade pip
  38. ➜  Invisibility git:(master) ✗ ask git diff from last commit
  39. Traceback (most recent call last):
  40.   File "/opt/homebrew/bin/ask", line 5, in <module>
  41.     from fastask.ask import main
  42.   File "/opt/homebrew/lib/python3.11/site-packages/fastask/ask.py", line 8, in <module>
  43.     from .llm import askLLM
  44.   File "/opt/homebrew/lib/python3.11/site-packages/fastask/llm.py", line 1, in <module>
  45.     from openai import AzureOpenAI, OpenAI
  46. ImportError: cannot import name 'AzureOpenAI' from 'openai' (/opt/homebrew/lib/python3.11/site-packages/openai/__init__.py)
  47. ➜  Invisibility git:(master)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement