#๐Ÿ”’ Sooooo uuuh, I want to use this scrip that deletes comments from reddit, and I'm not a dev, so...

41 messages ยท Page 1 of 1 (latest)

honest socket
#

I installed python, and pip

I tried installing a package and well, it went wrong

It said Microsoft Visual C++ 14.0 was required, I installed it, and it still gives me teh same error, but without the Visual c++ warning how you can see on the images

(no, I have no idea of what I'm doing, I'm a a complete noob for coding, so please be patient with me.

atomic cedarBOT
#

@honest socket

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

golden bear
#

you don't have the file requirements.txt in the folder where you are running the script

golden bear
#

run ls in your terminal

#

can you share the output of that

honest socket
#

wanna see what I'm entering on the terminal?

golden bear
#

run ls. its a command. run it in your terminal and share the output

honest socket
#

um, its like, one million lines

golden bear
#

also from the screenshot i can see you are not in the right place

honest socket
#

I closed the window from the first screenshots

golden bear
# honest socket but its there

becuase you are not in the right place lol. Do one thing. in the address bar of this folder remove everything and type cmd

#

and hit enter

karmic elk
#

the prompt from the first image already shows that they are likely in the wrong directory

golden bear
#

it shoudl open the command prompt in that directory. run the pip install command now

karmic elk
#

as they shouldn't have put the project directly under C:\WINDOWS\system32 anyways

golden bear
honest socket
#

and now gives me the Microsoft Visual C++ 14.0 thing again :I

#

you guys wanna see the line I'm entering?

#

because I think I'm interpreting the github post wrong

golden bear
#

sure

honest socket
#

pip install -rC:\Users\Caolli\Desktop\RedditRefresh-2.0.0\requirements.txt

golden bear
#

hmmm

honest socket
#

because of this part

honest socket
#

yes, I have no idea of what I'm doing

golden bear
#

this is fine. the problem is with your dependencies

#

it is unable to build pycrypto when you run pip install. what it is doing is installing some dependencies that the script needs which are mentioned in the requirements.txt file

honest socket
#

sooooooooooooo, wanna see them? or

golden bear
#

try installing the microsoft visial c++

#

the version it is recommending

honest socket
#

thats the thing, I just installed it, but I did not restart my pc

golden bear
#

that should not matter

#

wait

karmic elk
karmic elk
# honest socket

it's right in that message there, it even gives you the full url for where you'll find the download for it

atomic cedarBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.