vertyco / upchatpy

A type hinted async Python wrapper for the Upgrade.Chat API
MIT License
3 stars 2 forks source link

Issue with installing #2

Open Vondyy opened 3 days ago

Vondyy commented 3 days ago

Describe the bug When installing upchatpy using a requirement file, the installation fails due and thrwos an error.

To Reproduce Steps to reproduce the behavior:

  1. Add upchatpy to requirement.
  2. Install requirement file
  3. Try to use library

Expected behavior No error

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): ubuntu 20.04.6 lts using python 3.11

gh gh2 gh3

vertyco commented 3 days ago

@Vondyy have you tried running pip install -U aiohttp before trying to install the library? It is a requirement in the setup.py file but seems like its not being installed properly. Based on the screenshots I can only make assumptions that you're trying to install the library outside of a virtual environment or that the aiohttp install is broken somehow.

Vondyy commented 3 days ago

So, I use aiohttp on my own for my personal project so I do already have it previously installed before trying to install this. I use pterodactyl(isolated Docker containers) to host my project and I use requirement files as you can't directly use the console for discord.

vertyco commented 3 days ago

Try adding a line in your dockerfile or whatever entry point you use to manually install aiohttp, I don't use pterodactyl and thus can't directly support it so you may be on your own a bit figuring that one out. Sorry I cant help more than that.