{"action":"created","issue":{"url":"https://api.github.com/repos/intel-analytics/BigDL/issues/1293","repository_url":"https://api.github.com/repos/intel-analytics/BigDL","labels_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/1293/labels{/name}","comments_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/1293/comments","events_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/1293/events","html_url":"https://github.com/intel-analytics/BigDL/issues/1293","id":244207451,"number":1293,"title":"error when running BigDL with Python 3.6","user":{"login":"hhbyyh","id":7981698,"avatar_url":"https://avatars3.githubusercontent.com/u/7981698?v=4","gravatar_id":"","url":"https://api.github.com/users/hhbyyh","html_url":"https://github.com/hhbyyh","followers_url":"https://api.github.com/users/hhbyyh/followers","following_url":"https://api.github.com/users/hhbyyh/following{/other_user}","gists_url":"https://api.github.com/users/hhbyyh/gists{/gist_id}","starred_url":"https://api.github.com/users/hhbyyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhbyyh/subscriptions","organizations_url":"https://api.github.com/users/hhbyyh/orgs","repos_url":"https://api.github.com/users/hhbyyh/repos","events_url":"https://api.github.com/users/hhbyyh/events{/privacy}","received_events_url":"https://api.github.com/users/hhbyyh/received_events","type":"User","site_admin":false},"labels":[{"id":650001911,"url":"https://api.github.com/repos/intel-analytics/BigDL/labels/0.2%20release%20test","name":"0.2 release test","color":"d93f0b","default":false},{"id":514567987,"url":"https://api.github.com/repos/intel-analytics/BigDL/labels/python","name":"python","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"zhichao-li","id":2662017,"avatar_url":"https://avatars3.githubusercontent.com/u/2662017?v=4","gravatar_id":"","url":"https://api.github.com/users/zhichao-li","html_url":"https://github.com/zhichao-li","followers_url":"https://api.github.com/users/zhichao-li/followers","following_url":"https://api.github.com/users/zhichao-li/following{/other_user}","gists_url":"https://api.github.com/users/zhichao-li/gists{/gist_id}","starred_url":"https://api.github.com/users/zhichao-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhichao-li/subscriptions","organizations_url":"https://api.github.com/users/zhichao-li/orgs","repos_url":"https://api.github.com/users/zhichao-li/repos","events_url":"https://api.github.com/users/zhichao-li/events{/privacy}","received_events_url":"https://api.github.com/users/zhichao-li/received_events","type":"User","site_admin":false},"assignees":[{"login":"zhichao-li","id":2662017,"avatar_url":"https://avatars3.githubusercontent.com/u/2662017?v=4","gravatar_id":"","url":"https://api.github.com/users/zhichao-li","html_url":"https://github.com/zhichao-li","followers_url":"https://api.github.com/users/zhichao-li/followers","following_url":"https://api.github.com/users/zhichao-li/following{/other_user}","gists_url":"https://api.github.com/users/zhichao-li/gists{/gist_id}","starred_url":"https://api.github.com/users/zhichao-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhichao-li/subscriptions","organizations_url":"https://api.github.com/users/zhichao-li/orgs","repos_url":"https://api.github.com/users/zhichao-li/repos","events_url":"https://api.github.com/users/zhichao-li/events{/privacy}","received_events_url":"https://api.github.com/users/zhichao-li/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-07-19T23:52:57Z","updated_at":"2017-11-16T01:16:40Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"using Python 3.6.1 |Anaconda 4.4.0 (64-bit)\r\n\r\nNeed specific documentation if we don't support Python 3.6\r\n\r\npip3 install BigDL==0.2.0.dev3\r\npython\r\n\r\nfrom bigdl.util.common import *\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/home/yuhao/anaconda3/lib/python3.6/site-packages/bigdl/util/common.py\", line 24, in <module>\r\n    from pyspark import RDD, SparkContext\r\n  File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 950, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 646, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 616, in _load_backward_compatible\r\n  File \"/home/yuhao/tmp/bigDLTest/spark-1.6.3-bin-hadoop2.6/python/lib/pyspark.zip/pyspark/__init__.py\", line 41, in <module>\r\n  File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 950, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 646, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 616, in _load_backward_compatible\r\n  File \"/home/yuhao/tmp/bigDLTest/spark-1.6.3-bin-hadoop2.6/python/lib/pyspark.zip/pyspark/context.py\", line 37, in <module>\r\n  File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 950, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 646, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 616, in _load_backward_compatible\r\n  File \"/home/yuhao/tmp/bigDLTest/spark-1.6.3-bin-hadoop2.6/python/lib/pyspark.zip/pyspark/rdd.py\", line 47, in <module>\r\n  File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 950, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 646, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 616, in _load_backward_compatible\r\n  File \"/home/yuhao/tmp/bigDLTest/spark-1.6.3-bin-hadoop2.6/python/lib/pyspark.zip/pyspark/statcounter.py\", line 24, in <module>\r\n  File \"/home/yuhao/anaconda3/lib/python3.6/site-packages/numpy/__init__.py\", line 146, in <module>\r\n    from . import add_newdocs\r\n  File \"/home/yuhao/anaconda3/lib/python3.6/site-packages/numpy/add_newdocs.py\", line 13, in <module>\r\n    from numpy.lib import add_newdoc\r\n  File \"/home/yuhao/anaconda3/lib/python3.6/site-packages/numpy/lib/__init__.py\", line 8, in <module>\r\n    from .type_check import *\r\n  File \"/home/yuhao/anaconda3/lib/python3.6/site-packages/numpy/lib/type_check.py\", line 11, in <module>\r\n    import numpy.core.numeric as _nx\r\n  File \"/home/yuhao/anaconda3/lib/python3.6/site-packages/numpy/core/__init__.py\", line 72, in <module>\r\n    from numpy.testing.nosetester import _numpy_tester\r\n  File \"/home/yuhao/anaconda3/lib/python3.6/site-packages/numpy/testing/__init__.py\", line 10, in <module>\r\n    from unittest import TestCase\r\n  File \"/home/yuhao/anaconda3/lib/python3.6/unittest/__init__.py\", line 58, in <module>\r\n    from .result import TestResult\r\n  File \"/home/yuhao/anaconda3/lib/python3.6/unittest/result.py\", line 7, in <module>\r\n    from . import util\r\n  File \"/home/yuhao/anaconda3/lib/python3.6/unittest/util.py\", line 119, in <module>\r\n    _Mismatch = namedtuple('Mismatch', 'actual expected value')\r\n  File \"/home/yuhao/tmp/bigDLTest/spark-1.6.3-bin-hadoop2.6/python/lib/pyspark.zip/pyspark/serializers.py\", line 381, in namedtuple\r\nTypeError: namedtuple() missing 3 required keyword-only arguments: 'verbose', 'rename', and 'module'\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/intel-analytics/BigDL/issues/comments/344783764","html_url":"https://github.com/intel-analytics/BigDL/issues/1293#issuecomment-344783764","issue_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/1293","id":344783764,"user":{"login":"zhichao-li","id":2662017,"avatar_url":"https://avatars3.githubusercontent.com/u/2662017?v=4","gravatar_id":"","url":"https://api.github.com/users/zhichao-li","html_url":"https://github.com/zhichao-li","followers_url":"https://api.github.com/users/zhichao-li/followers","following_url":"https://api.github.com/users/zhichao-li/following{/other_user}","gists_url":"https://api.github.com/users/zhichao-li/gists{/gist_id}","starred_url":"https://api.github.com/users/zhichao-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhichao-li/subscriptions","organizations_url":"https://api.github.com/users/zhichao-li/orgs","repos_url":"https://api.github.com/users/zhichao-li/repos","events_url":"https://api.github.com/users/zhichao-li/events{/privacy}","received_events_url":"https://api.github.com/users/zhichao-li/received_events","type":"User","site_admin":false},"created_at":"2017-11-16T01:16:40Z","updated_at":"2017-11-16T01:16:40Z","author_association":"CONTRIBUTOR","body":"As the jira suggested, python3.6 only works with Spark 1.6.4, 2.0.3, 2.1.1, 2.2.0. We need to upgrade Spark version in Jenkins if we want to add python3.6 into the workflow."}}
{"actor":{"display_login":"zhichao-li"}}