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

It might be a problem of java. #51

Open
faaizhashmi opened this issue Sep 23, 2019 · 2 comments
Open

It might be a problem of java. #51

faaizhashmi opened this issue Sep 23, 2019 · 2 comments

Comments

@faaizhashmi
Copy link

It might be a problem of java.
Try this:

  1. Install java on your linux system, if it wasn't installed.
  2. In the initialization function of meteor.py:
def __init__(self):
    self.meteor_cmd = ['java', '-jar', '-Xmx2G', METEOR_JAR, '-', '-', '-stdio', '-l', 'en', '-norm']
    self.meteor_p = subprocess.Popen(' '.join(self.meteor_cmd),\     # change this line
        cwd=os.path.dirname(os.path.abspath(__file__)), \
        stdin=subprocess.PIPE, \
        stdout=subprocess.PIPE, \
        stderr=subprocess.PIPE,\
        shell=True)
        # Used to guarantee thread safety
        self.lock = threading.Lock()

Originally posted by @brucejing-github in #17 (comment)

@SmallSmallQiu
Copy link

It was changed, but it didn't work

@SmallSmallQiu
Copy link

image
You need to find the Java library file in your environment

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

2 participants