Skip to content

Does it work with python 3.7? #3

@lsampaioweb

Description

@lsampaioweb

I have python 3.7 on my Mac OS (High Sierra) and when I try to run "python3 frontend.py" or "python3 backend.py" I get the following error message:

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid/path.py", line 380, in _zope_dottedname_style
found = getattr(found, n)
AttributeError: module 'pyramid_zipkin' has no attribute 'tween'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "frontend.py", line 40, in
main()
File "frontend.py", line 29, in main
config.include('pyramid_zipkin')
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid/config/init.py", line 839, in include
c(configurator)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid_zipkin/init.py", line 9, in includeme
config.add_tween('pyramid_zipkin.tween.zipkin_tween', over=EXCVIEW)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid/config/tweens.py", line 107, in add_tween
explicit=False)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid/util.py", line 590, in wrapper
result = wrapped(self, *arg, **kw)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid/config/tweens.py", line 126, in _add_tween
tween_factory = self.maybe_dotted(tween_factory)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid/config/init.py", line 912, in maybe_dotted
return self.name_resolver.maybe_resolve(dotted)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid/path.py", line 320, in maybe_resolve
return self._resolve(dotted, package)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid/path.py", line 327, in _resolve
return self._zope_dottedname_style(dotted, package)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid/path.py", line 382, in _zope_dottedname_style
import(used)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyramid_zipkin/tween.py", line 5, in
import py_zipkin.stack
ModuleNotFoundError: No module named 'py_zipkin.stack'


Running "pip3 list" I get:

Package Version

certifi 2018.8.13
chardet 3.0.4
Cython 0.28.5
hupper 1.3
idna 2.7
PasteDeploy 1.5.2
pip 18.0
plaster 1.0
plaster-pastedeploy 0.6
ply 3.11
py-zipkin 0.13.0
pyramid 1.9.2
pyramid-zipkin 0.21.0
pyramid-zipkin-example 0.1
repoze.lru 0.7
requests 2.19.1
setuptools 40.0.0
six 1.11.0
thriftpy 0.3.9
translationstring 1.3
urllib3 1.23
venusian 1.1.0
WebOb 1.8.2
zope.deprecation 4.3.0
zope.interface 4.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions