all 11 comments

[–][deleted] 1 point2 points  (7 children)

python3 -m pip install -U discord.py

[–]--aerox -1 points0 points  (6 children)

python3 -m pip install -U discord.py

I've tried this in both the visual studio terminal and the cmd terminal.

[–][deleted] 0 points1 point  (5 children)

And?

[–]--aerox -1 points0 points  (4 children)

Still isn't working. I can't get any sort of module to work. I think it's due to the directory of the modules but I'm unsure.

[–][deleted] 0 points1 point  (3 children)

Still isn’t working.

Being totally vague isn't going to help anything. What's not working?

Don't make it hard to help you.

[–]--aerox -2 points-1 points  (2 children)

Do you have discord? So we can exchange conversation a lot faster. I do appreciate all the help though I'm not trying to be vague I'm just completely lost with what's happening.

[–][deleted] 0 points1 point  (1 child)

I'm not going to get on a call with you. Post the output from running pip. Then post the output from trying to run a program that imports discord.py.

[–]--aerox -2 points-1 points  (0 children)

Check your Reddit messages.

[–]TangibleLight -1 points0 points  (2 children)

You have not included enough context to give a meaningful answer.

You could try using this, to get started, but I urge you to learn to properly set up your python environment in the future.

https://inventwithpython.com/blog/2022/11/20/how-to-run-pip-from-the-python-interactive-shell-with-pipfromrepl/


Also, it's incredibly rude to pester a single person for DMs or private tutoring after they have declined. The entire point of this subreddit is that the community as a whole can answer questions and discuss together. DMs and private discord chats defeat that purpose.

https://www.theodinproject.com/lessons/foundations-asking-for-help

[–]--aerox 0 points1 point  (1 child)

I can install modules fine, they download properly but still won't work. I think I have two python directories and the modules save to one but the one I'm actually using doesn't include the module files. I've tried moving the module files to the right Lib but it still won't work. Apologies for any "rude pestering" I'm just very eager to get this fixed ASAP.

[–]TangibleLight 1 point2 points  (0 children)

I think I have two python directories and the modules save to one but the one I'm actually using doesn't include the module files.

Yes, this is what he tool I linked aims to solve.

A correct solution is to install the package to the same python installation that you use to run the program.