Giter VIP home page Giter VIP logo

Comments (7)

talpay avatar talpay commented on August 10, 2024 1

Ok half of the issues are now just people asking for a new PyPi release.

from google_trans_new.

TsunayoshiSawada avatar TsunayoshiSawada commented on August 10, 2024 1

This is still a thing and its an annoying thing

from google_trans_new.

 avatar commented on August 10, 2024

This error came after cloning:
google_new_transError: Failed to connect. Probable cause: timeout.

from google_trans_new.

sahilkhose avatar sahilkhose commented on August 10, 2024

Thanks a lot!

from google_trans_new.

fire17 avatar fire17 commented on August 10, 2024

since they are not updating..
i cloned locally and extracted google_trans_new.py and constant.py to my project folder

changed line 8 of google_trans_new.py
from
from .constant import LANGUAGES, DEFAULT_SERVICE_URLS
to
from constant import LANGUAGES, DEFAULT_SERVICE_URLS

removed google_trans_new from requirements.txt

and so my original import from code can stay the same..
from google_trans_new import google_translator

working on heroku now :)

from google_trans_new.

aranjan-covanta avatar aranjan-covanta commented on August 10, 2024

removed google_trans_new from requirements.txt

Can you tell me where the requirements.txt file is? I am unable to locate it when I cloned the repo (it isn't in the file list).

from google_trans_new.

fire17 avatar fire17 commented on August 10, 2024

removed google_trans_new from requirements.txt

Can you tell me where the requirements.txt file is? I am unable to locate it when I cloned the repo (it isn't in the file list).

requirements.txt is a file i have in my repo, heroku pip installs all of them prior to running my code
if you dont have it, it seems you're not using external python packages on heroku anyhow
therefore putting google_trans_new.py and constant.py in your project folder will let you use the local version when importing

from google_trans_new.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.