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

Problem installing: "No module named _tokenizer" #55

Open
glennzw opened this issue Jun 9, 2020 · 1 comment
Open

Problem installing: "No module named _tokenizer" #55

glennzw opened this issue Jun 9, 2020 · 1 comment

Comments

@glennzw
Copy link

glennzw commented Jun 9, 2020

I suspect I'm being a right noob here, but I can't seem to get the app installed. I followed the installation instructions here, but when hitting gcloud app browse I end up with the following in the browser:

Traceback (most recent call last):
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/534e28e62871e9ae/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/534e28e62871e9ae/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 311, in _LoadHandler
    handler, path, err = LoadObject(self._handler)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/534e28e62871e9ae/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 85, in LoadObject
    obj = __import__(path[0])
  File "/base/data/home/apps/e~legit01/20200609t173630.427274252662959407/isthislegit.py", line 1, in <module>
    from app.report import report_blueprint
  File "/base/data/home/apps/e~legit01/20200609t173630.427274252662959407/app/report.py", line 2, in <module>
    from flanker.addresslib import address
  File "/base/data/home/apps/e~legit01/20200609t173630.427274252662959407/lib/flanker/addresslib/address.py", line 51, in <module>
    from flanker.addresslib.validate import (mail_exchanger_lookup,
  File "/base/data/home/apps/e~legit01/20200609t173630.427274252662959407/lib/flanker/addresslib/validate.py", line 42, in <module>
    from flanker.addresslib.plugins import aol
  File "/base/data/home/apps/e~legit01/20200609t173630.427274252662959407/lib/flanker/addresslib/plugins/aol.py", line 22, in <module>
    from flanker.addresslib.plugins._tokenizer import TokenStream
ImportError: No module named _tokenizer

Seems like the tokenizer module is missing, but I did run

pip install -r requirements.txt -t lib/

in the dashboard folder.

@rfdevere
Copy link

Not sure if we both pressed the wrong buttons but I am the same stage... any resolve?

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