746
Obunachilar
Ma'lumot yo'q24 soatlar
+87 kun
+430 kun
Postlar arxiv
80 Years of Independence. 💖🇮🇳💖
This flag isn’t just a symbol.It carries the dreams, sacrifices and hopes of millions. We may question the system. But we’ll never stop loving the nation.
Happy 80th Independence Day. 💖🇮🇳💖
15 Avg, 00:21
14 Avg, 12:08
18 Noy, ~12:43
The error comes from incorrect syntax in your
packages list:
In your list, here are the last elements:
"httpx[http2]"
"https://github.com/Lyrox-cmd/lib/archive/refs/heads/main.zip"
There is no comma between these two strings, so they are concatenated into one string:
"httpx[http2]https://github.com/Lyrox-cmd/lib/archive/refs/heads/main.zip"This causes pip to try to install a single package with that name, which doesn't exist, hence the error. --- ### How to fix Add a comma between those two strings in the list:
"httpx[http2]",
"https://github.com/Lyrox-cmd/lib/archive/refs/heads/main.zip"
---
### Additional notes
1. Your function tries to import the package with importlib.import_module(package). However, package names and import names often differ (for example, bs4 is the package but imported as bs4, so that works, but some packages might differ).
2. The last item is a GitHub URL. You can't import it by that name, so your import will fail. You could modify the logic to skip import check for URLs.
3. You might want to add some indentation fixes:
Here is a cleaned-up and corrected version of your code:
import subprocess
import sys
import importlib
packages = [
"requests",
"uuid",
"pytz",
"user_agent",
"cfonts",
"colorama",
"rich",
"bs4",
"asmix",
"pyfiglet",
"faker",
"aiohttp",
"httpx",
"tqdm",
"cryptography",
"pillow",
"flask",
"urllib3",
"dnspython",
"psutil",
"httpx[http2]",
"https://github.com/Lyrox-cmd/lib/archive/refs/heads/main.zip"
]
def install_package(package):
# Skip import check if installing from URL or complex specifiers
if package.startswith("http") or "[" in package:
print(f"📦 {package}")
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
print(f"✅ {package} Done")
return
try:
importlib.import_module(package)
print(f"✅ {package} Done")
except ImportError:
print(f"📦 {package}")
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
print(f"✅ {package} Done")
for package in packages:
install_package(package)
---
### Summary:
- Add the missing comma after "httpx[http2]".
- Consider handling URLs separately as they cannot be imported.
- Fix indentation of your print statements to ensure correct syntax.
This should fix your problem.14 Avg, 06:42
18 Noy, ~12:43
💎𝐀𝐍𝐘 𝐍𝐄𝐄𝐃𝐒 𝐂𝐔𝐒𝐓𝐎𝐌 𝐕𝐄𝐑𝐈𝐅𝐘 𝐀𝐂𝐂𝐎𝐔𝐍𝐓💎
✅𝐀𝐍𝐘 𝐍𝐀𝐌𝐄 ✅
✅𝐀𝐍𝐘 𝐏𝐅𝐏✅
✅𝐀𝐍𝐘 𝐔𝐒𝐄𝐑𝐍𝐀𝐌𝐄✅
📌𝐌𝐎𝐍𝐈 𝐎𝐍 // 𝐎𝐅𝐅
𝐁𝐈𝐙𝐙 // 𝐂𝐑𝐄𝐓𝐎𝐑 𝐃𝐎𝐍𝐎 𝐀𝐕𝐀𝐈𝐋𝐀𝐁𝐋𝐄 ☄️
💎𝐊𝐈𝐒𝐈 𝐊𝐎 𝐕𝐄𝐑𝐈𝐅𝐘 𝐊𝐀𝐑𝐖𝐀𝐍𝐀 𝐇𝐀𝐈 𝐅𝐔𝐋𝐋 𝐂𝐔𝐒𝐓𝐎𝐌 𝐃𝐌 𝐊𝐀𝐑 𝐃𝐄𝐍𝐀💎
𝐏𝐑𝐈𝐂𝐄 - 𝐂𝐇𝐄𝐀𝐏 𝐌𝐄 👌
𝐃𝐌 - @SUNYSOCIAL
14 Avg, 00:36
Netflix fa hits ❤️
Type : Hotmail/outlook
victorsouza160300@outlook.com:saopaulo160300@ | BR | 944 Email Found | [netflix: 944] | HasSubscriptionOnNetflix = 🔥 True 🔥
betabulgaris@hotmail.com:Pesto0089! | ES | 3 Email Found | [netflix: 3] | HasSubscriptionOnNetflix = 🔥 True 🔥
car_rulli@hotmail.com:IVAN1313santy@ | AR | 485 Email Found | [netflix: 485] | HasSubscriptionOnNetflix = 🔥 True 🔥
franksliddell96@hotmail.co.uk:Teddie2021!!! | UK | 710 Email Found | [netflix: 710] | HasSubscriptionOnNetflix = 🔥 True 🔥
cgittens@hotmail.co.uk:Marygitt1 | UK | 80 Email Found | [netflix: 80] | HasSubscriptionOnNetflix = 🔥 True 🔥
mariana.0694@outlook.com:Mari6573@ | BR | 12 Email Found | [netflix: 12] | HasSubscriptionOnNetflix = 🔥 True 🔥
Credits ? ME
13 Avg, 12:54
18 Noy, ~12:43
13 Avg, 03:09
18 Noy, ~12:43
13 Avg, 03:09
18 Noy, ~12:43
13 Avg, 03:09
18 Noy, ~12:43
13 Avg, 03:09
18 Noy, ~12:43

