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

On google collab i keep getting NameError on "in_addr" #757

Open
Inakwu opened this issue Sep 28, 2024 · 12 comments
Open

On google collab i keep getting NameError on "in_addr" #757

Inakwu opened this issue Sep 28, 2024 · 12 comments

Comments

@Inakwu
Copy link

Inakwu commented Sep 28, 2024

Describe the bug
After running the command on Google Collab I keep getting NameError on "in_addr"

To Reproduce
The error is as follows (NameError: name 'in_addr' is not defined)

Info (please complete the following information):

  • OS (e.g., Linux): Windows

  • GPU model: AMD Radeon(TM) Vega 8 Graphics Radeon RX 560X

  • Any other relevant information:
    I am using Anaconda for the prompt and Avatarify has been activated there. This issue arises from Google Collab under 'Start the Client'

Screenshots
Avatarify - Colab - Google Chrome 28_09_2024 15_39_29

Logs
NameError Traceback (most recent call last)
in <cell line: 3>()
1 print('Copy-paste to the terminal the command below and run (press Enter)\n')
2 print('Mac:')
----> 3 print(f'./run_mac.sh --is-client --in-addr {in_addr} --out-addr {out_addr}')
4 print('\nWindows:')
5 print(f'run_windows.bat --is-client --in-addr {in_addr} --out-addr {out_addr}')

NameError: name 'in_addr' is not defined

@DasolutionHub
Copy link

I noticed that many of you are encountering challenges with running Avatarify on Google Colab. I have experience troubleshooting these issues and can assist you in getting it set up properly.

If you’re looking for personalized support, I offer paid assistance to help resolve these problems efficiently. Please feel free to reach out to me directly via email at [email protected] or on Telegram at dasolutionhub for more details on pricing and services.

@seegunz
Copy link

seegunz commented Oct 8, 2024

Describe the bug

After running the command on Google Collab I keep getting NameError on "in_addr"

To Reproduce

The error is as follows (NameError: name 'in_addr' is not defined)

Info (please complete the following information):

  • OS (e.g., Linux): Windows

  • GPU model: AMD Radeon(TM) Vega 8 Graphics Radeon RX 560X

  • Any other relevant information:

I am using Anaconda for the prompt and Avatarify has been activated there. This issue arises from Google Collab under 'Start the Client'

Screenshots

Avatarify - Colab - Google Chrome 28_09_2024 15_39_29

Logs

NameError Traceback (most recent call last)

in <cell line: 3>()

  1 print('Copy-paste to the terminal the command below and run (press Enter)\n')

  2 print('Mac:')

----> 3 print(f'./run_mac.sh --is-client --in-addr {in_addr} --out-addr {out_addr}')

  4 print('\nWindows:')

  5 print(f'run_windows.bat --is-client --in-addr {in_addr} --out-addr {out_addr}')

NameError: name 'in_addr' is not defined

Don't mind anyone asking you to DM without stating a solution here. The issue is with your NGROK token. You probably need a premium token to use.

@Inakwu
Copy link
Author

Inakwu commented Oct 8, 2024

Okay, thank you.
So, I need to pay for a premium NGROK account for my token to be premium right?
Or is there another way around it?

@DasolutionHub
Copy link

@ seegunz Regarding the mention of a ‘premium token’ that doesn’t seem accurate. Ngrok does not provide a separate ‘premium token.’ Instead, Ngrok has made changes to their service that require users to authenticate their account. This is a security measure and while Ngrok does offer paid features, such as more concurrent tunnels and custom domains, there’s no specific ‘premium token.’ The changes to their API do however require verification through the account setup process.

@seegunz
Copy link

seegunz commented Oct 8, 2024

Well the premium there means subscription. You do that on your ngrok profile

@OkeyyDRIOD
Copy link

OkeyyDRIOD commented Oct 8, 2024 via email

@seegunz
Copy link

seegunz commented Oct 8, 2024

You are mistaking for someone else. I don't charge and I've never charge and I've never asked anyone to send me message. Go through your records and address that to the exact person you have been talking to.

@DasolutionHub
Copy link

@seegunz Ngrok’s ‘premium’ refers to their paid subscription plans that unlock additional features such as custom subdomains, reserved IP addresses and increased bandwidth limits. This is not a ‘premium token’ it’s simply a subscription model. When people refer to ‘premium’ for ngrok, they mean subscribing to a plan through your ngrok profile

It’s important to understand that ngrok does not offer any ‘premium token’ to activate advanced features. Instead now they require users to verify their account for security..The idea of a separate premium token is misleading, as ngrok doesn’t operate in that way.

@seegunz
Copy link

seegunz commented Oct 8, 2024

Well I wasreferring to the paid subscription as that's the report someone told me worked for them. However, thank you for the enlightenment.

@DasolutionHub
Copy link

@seegunz I appreciate your clarification but it’s important to only provide solutions that have been thoroughly tested and verified. Offering advice based solely on reports from others without personal confirmation can lead to confusion and misinformation, especially when dealing with technical issues like this. It’s critical to ensure that any solutions recommended have been validated to avoid unintentionally misleading others.
Thank you for understanding.

@seegunz
Copy link

seegunz commented Oct 8, 2024

Okay, thank you.

So, I need to pay for a premium NGROK account for my token to be premium right?

Or is there another way around it?

From the sources who had similar issues, they did subscription on their ngrok account. While someone complained that it stopped working after sometime, others still use it.

I'm not into colla. But I think you can check with subscribing or if you have a friend that has already subscribed, you can ask their token.

It's preferable you used a graphic pc to cut all of these issues off. There are more softwares out there you can look into.

All the best

@Updatedme
Copy link

This project is retired and has not been updated to long . Most model and dependency dosent fit in right to your system update. But i can help you get avatarify installation working right , you can follow my easy step by step guild on youtube from
(For gpu https://youtu.be/_NxqtglvfI0?si=nXZx67l4tFNb7egm

For cpu computers https://youtu.be/UnDCMPKywY8?si=lI5BmOn4C2j9h73o)

If you need further assistance, here's my whatsapp
https://wa.me/message/GXQYWX4XRTXGB1 +2347081306010

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

6 participants
@Inakwu @seegunz @Updatedme @OkeyyDRIOD @DasolutionHub and others