Closed tgxn closed 3 years ago
Wow I still have this issue two years later :o
I did this in my Dockerfile
# install additional pip packages
RUN echo "python -m pip install --upgrade --no-cache-dir requests" >> /app/functions/setup-env.sh
@tgxn The pipinstall
command is available only after loading the downloader
cog (which is a core cog shipped with RedBot).
Describe the bug I am trying to load a local cog (using addpath and load) My cog is found in the
!cogs
list, but red does not try to install the"requirements" : ["requests"],
frominfo.json
and thus the loading of the cog fails withModuleNotFoundError: No module named 'requests'
Run command
Environment info: Ubuntu 20.04
Additional context Under
./bot-discord/mycog
I have:info.json
along with my plugin's files.
I have also tried to
!pipinstall requests
but the bot doesn't reply to that command at all? https://github.com/PhasecoreX/docker-red-discordbot/issues/23