#๐Ÿ”’ How do I use python to install Sherlock?

126 messages ยท Page 1 of 1 (latest)

oblique stratusBOT
#

@frail wyvern

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.

sharp bronze
frail wyvern
sharp bronze
#

where are you running them?

frail wyvern
#

command shell

sharp bronze
#

what's the error?

frail wyvern
#

destination path 'sherlock' already exists and is not an empty directory.

sharp bronze
#

which installation method are you using

frail wyvern
#

I don't know

#

'pipx' is not recognized as an internal or external command,
operable program or batch file.

#

'docker' is not recognized as an internal or external command,
operable program or batch file.

#

'dnf' is not recognized as an internal or external command,
operable program or batch file.

sharp bronze
#

do you have python installed?

frail wyvern
#

yes...

sharp bronze
#

ok use the pip one

#

not pipx

#

just pip

frail wyvern
#

'pip' is not recognized as an internal or external command,
operable program or batch file.

rich summit
#

What are you planning to do with sherlock ducky_concerned

frail wyvern
#

find all my social media and delete it why?

plain loom
modern elm
#

if your ig name is skeet2 and discord name skeet, sherlock won't find it

frail wyvern
#

can't open file 'C:\Users\humble\m-': [Errno 2] No such file or directory

frail wyvern
modern elm
plain loom
frail wyvern
plain loom
frail wyvern
frail wyvern
sharp bronze
#

are you on macbook? py is windows exclusive I believe

frail wyvern
#

no

plain loom
frail wyvern
modern elm
plain loom
frail wyvern
plain loom
#

looks like a typo

oblique stratusBOT
#
Install packages with `python -m pip`

When trying to install a package via pip, it's recommended to invoke pip as a module: python -m pip install your_package.

Why would we use python -m pip instead of pip?
Invoking pip as a module ensures you know which pip you're using. This is helpful if you have multiple Python versions. You always know which Python version you're installing packages to.

Note
The exact python command you invoke can vary. It may be python3 or py, ensure it's correct for your system.

frail wyvern
#

Do I just delete the files then redownload?

modern elm
#

wait, there should be a command to install pip

#

since you have python

plain loom
#

you already have it installed

modern elm
#

you don't need to reinstall whole python

#

I thought you didn't have it in path but you have it

frail wyvern
#

I just uninstalled it...

#

Redownloading...

modern elm
#

okay, make sure to download it with pip

#

in advanced options

#

then try pip or python -m pip

frail wyvern
#

default settings?

#

do I add python to path?

#

Do I use admin privleges?

modern elm
modern elm
modern elm
frail wyvern
#

It's installed

#

Now what?

modern elm
#

make sure you open a new terminal

frail wyvern
#

Nothing happens

modern elm
#

to reload it

modern elm
#

tell me what it ouptuts

frail wyvern
#

Nothing happened

modern elm
frail wyvern
plain loom
frail wyvern
#

How do I screenshot?

plain loom
#

Windows + Shift + S

frail wyvern
plain loom
frail wyvern
#

Yes

modern elm
#

then copy the text in the black window where you entered the command

#

everything

frail wyvern
#

C:\Users\humble>pip

modern elm
#

Press enter and tell us what it says

frail wyvern
#

Nothing happens

plain loom
#

then try again

frail wyvern
#

It shows me commands now

#

pip <command> [options]

modern elm
#

okay perfect

modern elm
frail wyvern
#

What do I type?

modern elm
#

whatever the install guide telld you

#

but instead of pipx write just pip

frail wyvern
#

This is hard for no reason

plain loom
#

Generally, new Python devs should be familiar with how it works and how to use it properly before trying out a library/package like sherlock

#

!resources has plenty of free beginner guided materials to get you through

oblique stratusBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

frail wyvern
#

I tried resources earlier

#

Didn't help me

#

But thanks

#

'git' is not recognized as an internal or external command,
operable program or batch file.

#

Getting this error now

modern elm
frail wyvern
#

How do I install git?

modern elm
#

i would recommend not doing this but if you want to delete your accounts I sent what you should do

modern elm
modern elm
frail wyvern
#

Idk how to code that's why I'm here asking questions

modern elm
#

you are given lego to build a house on your own, you don't know how to build it so you're asking us how do you drive a car to the store to get a book that will help you build a mansion

frail wyvern
#

huh?

plain loom
frail wyvern
#

I know that

#

I'm here to install a program not learn python

plain loom
frail wyvern
#

what doc are you talking about?

plain loom
#

sherlock

plain loom
frail wyvern
plain loom
modern elm
#

no need for git

plain loom
#

dont need to go to all of the other tabs. Just the pip tab

modern elm
#

pip install sherlock-project

and then

sherlock --version

#

@frail wyvern

oblique stratusBOT
#
Python help channel closed using Discord native close action

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.