Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not run main.py #2

Closed
iago1905 opened this issue Mar 11, 2020 · 8 comments
Closed

not run main.py #2

iago1905 opened this issue Mar 11, 2020 · 8 comments

Comments

@iago1905
Copy link

After run "python main.py memedeportes" said:

File "main.py", line 52, in
api = Osintgram(args.id)
File "/root/Escritorio/instagra/Osintgram/Osintgram.py", line 30, in init
pc.printout(" (" + str(self.api.username_id) + ") ")
AttributeError: InstagramAPI instance has no attribute 'username_id'

@Datalux
Copy link
Owner

Datalux commented Mar 12, 2020

Hi @iago1905
I have not encountered anything of this kind. Have you tried to run multiple times?

@chrstphrvllrn
Copy link

chrstphrvllrn commented Mar 19, 2020

can't install the exact version of requests-toolbelt==2.1.0 . the latest in their site is 0.9.1

tried installing the 0.9.1 but here's the error showing.

python3 main.py {username}

Traceback (most recent call last):
File "main.py", line 4, in
from Osintgram import Osintgram
File "/Users/christopher/Downloads/Pentesting/Osintgram/Osintgram.py", line 1, in
from InstagramAPI import InstagramAPI
File "/Users/christopher/Downloads/Pentesting/Osintgram/InstagramAPI.py", line 4, in
from requests_toolbelt import MultipartEncoder
ModuleNotFoundError: No module named 'requests_toolbelt'

python main.py {username}

_Attempt to login...

Logged as Traceback (most recent call last):
File "main.py", line 52, in
api = Osintgram(args.id)
File "/Users/account/Downloads/Pentesting/Osintgram/Osintgram.py", line 30, in init
pc.printout(" (" + str(self.api.username_id) + ") ")
AttributeError: InstagramAPI instance has no attribute 'username_id'_

@Datalux
Copy link
Owner

Datalux commented Mar 19, 2020

can't install the exact version of requests-toolbelt==2.1.0 . the latest in their site is 0.9.1

tried installing the 0.9.1 but here's the error showing.

python3 main.py {username}

Traceback (most recent call last): File "main.py", line 4, in from Osintgram import Osintgram File "/Users/christopher/Downloads/Pentesting/Osintgram/Osintgram.py", line 1, in from InstagramAPI import InstagramAPI File "/Users/christopher/Downloads/Pentesting/Osintgram/InstagramAPI.py", line 4, in from requests_toolbelt import MultipartEncoder ModuleNotFoundError: No module named 'requests_toolbelt'

python main.py {username}

_Attempt to login...

Logged as Traceback (most recent call last):
File "main.py", line 52, in
api = Osintgram(args.id)
File "/Users/account/Downloads/Pentesting/Osintgram/Osintgram.py", line 30, in init
pc.printout(" (" + str(self.api.username_id) + ") ")
AttributeError: InstagramAPI instance has no attribute 'username_id'_

Did you install requests_toolbelt for python3?

@chrstphrvllrn
Copy link

chrstphrvllrn commented Mar 25, 2020

can't install the exact version of requests-toolbelt==2.1.0 . the latest in their site is 0.9.1
tried installing the 0.9.1 but here's the error showing.
python3 main.py {username}
Traceback (most recent call last): File "main.py", line 4, in from Osintgram import Osintgram File "/Users/christopher/Downloads/Pentesting/Osintgram/Osintgram.py", line 1, in from InstagramAPI import InstagramAPI File "/Users/christopher/Downloads/Pentesting/Osintgram/InstagramAPI.py", line 4, in from requests_toolbelt import MultipartEncoder ModuleNotFoundError: No module named 'requests_toolbelt'
python main.py {username}
Attempt to login...
Logged as Traceback (most recent call last):
File "main.py", line 52, in
api = Osintgram(args.id)
File "/Users/account/Downloads/Pentesting/Osintgram/Osintgram.py", line 30, in init
pc.printout(" (" + str(self.api.username_id) + ") ")
AttributeError: InstagramAPI instance has no attribute 'username_id'

Did you install requests_toolbelt for python3?

Yes, but I can't download the requests-toolbelt==2.1.0, there's no 2.1.0 available in their site and
tried installing the 0.9.1 but here's the error showing.

twopoint1

@Datalux
Copy link
Owner

Datalux commented Mar 25, 2020

can't install the exact version of requests-toolbelt==2.1.0 . the latest in their site is 0.9.1
tried installing the 0.9.1 but here's the error showing.
python3 main.py {username}
Traceback (most recent call last): File "main.py", line 4, in from Osintgram import Osintgram File "/Users/christopher/Downloads/Pentesting/Osintgram/Osintgram.py", line 1, in from InstagramAPI import InstagramAPI File "/Users/christopher/Downloads/Pentesting/Osintgram/InstagramAPI.py", line 4, in from requests_toolbelt import MultipartEncoder ModuleNotFoundError: No module named 'requests_toolbelt'
python main.py {username}
Attempt to login...
Logged as Traceback (most recent call last):
File "main.py", line 52, in
api = Osintgram(args.id)
File "/Users/account/Downloads/Pentesting/Osintgram/Osintgram.py", line 30, in init
pc.printout(" (" + str(self.api.username_id) + ") ")
AttributeError: InstagramAPI instance has no attribute 'username_id'

Did you install requests_toolbelt for python3?

Yes, but I can't download the requests-toolbelt==2.1.0, there's no 2.1.0 available in their site and
tried installing the 0.9.1 but here's the error showing.

twopoint1

I have already fix this problem in commit aa76222

If you can't install requests_toolbelt with pip try using apt install python3-requests-toolbelt

@Datalux
Copy link
Owner

Datalux commented Jul 22, 2020

No update, closing.

@Datalux Datalux closed this as completed Jul 22, 2020
@Datalux Datalux reopened this Jul 24, 2020
Datalux added a commit that referenced this issue Jul 24, 2020
@Datalux
Copy link
Owner

Datalux commented Jul 24, 2020

After run "python main.py memedeportes" said:

File "main.py", line 52, in
api = Osintgram(args.id)
File "/root/Escritorio/instagra/Osintgram/Osintgram.py", line 30, in init
pc.printout(" (" + str(self.api.username_id) + ") ")
AttributeError: InstagramAPI instance has no attribute 'username_id'

Fixed in 5eecf09.

Closing.

@Datalux Datalux closed this as completed Jul 24, 2020
@ghost
Copy link

ghost commented Oct 3, 2022

Hi, i have an error i try run several times but still the same error, i dont know how to solve it....can someone help :((
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants