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

"pip install --editable ." fails on macos mojave #1631

Closed
Abhishek-Dev09-zz opened this issue Jun 28, 2019 · 26 comments
Closed

"pip install --editable ." fails on macos mojave #1631

Abhishek-Dev09-zz opened this issue Jun 28, 2019 · 26 comments

Comments

@Abhishek-Dev09-zz
Copy link

Abhishek-Dev09-zz commented Jun 28, 2019

1)First i have clone the repo and move to repo.
2)Then run ./configure
It says configuration completed.
3)Then i run pip install --editable .
OS- MacOS Mojave
Python 2.7 and 3.7
GCC- 9.1

Abhisheks-MacBook-Air:scancode-toolkit mymac$ pip install --editable .
Obtaining file:///Users/mymac/Documents/GitHub/scancode-toolkit
Requirement already satisfied: nltk<4.0,>=3.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (3.4.3)
Requirement already satisfied: publicsuffix2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (2.20190205)
Requirement already satisfied: url<0.1.6,>=0.1.4 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (0.1.5)
Requirement already satisfied: fingerprints==0.5.4 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (0.5.4)
Requirement already satisfied: patch<1.20,>=1.15 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (1.16)
Requirement already satisfied: bz2file>=0.98 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (0.98)
Requirement already satisfied: extractcode-libarchive in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (3.1.3)
Requirement already satisfied: extractcode-7z in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (9.38.2)
Requirement already satisfied: future>=0.16.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (0.17.1)
Requirement already satisfied: text-unidecode<2.0,>=1.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (1.2)
Requirement already satisfied: saneyaml in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (0.4)
Requirement already satisfied: bitarray<1.0.0,>=0.8.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (0.9.3)
Collecting intbitset<3.0,>=2.3.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/6b/02/071198144a273f8d89c28a4be8fa971b60a4d80a60bd4c8f1e9d7223d296/intbitset-2.3.0.tar.gz
Collecting boolean.py<4.0,>=3.5 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/9b/27/d22062a221010e17935237ba4b574cd828238ea02e0765337c238466a512/boolean.py-3.6-py2.py3-none-any.whl
Collecting license_expression<1.0,>=0.99 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/de/6b/65b4a2ee355a1ea1b78bdc858e314e767cedcc44e8aaf9cd46e4da41674b/license_expression-0.999-py2.py3-none-any.whl
Collecting pyahocorasick<1.5,>=1.4 (from scancode-toolkit==3.0.2)
Collecting lxml<5.0.0,>=4.0.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/1d/16/c220beb03c4b4609924f0fc1bee5e0e5e8082089103fdc0b2a7c8b8bb003/lxml-4.3.4-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting Beautifulsoup4<5.0.0,>=4.0.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/1d/5d/3260694a59df0ec52f8b4883f5d23b130bc237602a1411fa670eae12351e/beautifulsoup4-4.7.1-py3-none-any.whl
Collecting html5lib (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/a5/62/bbd2be0e7943ec8504b517e62bab011b4946e1258842bc159e5dfde15b96/html5lib-1.0.1-py2.py3-none-any.whl
Requirement already satisfied: six in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (1.12.0)
Collecting pdfminer.six>=20170720 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/8a/fd/6e8746e6965d1a7ea8e97253e3d79e625da5547e8f376f88de5d024bacb9/pdfminer.six-20181108-py2.py3-none-any.whl
Collecting pycryptodome>=3.4 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/b7/94/74a003a7dfbffed6064679e9f3c87a7b7866c652dc3c647ca2a01822d7ca/pycryptodome-3.8.2-cp37-cp37m-macosx_10_6_intel.whl
Collecting binaryornot>=0.4.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/24/7e/f7b6f453e6481d1e233540262ccbfcf89adcd43606f44a028d7f5fae5eb2/binaryornot-0.4.4-py2.py3-none-any.whl
Requirement already satisfied: chardet<4.0.0,>=3.0.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (3.0.4)
Collecting pygments<2.3,>=2.2.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl
Requirement already satisfied: typecode-libmagic in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from scancode-toolkit==3.0.2) (5.23.1)
Collecting pefile>=2018.8.8 (from scancode-toolkit==3.0.2)
Collecting pymaven-patch>=0.2.4 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/e2/ca/327608df90c8fd46e8437a1a101ebf3858ccefa1968b1dd2a2821c1b8ba4/pymaven_patch-0.2.5-py2.py3-none-any.whl
Collecting requests<3.0.0,>=2.7.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting packageurl-python>=0.7.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/24/33/1bba8e898fa25b9ef315066bd790620b36af214097e2fcbfb4d34afce524/packageurl_python-0.8.5-py2.py3-none-any.whl
Collecting xmltodict>=0.11.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/28/fd/30d5c1d3ac29ce229f6bdc40bbc20b28f716e8b363140c26eff19122d8a5/xmltodict-0.12.0-py2.py3-none-any.whl
Collecting javaproperties>=0.5 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/3e/ab/273a862537551fc7845871c59abc2eecb74ae53633c1f019d16eb5c2e121/javaproperties-0.5.2-py2.py3-none-any.whl
Collecting toml>=0.10.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
Collecting click<7.0.0,>=6.0.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
Collecting colorama>=0.3.9 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl
Collecting pluggy<1.0,>=0.4.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/06/ee/de89e0582276e3551df3110088bf20844de2b0e7df2748406876cc78e021/pluggy-0.12.0-py2.py3-none-any.whl
Collecting attrs<20.0,>=17.4 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting typing<3.7,>=3.6 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/4a/bd/eee1157fc2d8514970b345d69cb9975dcd1e42cd7e61146ed841f6e68309/typing-3.6.6-py3-none-any.whl
Collecting jinja2<3.0.0,>=2.7.0 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/ce/c6/f000f1af136ef74e4a95e33785921c73595c5390403f102e9b231b065b7a/MarkupSafe-1.1.1-cp37-cp37m-macosx_10_6_intel.whl
Collecting simplejson (from scancode-toolkit==3.0.2)
Collecting spdx-tools>=0.5.4 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/ed/55/489f189b0516bf70be3830572331da3311ef8713e476af40dccb6ee11b1d/spdx_tools-0.5.4-py2.py3-none-any.whl
Collecting unicodecsv (from scancode-toolkit==3.0.2)
Collecting yg.lockfile<3.0.0,>=2.0.1 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/39/86/19446e44425d4986e156af8990b399afe19df87bcb83b1e3023623143839/yg.lockfile-2.3-py2.py3-none-any.whl
Collecting contextlib2 (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/a2/71/8273a7eeed0aff6a854237ab5453bc9aa67deb49df4832801c21f0ff3782/contextlib2-0.5.5-py2.py3-none-any.whl
Collecting pytz (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl
Collecting tempora (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/5c/12/4c97c44e5c9d111649e363353a4ca3ece9c6cc04b11cc48540f26e42d7b9/tempora-1.14.1-py2.py3-none-any.whl
Collecting jaraco.timing (from scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/36/38/f4aa8b81780004e3131240d090f2422e46d31975de9a9688856a4303a5c1/jaraco.timing-2.0-py2.py3-none-any.whl
Collecting zc.lockfile<2.0.1,>=1.0.0 (from scancode-toolkit==3.0.2)
Requirement already satisfied: publicsuffix in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from url<0.1.6,>=0.1.4->scancode-toolkit==3.0.2) (1.1.0)
Requirement already satisfied: pyyaml in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from fingerprints==0.5.4->scancode-toolkit==3.0.2) (5.1.1)
Requirement already satisfied: normality>=0.4.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from fingerprints==0.5.4->scancode-toolkit==3.0.2) (1.0.0)
Collecting soupsieve>=1.2 (from Beautifulsoup4<5.0.0,>=4.0.0->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/35/e3/25079e8911085ab76a6f2facae0771078260c930216ab0b0c44dc5c9bf31/soupsieve-1.9.2-py2.py3-none-any.whl
Collecting webencodings (from html5lib->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Collecting sortedcontainers (from pdfminer.six>=20170720->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/13/f3/cf85f7c3a2dbd1a515d51e1f1676d971abe41bba6f4ab5443240d9a78e5b/sortedcontainers-2.1.0-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests<3.0.0,>=2.7.0->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests<3.0.0,>=2.7.0->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests<3.0.0,>=2.7.0->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl
Collecting importlib-metadata>=0.12 (from pluggy<1.0,>=0.4.0->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/bd/23/dce4879ec58acf3959580bfe769926ed8198727250c5e395e6785c764a02/importlib_metadata-0.18-py2.py3-none-any.whl
Collecting ply (from spdx-tools>=0.5.4->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl
Collecting rdflib (from spdx-tools>=0.5.4->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/3c/fe/630bacb652680f6d481b9febbb3e2c3869194a1a5fc3401a4a41195a2f8f/rdflib-4.2.2-py3-none-any.whl
Collecting jaraco.functools>=1.16 (from yg.lockfile<3.0.0,>=2.0.1->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/12/a4/3e7366d0f5e75dcad7be88524c8cbd0f3a9fb1db243269550981740c57fe/jaraco.functools-2.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from zc.lockfile<2.0.1,>=1.0.0->scancode-toolkit==3.0.2) (39.0.1)
Requirement already satisfied: banal>=0.4.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from normality>=0.4.0->fingerprints==0.5.4->scancode-toolkit==3.0.2) (0.4.2)
Requirement already satisfied: pyicu>=1.9.3 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from normality>=0.4.0->fingerprints==0.5.4->scancode-toolkit==3.0.2) (2.3.1)
Collecting zipp>=0.5 (from importlib-metadata>=0.12->pluggy<1.0,>=0.4.0->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/a0/0f/9bf71d438d2e9d5fd0e4569ea4d1a2b6f5a524c234c6d221b494298bb4d1/zipp-0.5.1-py2.py3-none-any.whl
Collecting pyparsing (from rdflib->spdx-tools>=0.5.4->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/dd/d9/3ec19e966301a6e25769976999bd7bbe552016f0d32b577dc9d63d2e0c49/pyparsing-2.4.0-py2.py3-none-any.whl
Collecting isodate (from rdflib->spdx-tools>=0.5.4->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/9b/9f/b36f7774ff5ea8e428fdcfc4bb332c39ee5b9362ddd3d40d9516a55221b2/isodate-0.6.0-py2.py3-none-any.whl
Collecting more-itertools (from jaraco.functools>=1.16->yg.lockfile<3.0.0,>=2.0.1->scancode-toolkit==3.0.2)
  Using cached https://files.pythonhosted.org/packages/1f/9e/942df77ddde2fae3f319f2ab8b5d00d5f6b115496e2eb4bad37d1aaefeea/more_itertools-7.1.0-py3-none-any.whl
Building wheels for collected packages: intbitset
  Building wheel for intbitset (setup.py) ... error
  ERROR: Complete output from command /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-install-b_i6h_i9/intbitset/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-wheel-qja36a3b --python-tag cp37:
  ERROR: running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.9-x86_64-3.7
  copying intbitset/intbitset_helper.py -> build/lib.macosx-10.9-x86_64-3.7
  copying intbitset/version.py -> build/lib.macosx-10.9-x86_64-3.7
  running egg_info
  writing intbitset/intbitset.egg-info/PKG-INFO
  writing dependency_links to intbitset/intbitset.egg-info/dependency_links.txt
  writing requirements to intbitset/intbitset.egg-info/requires.txt
  writing top-level names to intbitset/intbitset.egg-info/top_level.txt
  reading manifest file 'intbitset/intbitset.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.css' under directory 'docs/_themes'
  warning: no files found matching '*.css_t' under directory 'docs/_themes'
  warning: no files found matching '*.conf' under directory 'docs/_themes'
  warning: no files found matching '*.html' under directory 'docs/_themes'
  warning: no files found matching 'COPYING' under directory 'docs/_themes'
  warning: no files found matching 'README' under directory 'docs/_themes'
  warning: no files found matching '*.html' under directory 'docs/_templates'
  writing manifest file 'intbitset/intbitset.egg-info/SOURCES.txt'
  running build_ext
  building 'intbitset' extension
  creating build/temp.macosx-10.9-x86_64-3.7
  creating build/temp.macosx-10.9-x86_64-3.7/intbitset
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c intbitset/intbitset.c -o build/temp.macosx-10.9-x86_64-3.7/intbitset/intbitset.o -O3 -march=core2 -mtune=native
  intbitset/intbitset.c:1768:27: warning: 'PyObject_AsReadBuffer' is deprecated [-Wdeprecated-declarations]
              __pyx_t_4 = ((PyObject_AsReadBuffer(__pyx_v_tmp, (&__pyx_v_buf), (&__pyx_v_size)) < 0) != 0);
                            ^
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/abstract.h:492:39: note: 'PyObject_AsReadBuffer' has been explicitly marked deprecated here
                                        Py_DEPRECATED(3.0);
                                        ^
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pyport.h:493:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  intbitset/intbitset.c:8924:22: warning: 'PyObject_AsReadBuffer' is deprecated [-Wdeprecated-declarations]
        __pyx_t_10 = ((PyObject_AsReadBuffer(__pyx_v_tmp, (&__pyx_v_buf), (&__pyx_v_size)) < 0) != 0);
                       ^
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/abstract.h:492:39: note: 'PyObject_AsReadBuffer' has been explicitly marked deprecated here
                                        Py_DEPRECATED(3.0);
                                        ^
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pyport.h:493:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  intbitset/intbitset.c:14764:21: error: no member named 'exc_type' in 'struct _ts'
      *type = tstate->exc_type;
              ~~~~~~  ^
  intbitset/intbitset.c:14765:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      *value = tstate->exc_value;
                       ^~~~~~~~~
                       curexc_value
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  intbitset/intbitset.c:14766:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      *tb = tstate->exc_traceback;
                    ^~~~~~~~~~~~~
                    curexc_traceback
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  intbitset/intbitset.c:14773:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  intbitset/intbitset.c:14774:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  intbitset/intbitset.c:14775:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  intbitset/intbitset.c:14776:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = type;
      ~~~~~~  ^
  intbitset/intbitset.c:14777:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tstate->exc_value = value;
              ^~~~~~~~~
              curexc_value
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  intbitset/intbitset.c:14778:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tstate->exc_traceback = tb;
              ^~~~~~~~~~~~~
              curexc_traceback
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  intbitset/intbitset.c:14833:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  intbitset/intbitset.c:14834:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  intbitset/intbitset.c:14835:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  intbitset/intbitset.c:14836:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = local_type;
      ~~~~~~  ^
  intbitset/intbitset.c:14837:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tstate->exc_value = local_value;
              ^~~~~~~~~
              curexc_value
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  intbitset/intbitset.c:14838:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tstate->exc_traceback = local_tb;
              ^~~~~~~~~~~~~
              curexc_traceback
  /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  2 warnings and 15 errors generated.
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for intbitset
  Running setup.py clean for intbitset
Failed to build intbitset
Installing collected packages: intbitset, boolean.py, license-expression, pyahocorasick, lxml, soupsieve, Beautifulsoup4, webencodings, html5lib, pycryptodome, sortedcontainers, pdfminer.six, binaryornot, pygments, pefile, urllib3, idna, certifi, requests, pymaven-patch, packageurl-python, xmltodict, javaproperties, toml, click, colorama, zipp, importlib-metadata, pluggy, attrs, typing, MarkupSafe, jinja2, simplejson, ply, pyparsing, isodate, rdflib, spdx-tools, unicodecsv, more-itertools, jaraco.functools, pytz, tempora, zc.lockfile, yg.lockfile, contextlib2, jaraco.timing, scancode-toolkit
  Running setup.py install for intbitset ... error
    ERROR: Complete output from command /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-install-b_i6h_i9/intbitset/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-record-5fkzo0nl/install-record.txt --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.9-x86_64-3.7
    copying intbitset/intbitset_helper.py -> build/lib.macosx-10.9-x86_64-3.7
    copying intbitset/version.py -> build/lib.macosx-10.9-x86_64-3.7
    running egg_info
    writing intbitset/intbitset.egg-info/PKG-INFO
    writing dependency_links to intbitset/intbitset.egg-info/dependency_links.txt
    writing requirements to intbitset/intbitset.egg-info/requires.txt
    writing top-level names to intbitset/intbitset.egg-info/top_level.txt
    reading manifest file 'intbitset/intbitset.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.css' under directory 'docs/_themes'
    warning: no files found matching '*.css_t' under directory 'docs/_themes'
    warning: no files found matching '*.conf' under directory 'docs/_themes'
    warning: no files found matching '*.html' under directory 'docs/_themes'
    warning: no files found matching 'COPYING' under directory 'docs/_themes'
    warning: no files found matching 'README' under directory 'docs/_themes'
    warning: no files found matching '*.html' under directory 'docs/_templates'
    writing manifest file 'intbitset/intbitset.egg-info/SOURCES.txt'
    running build_ext
    building 'intbitset' extension
    creating build/temp.macosx-10.9-x86_64-3.7
    creating build/temp.macosx-10.9-x86_64-3.7/intbitset
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c intbitset/intbitset.c -o build/temp.macosx-10.9-x86_64-3.7/intbitset/intbitset.o -O3 -march=core2 -mtune=native
    intbitset/intbitset.c:1768:27: warning: 'PyObject_AsReadBuffer' is deprecated [-Wdeprecated-declarations]
                __pyx_t_4 = ((PyObject_AsReadBuffer(__pyx_v_tmp, (&__pyx_v_buf), (&__pyx_v_size)) < 0) != 0);
                              ^
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/abstract.h:492:39: note: 'PyObject_AsReadBuffer' has been explicitly marked deprecated here
                                          Py_DEPRECATED(3.0);
                                          ^
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pyport.h:493:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    intbitset/intbitset.c:8924:22: warning: 'PyObject_AsReadBuffer' is deprecated [-Wdeprecated-declarations]
          __pyx_t_10 = ((PyObject_AsReadBuffer(__pyx_v_tmp, (&__pyx_v_buf), (&__pyx_v_size)) < 0) != 0);
                         ^
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/abstract.h:492:39: note: 'PyObject_AsReadBuffer' has been explicitly marked deprecated here
                                          Py_DEPRECATED(3.0);
                                          ^
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pyport.h:493:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    intbitset/intbitset.c:14764:21: error: no member named 'exc_type' in 'struct _ts'
        *type = tstate->exc_type;
                ~~~~~~  ^
    intbitset/intbitset.c:14765:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        *value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    intbitset/intbitset.c:14766:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        *tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    intbitset/intbitset.c:14773:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    intbitset/intbitset.c:14774:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    intbitset/intbitset.c:14775:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    intbitset/intbitset.c:14776:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = type;
        ~~~~~~  ^
    intbitset/intbitset.c:14777:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tstate->exc_value = value;
                ^~~~~~~~~
                curexc_value
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    intbitset/intbitset.c:14778:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tstate->exc_traceback = tb;
                ^~~~~~~~~~~~~
                curexc_traceback
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    intbitset/intbitset.c:14833:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    intbitset/intbitset.c:14834:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    intbitset/intbitset.c:14835:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    intbitset/intbitset.c:14836:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = local_type;
        ~~~~~~  ^
    intbitset/intbitset.c:14837:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tstate->exc_value = local_value;
                ^~~~~~~~~
                curexc_value
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    intbitset/intbitset.c:14838:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tstate->exc_traceback = local_tb;
                ^~~~~~~~~~~~~
                curexc_traceback
    /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    2 warnings and 15 errors generated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-install-b_i6h_i9/intbitset/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-record-5fkzo0nl/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-install-b_i6h_i9/intbitset/
Abhisheks-MacBook-Air:scancode-toolkit mymac$ gcc-9 --version
gcc-9 (Homebrew GCC 9.1.0) 9.1.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.''


@pombredanne
Copy link
Member

@Abhishek-Dev09 here is the way you make this work

  1. clone the repo and cd to the repo.
  2. Then run ./configure
  3. Then source bin/activate

./configure runs pip install --editable . for you. Do not run it yourself.

If you want to switch to use another Python version:

  1. run deactivate
  2. run ./configure --clean
  3. run PYTHON_EXE=python3 ./configure for instance... to switch to python3. PYTHON_EXE is an environment variable that points to the path of the python exe
  4. source bin/activate

@Abhishek-Dev09-zz
Copy link
Author

Abhishek-Dev09-zz commented Jun 28, 2019

@pombredanne : Sorry i think i have to work in develop mode but you have solved dependencies that embedded in configure.
After switching to python 3.When i run PYTHON_EXE=python3 ./configure .I got these errors

Collecting future>=0.16.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/Github/scancode-toolkit/etc/conf/requirements_base.txt (line 10)) ERROR: Could not find a version that satisfies the requirement future>=0.16.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/Github/scancode-toolkit/etc/conf/requirements_base.txt (line 10)) (from versions: none) ERROR: No matching distribution found for future>=0.16.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/Github/scancode-toolkit/etc/conf/requirements_base.txt (line 10))

Traceback (most recent call last): File "/Users/mymac/Documents/Github/scancode-toolkit/etc/configure.py", line 580, in <module> install_3pp(configs, root_dir, thirdparty_dirs, quiet=quiet) File "/Users/mymac/Documents/Github/scancode-toolkit/etc/configure.py", line 282, in install_3pp run_pip(requirements, root_dir, tpp_dirs, quiet) File "/Users/mymac/Documents/Github/scancode-toolkit/etc/configure.py", line 306, in run_pip call(pcmd, root_dir) File "/Users/mymac/Documents/Github/scancode-toolkit/etc/configure.py", line 133, in call subprocess.check_call(cmd, shell=True, env=dict(os.environ), cwd=root_dir) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 341, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '"/Users/mymac/Documents/Github/scancode-toolkit/bin/pip" install --upgrade --no-index --no-cache-dir --no-warn-script-location --find-links="/Users/mymac/Documents/Github/scancode-toolkit/thirdparty" --requirement "/Users/mymac/Documents/Github/scancode-toolkit/etc/conf/requirements_base.txt" --requirement "/Users/mymac/Documents/Github/scancode-toolkit/etc/conf/dev/requirements_base.txt"' returned non-zero exit status 1.

Abhisheks-MacBook-Air:scancode-toolkit mymac$ Python --version Python 2.7.10 Abhisheks-MacBook-Air:scancode-toolkit mymac$ source bin/activate (scancode-toolkit) Abhisheks-MacBook-Air:scancode-toolkit mymac$ Python --version Python 3.7.1

@pombredanne
Copy link
Member

@Abhishek-Dev09 you wrote:

Sorry i think i have to work in develop mode but you have solved dependencies that embedded in configure.

Running configure does install scancode in --editable mode.

Python --version Python 3.7.1

We do not support Python 3.7 yet for now. Let's stick with 3.6 as a minimum and maximum requirement.

In anycase things are not yet fully there on macOS with 3.6 as you can see here:
https://dev.azure.com/nexB/scancode-toolkit/_build/results?buildId=346

2019-06-28T15:58:53.1654560Z ##[section]Starting: Run Configure
2019-06-28T15:58:53.1659240Z ==============================================================================
2019-06-28T15:58:53.1659360Z Task         : Command line
2019-06-28T15:58:53.1659530Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2019-06-28T15:58:53.1659630Z Version      : 2.151.1
2019-06-28T15:58:53.1659790Z Author       : Microsoft Corporation
2019-06-28T15:58:53.1659890Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2019-06-28T15:58:53.1660060Z ==============================================================================
2019-06-28T15:58:53.3651240Z Generating script.
2019-06-28T15:58:53.3678950Z Script contents:
2019-06-28T15:58:53.3679790Z ./configure
2019-06-28T15:58:53.3680980Z ========================== Starting Command Output ===========================
2019-06-28T15:58:53.3850370Z [command]/bin/bash --noprofile --norc /Users/vsts/agent/2.153.2/work/_temp/3c92b547-9bd5-4b9a-a641-d509c10dd23f.sh
2019-06-28T15:58:57.7882190Z Looking in links: /Users/vsts/agent/2.153.2/work/1/s/thirdparty
2019-06-28T15:58:57.8431140Z Collecting pip
2019-06-28T15:58:58.0881120Z Collecting setuptools
2019-06-28T15:58:58.1981590Z Collecting virtualenv
2019-06-28T15:58:58.2742120Z Collecting wheel
2019-06-28T15:58:58.3618550Z Installing collected packages: pip, setuptools, virtualenv, wheel
2019-06-28T15:58:58.3619760Z   Found existing installation: pip 18.1
2019-06-28T15:58:59.1300560Z     Uninstalling pip-18.1:
2019-06-28T15:58:59.3686470Z       Successfully uninstalled pip-18.1
2019-06-28T15:59:00.7478490Z   Found existing installation: setuptools 40.6.2
2019-06-28T15:59:00.9627430Z     Uninstalling setuptools-40.6.2:
2019-06-28T15:59:01.0170160Z       Successfully uninstalled setuptools-40.6.2
2019-06-28T15:59:01.4936950Z Successfully installed pip-19.1.1 setuptools-41.0.1 virtualenv-16.0.0 wheel-0.33.4
2019-06-28T15:59:02.1285390Z Looking in links: /Users/vsts/agent/2.153.2/work/1/s/thirdparty
2019-06-28T15:59:02.1294420Z Obtaining file:///Users/vsts/agent/2.153.2/work/1/s (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:05.7805020Z Collecting certifi (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 2))
2019-06-28T15:59:05.8978570Z Requirement already up-to-date: setuptools in ./lib/python3.6/site-packages (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 3)) (41.0.1)
2019-06-28T15:59:05.9623730Z Requirement already up-to-date: wheel in ./lib/python3.6/site-packages (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 4)) (0.33.4)
2019-06-28T15:59:06.0134390Z Requirement already up-to-date: pip in ./lib/python3.6/site-packages (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 5)) (19.1.1)
2019-06-28T15:59:06.0182850Z Collecting wincertstore (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 6))
2019-06-28T15:59:06.0809620Z Collecting six (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 7))
2019-06-28T15:59:06.1434270Z Collecting aboutcode-toolkit (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 2))
2019-06-28T15:59:06.2217260Z Collecting apipkg (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 3))
2019-06-28T15:59:06.2835120Z Collecting py (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 4))
2019-06-28T15:59:06.3635790Z Collecting pytest (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 5))
2019-06-28T15:59:06.4806120Z Collecting colorama (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 6))
2019-06-28T15:59:06.5538770Z Collecting execnet (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 7))
2019-06-28T15:59:06.6297670Z Collecting pytest-xdist (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 8))
2019-06-28T15:59:06.7095600Z Collecting bumpversion (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 9))
2019-06-28T15:59:06.7775890Z Collecting coverage (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 10))
2019-06-28T15:59:06.8607450Z Collecting pytest-cov (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 11))
2019-06-28T15:59:06.9413620Z Collecting codecov (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 12))
2019-06-28T15:59:07.0069980Z Collecting pytest-rerunfailures (from -r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 13))
2019-06-28T15:59:07.0750480Z Collecting nltk<4.0,>=3.2 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:07.3213390Z Collecting publicsuffix2 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:07.3969150Z Collecting url<0.1.6,>=0.1.4 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:07.4595940Z Collecting fingerprints==0.5.4 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:07.5339410Z Collecting patch<1.20,>=1.15 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:07.5985130Z Collecting bz2file>=0.98 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:07.6609240Z Collecting extractcode-libarchive (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:07.7410680Z Collecting extractcode-7z (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:07.8354130Z Collecting future>=0.16.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:08.0043500Z Collecting text-unidecode<2.0,>=1.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:08.0745420Z Collecting saneyaml (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:08.1374670Z Collecting bitarray<1.0.0,>=0.8.1 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:08.5765260Z Collecting intbitset<3.0,>=2.3.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:09.0411810Z Collecting boolean.py<4.0,>=3.5 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:09.1072190Z Collecting license_expression<1.0,>=0.99 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:09.1726480Z Collecting pyahocorasick<1.5,>=1.4 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:09.2388990Z Collecting lxml<5.0.0,>=4.0.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:09.6015990Z Collecting Beautifulsoup4<5.0.0,>=4.0.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:09.6771440Z Collecting html5lib (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:09.7755500Z Collecting pdfminer.six>=20170720 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:09.9830040Z Collecting pycryptodome>=3.4 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:15.6908330Z Collecting binaryornot>=0.4.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:15.7582540Z Collecting chardet<4.0.0,>=3.0.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:15.8516160Z Collecting pygments<2.3,>=2.2.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.0512550Z Collecting typecode-libmagic (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.1688300Z Collecting pefile>=2018.8.8 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.2410020Z Collecting pymaven-patch>=0.2.4 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.3185450Z Collecting requests<3.0.0,>=2.7.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.4196590Z Collecting packageurl-python>=0.7.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.4880680Z Collecting xmltodict>=0.11.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.5554050Z Collecting javaproperties>=0.5 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.6214970Z Collecting toml>=0.10.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.6877290Z Collecting pkginfo>=1.5.0.1 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.7620810Z Collecting dparse>=0.4.1 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.8336530Z Collecting click<7.0.0,>=6.0.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.9071300Z Collecting pluggy<1.0,>=0.4.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:16.9808100Z Collecting attrs<20.0,>=17.4 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:17.0743450Z Collecting typing<3.7,>=3.6 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:17.1425620Z Collecting jinja2<3.0.0,>=2.7.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:17.2316390Z Collecting MarkupSafe>=0.23 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:17.2943270Z Collecting simplejson (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:17.7462520Z Collecting spdx-tools>=0.5.4 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:17.8335870Z Collecting unicodecsv (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:17.8973230Z Collecting yg.lockfile<3.0.0,>=2.0.1 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:17.9667590Z Collecting contextlib2 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:18.0292070Z Collecting pytz (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:18.3273850Z Collecting tempora (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:18.4000120Z Collecting jaraco.timing (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:18.4648050Z Collecting zc.lockfile<2.0.1,>=1.0.0 (from scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:18.5369860Z Collecting backports.csv (from aboutcode-toolkit->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 2))
2019-06-28T15:59:18.5970390Z Collecting PyYAML<4.0,>=3.0 (from aboutcode-toolkit->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 2))
2019-06-28T15:59:19.3567070Z Collecting atomicwrites>=1.0 (from pytest->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 5))
2019-06-28T15:59:19.4207720Z Collecting wcwidth (from pytest->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 5))
2019-06-28T15:59:19.4944680Z Collecting more-itertools>=4.0.0; python_version > "2.7" (from pytest->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 5))
2019-06-28T15:59:19.5718310Z Collecting packaging (from pytest->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 5))
2019-06-28T15:59:19.6419600Z Collecting importlib-metadata>=0.12 (from pytest->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 5))
2019-06-28T15:59:19.7225430Z Collecting pytest-forked (from pytest-xdist->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 8))
2019-06-28T15:59:19.7921440Z Collecting normality>=0.4.0 (from fingerprints==0.5.4->scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:19.8603750Z Collecting webencodings (from html5lib->scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:19.9253300Z Collecting sortedcontainers (from pdfminer.six>=20170720->scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:19.9899210Z Collecting urllib3<1.23,>=1.21.1 (from requests<3.0.0,>=2.7.0->scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:20.0920710Z Collecting idna<2.7,>=2.5 (from requests<3.0.0,>=2.7.0->scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:20.1695970Z Collecting ply (from spdx-tools>=0.5.4->scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:20.2355780Z Collecting rdflib (from spdx-tools>=0.5.4->scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:20.3529750Z Collecting pyparsing>=2.0.2 (from packaging->pytest->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 5))
2019-06-28T15:59:20.4189360Z Collecting zipp>=0.5 (from importlib-metadata>=0.12->pytest->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/requirements_base.txt (line 5))
2019-06-28T15:59:20.4871560Z Collecting banal (from normality>=0.4.0->fingerprints==0.5.4->scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:20.5534630Z Collecting isodate (from rdflib->spdx-tools>=0.5.4->scancode-toolkit==3.0.2->-r /Users/vsts/agent/2.153.2/work/1/s/etc/conf/requirements_base.txt (line 10))
2019-06-28T15:59:20.6270570Z Building wheels for collected packages: bitarray, intbitset, pycryptodome, simplejson, PyYAML
2019-06-28T15:59:20.6280810Z   Building wheel for bitarray (setup.py): started
2019-06-28T15:59:22.3709330Z   Building wheel for bitarray (setup.py): finished with status 'done'
2019-06-28T15:59:22.3715980Z   Stored in directory: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-ephem-wheel-cache-gm6j_bup/wheels/7f/c1/7b/fbc84cdd1eb2c105925d6637a003a49288d6211970394cb7a5
2019-06-28T15:59:22.3855880Z   Building wheel for intbitset (setup.py): started
2019-06-28T15:59:26.2256280Z   Building wheel for intbitset (setup.py): finished with status 'done'
2019-06-28T15:59:26.2262790Z   Stored in directory: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-ephem-wheel-cache-gm6j_bup/wheels/94/75/1c/6d6be071d02b0a4271d083e34848c69636d7a38f8b07a00ba4
2019-06-28T15:59:26.2425180Z   Building wheel for pycryptodome (setup.py): started
2019-06-28T16:00:00.3129960Z   Building wheel for pycryptodome (setup.py): finished with status 'done'
2019-06-28T16:00:00.3138090Z   Stored in directory: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-ephem-wheel-cache-gm6j_bup/wheels/64/db/c1/5df655b716473f9cbe482e154b7c752eb81a0503691244bf6c
2019-06-28T16:00:00.8036770Z   Building wheel for simplejson (setup.py): started
2019-06-28T16:00:02.4800590Z   Building wheel for simplejson (setup.py): finished with status 'done'
2019-06-28T16:00:02.4806860Z   Stored in directory: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-ephem-wheel-cache-gm6j_bup/wheels/93/09/16/1fdec4eb447e38a6e742a6a235357f49e85235d73acc2d6970
2019-06-28T16:00:02.5156590Z   Building wheel for PyYAML (setup.py): started
2019-06-28T16:00:07.4055320Z   Building wheel for PyYAML (setup.py): finished with status 'done'
2019-06-28T16:00:07.4061330Z   Stored in directory: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-ephem-wheel-cache-gm6j_bup/wheels/cb/79/e4/523d7ad7fceb6b46d062439c70684181996b59dc94c3eb6fb6
2019-06-28T16:00:07.5692830Z Successfully built bitarray intbitset pycryptodome simplejson PyYAML
2019-06-28T16:00:07.8662380Z Installing collected packages: certifi, wincertstore, six, boolean.py, MarkupSafe, jinja2, backports.csv, PyYAML, license-expression, click, aboutcode-toolkit, apipkg, py, attrs, zipp, importlib-metadata, pluggy, atomicwrites, wcwidth, more-itertools, pyparsing, packaging, pytest, colorama, execnet, pytest-forked, pytest-xdist, bumpversion, coverage, pytest-cov, chardet, urllib3, idna, requests, codecov, pytest-rerunfailures, nltk, publicsuffix2, url, banal, normality, fingerprints, patch, bz2file, extractcode-libarchive, extractcode-7z, future, text-unidecode, saneyaml, bitarray, intbitset, pyahocorasick, lxml, Beautifulsoup4, webencodings, html5lib, pycryptodome, sortedcontainers, pdfminer.six, binaryornot, pygments, typecode-libmagic, pefile, pymaven-patch, packageurl-python, xmltodict, javaproperties, toml, pkginfo, dparse, typing, simplejson, ply, isodate, rdflib, spdx-tools, unicodecsv, pytz, tempora, jaraco.timing, zc.lockfile, yg.lockfile, contextlib2, scancode-toolkit
2019-06-28T16:00:15.9414280Z   Running setup.py develop for scancode-toolkit
2019-06-28T16:00:21.1787720Z Successfully installed Beautifulsoup4-4.6.0 MarkupSafe-1.0 PyYAML-3.12 aboutcode-toolkit-3.2.1 apipkg-1.5 atomicwrites-1.3.0 attrs-19.1.0 backports.csv-1.0.6 banal-0.3.3 binaryornot-0.4.4 bitarray-0.8.1 boolean.py-3.6 bumpversion-0.5.4.dev0 bz2file-0.98 certifi-2018.4.16 chardet-3.0.4 click-6.7 codecov-2.0.15 colorama-0.3.9 contextlib2-0.5.5 coverage-4.4.1 dparse-0.4.1 execnet-1.6.0 extractcode-7z-9.38.2 extractcode-libarchive-3.1.3 fingerprints-0.5.4 future-0.16.0 html5lib-0.999999999 idna-2.6 importlib-metadata-0.18 intbitset-2.3.0 isodate-0.6.0 jaraco.timing-1.3.2 javaproperties-0.5.1 jinja2-2.10 license-expression-0.99 lxml-4.2.1 more-itertools-5.0.0 nltk-3.2 normality-0.5.12 packageurl-python-0.8.5 packaging-19.0 patch-1.16 pdfminer.six-20181108 pefile-2018.8.8 pkginfo-1.5.0.1 pluggy-0.12.0 ply-3.9 publicsuffix2-2.20180921 py-1.8.0 pyahocorasick-1.4.0 pycryptodome-3.6.1 pygments-2.2.0 pymaven-patch-0.2.5 pyparsing-2.4.0 pytest-4.6.3 pytest-cov-2.7.1 pytest-forked-1.0.2 pytest-rerunfailures-7.0 pytest-xdist-1.29.0 pytz-2018.4 rdflib-4.2.1 requests-2.18.4 saneyaml-0.1 scancode-toolkit simplejson-3.15.0 six-1.12.0 sortedcontainers-2.0.5 spdx-tools-0.5.4 tempora-1.7 text-unidecode-1.2 toml-0.10.0 typecode-libmagic-5.23.1 typing-3.6.4 unicodecsv-0.14.1 url-0.1.4.5 urllib3-1.22 wcwidth-0.1.7 webencodings-0.5 wincertstore-0.2 xmltodict-0.11.0 yg.lockfile-2.2.2 zc.lockfile-1.2.1 zipp-0.5.1
2019-06-28T16:00:22.2185170Z Traceback (most recent call last):
2019-06-28T16:00:22.2185830Z   File "/Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/base.py", line 37, in <module>
2019-06-28T16:00:22.2186240Z     setup_vscode()
2019-06-28T16:00:22.2186440Z   File "/Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/base.py", line 25, in setup_vscode
2019-06-28T16:00:22.2186760Z     from commoncode.fileutils import create_dir
2019-06-28T16:00:22.2187060Z   File "/Users/vsts/agent/2.153.2/work/1/s/src/commoncode/fileutils.py", line 100, in <module>
2019-06-28T16:00:22.2187250Z     PATH_TYPE = unicode
2019-06-28T16:00:22.2188580Z NameError: name 'unicode' is not defined
2019-06-28T16:00:22.2305630Z * Configuring Python ...
2019-06-28T16:00:22.2306330Z * Installing components ...
2019-06-28T16:00:22.2306520Z * Installing components ...
2019-06-28T16:00:22.2306760Z * Configuring ...
2019-06-28T16:00:22.2336030Z Traceback (most recent call last):
2019-06-28T16:00:22.2336510Z   File "/Users/vsts/agent/2.153.2/work/1/s/etc/configure.py", line 581, in <module>
2019-06-28T16:00:22.2337310Z     run_scripts(configs, root_dir, configured_python, quiet=quiet)
2019-06-28T16:00:22.2337780Z   File "/Users/vsts/agent/2.153.2/work/1/s/etc/configure.py", line 318, in run_scripts
2019-06-28T16:00:22.2338090Z     call(cmd, root_dir)
2019-06-28T16:00:22.2338510Z   File "/Users/vsts/agent/2.153.2/work/1/s/etc/configure.py", line 133, in call
2019-06-28T16:00:22.2338950Z     subprocess.check_call(cmd, shell=True, env=dict(os.environ), cwd=root_dir)
2019-06-28T16:00:22.2339290Z   File "/Users/vsts/hostedtoolcache/Python/3.6.8/x64/lib/python3.6/subprocess.py", line 311, in check_call
2019-06-28T16:00:22.2339930Z     raise CalledProcessError(retcode, cmd)
2019-06-28T16:00:22.2341310Z subprocess.CalledProcessError: Command '"/Users/vsts/agent/2.153.2/work/1/s/bin/python" "/Users/vsts/agent/2.153.2/work/1/s/etc/conf/dev/base.py"' returned non-zero exit status 1.
2019-06-28T16:00:22.2534790Z ##[section]Finishing: Run Configure

@Abhishek-Dev09-zz
Copy link
Author

@pombredanne: Previously i working in develop mode because plugins have circular dependencies as you have break. I have not seen that changes .
Great 🤙
Ok, i moving to python 3.6

@pombredanne
Copy link
Member

because plugins have circular dependencies

This is no longer the case when using a clean and up to date develop or branch based on it

@Abhishek-Dev09-zz
Copy link
Author

Abhishek-Dev09-zz commented Jun 28, 2019

@pombredanne : Yes , I got same error that you commented (azure) with python 3.6.8 .Then we have to fix it or move to ubuntu.

pombredanne added a commit that referenced this issue Jun 28, 2019
The code is not yet ported to Python 3

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne
Copy link
Member

@Abhishek-Dev09 Please try this new branch I have just pushed. https://github.com/nexB/scancode-toolkit/compare/295-configure

@Abhishek-Dev09-zz
Copy link
Author

@pombredanne : I got this
* Configuring ... Traceback (most recent call last): File "/Users/mymac/Documents/GitHub/scancode-toolkit/etc/configure.py", line 582, in <module> chmod_bin(bin_dir) File "/Users/mymac/Documents/GitHub/scancode-toolkit/etc/configure.py", line 339, in chmod_bin os.chmod(os.path.join(path, f), rwx) PermissionError: [Errno 1] Operation not permitted: '/Users/mymac/Documents/GitHub/scancode-toolkit/bin/python3'

@pombredanne
Copy link
Member

@Abhishek-Dev09 I need the whole trace not just this.

@Abhishek-Dev09-zz
Copy link
Author

Abhishek-Dev09-zz commented Jun 28, 2019

@pombredanne : Whole trace

(scancode-toolkit) Abhisheks-MacBook-Air:scancode-toolkit mymac$ git branch
  245-lzip
* 295-configure
  develop
  test
(scancode-toolkit) Abhisheks-MacBook-Air:scancode-toolkit mymac$ deactivate
Abhisheks-MacBook-Air:scancode-toolkit mymac$ ./configure --clean
* Cleaning ...
Abhisheks-MacBook-Air:scancode-toolkit mymac$ PYTHON_EXE=python3 ./configure
* Configuring Python ...
* Installing components ...
Looking in links: /Users/mymac/Documents/GitHub/scancode-toolkit/thirdparty
Collecting pip
Collecting setuptools
Collecting virtualenv
Collecting wheel
Installing collected packages: pip, setuptools, virtualenv, wheel
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
  Found existing installation: setuptools 40.6.2
    Uninstalling setuptools-40.6.2:
      Successfully uninstalled setuptools-40.6.2
Successfully installed pip-19.1.1 setuptools-41.0.1 virtualenv-16.0.0 wheel-0.33.4
* Installing components ...
Looking in links: /Users/mymac/Documents/GitHub/scancode-toolkit/thirdparty
Obtaining file:///Users/mymac/Documents/GitHub/scancode-toolkit (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting certifi (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 2))
Requirement already up-to-date: setuptools in ./lib/python3.6/site-packages (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 3)) (41.0.1)
Requirement already up-to-date: wheel in ./lib/python3.6/site-packages (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 4)) (0.33.4)
Requirement already up-to-date: pip in ./lib/python3.6/site-packages (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 5)) (19.1.1)
Collecting wincertstore (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 6))
Collecting six (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 7))
Collecting aboutcode-toolkit (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 2))
Collecting apipkg (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 3))
Collecting py (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 4))
Collecting pytest (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting colorama (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 6))
Collecting execnet (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 7))
Collecting pytest-xdist (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 8))
Collecting bumpversion (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 9))
Collecting coverage (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 10))
Collecting pytest-cov (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 11))
Collecting codecov (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 12))
Collecting pytest-rerunfailures (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 13))
Collecting nltk<4.0,>=3.2 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting publicsuffix2 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting url<0.1.6,>=0.1.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting fingerprints==0.5.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting patch<1.20,>=1.15 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting bz2file>=0.98 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting extractcode-libarchive (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting extractcode-7z (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting future>=0.16.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting text-unidecode<2.0,>=1.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting saneyaml (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting bitarray<1.0.0,>=0.8.1 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting intbitset<3.0,>=2.3.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting boolean.py<4.0,>=3.5 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting license_expression<1.0,>=0.99 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pyahocorasick<1.5,>=1.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting lxml<5.0.0,>=4.0.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting Beautifulsoup4<5.0.0,>=4.0.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting html5lib (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pdfminer.six>=20170720 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pycryptodome>=3.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting binaryornot>=0.4.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting chardet<4.0.0,>=3.0.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pygments<2.3,>=2.2.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting typecode-libmagic (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pefile>=2018.8.8 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pymaven-patch>=0.2.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting requests<3.0.0,>=2.7.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting packageurl-python>=0.7.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting xmltodict>=0.11.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting javaproperties>=0.5 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting toml>=0.10.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pkginfo>=1.5.0.1 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting dparse>=0.4.1 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting click<7.0.0,>=6.0.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pluggy<1.0,>=0.4.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting attrs<20.0,>=17.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting typing<3.7,>=3.6 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting jinja2<3.0.0,>=2.7.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting MarkupSafe>=0.23 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting simplejson (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting spdx-tools>=0.5.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting unicodecsv (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting yg.lockfile<3.0.0,>=2.0.1 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting contextlib2 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pytz (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting tempora (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting jaraco.timing (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting zc.lockfile<2.0.1,>=1.0.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting backports.csv (from aboutcode-toolkit->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 2))
Collecting PyYAML<4.0,>=3.0 (from aboutcode-toolkit->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 2))
Collecting atomicwrites>=1.0 (from pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting wcwidth (from pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting more-itertools>=4.0.0; python_version > "2.7" (from pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting packaging (from pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting importlib-metadata>=0.12 (from pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting pytest-forked (from pytest-xdist->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 8))
Collecting normality>=0.4.0 (from fingerprints==0.5.4->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting webencodings (from html5lib->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting sortedcontainers (from pdfminer.six>=20170720->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting idna<2.7,>=2.5 (from requests<3.0.0,>=2.7.0->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting urllib3<1.23,>=1.21.1 (from requests<3.0.0,>=2.7.0->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting ply (from spdx-tools>=0.5.4->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting rdflib (from spdx-tools>=0.5.4->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pyparsing>=2.0.2 (from packaging->pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting zipp>=0.5 (from importlib-metadata>=0.12->pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting banal (from normality>=0.4.0->fingerprints==0.5.4->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting isodate (from rdflib->spdx-tools>=0.5.4->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Building wheels for collected packages: bitarray, intbitset, pycryptodome, simplejson, PyYAML
  Building wheel for bitarray (setup.py) ... done
  Stored in directory: /private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-ephem-wheel-cache-n3unyix_/wheels/87/43/02/9912ea3a44b8cac37df9136f923d8b3df9431b4ef51f48de9e
  Building wheel for intbitset (setup.py) ... done
  Stored in directory: /private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-ephem-wheel-cache-n3unyix_/wheels/37/9c/2c/bc9a7fef64764cb6008bf2b13de65a83f0978d917f0f89e4df
  Building wheel for pycryptodome (setup.py) ... done
  Stored in directory: /private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-ephem-wheel-cache-n3unyix_/wheels/99/2f/dc/0eff69a8d0bfe49680006f7a31e3c878038da4310cd9f1b222
  Building wheel for simplejson (setup.py) ... done
  Stored in directory: /private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-ephem-wheel-cache-n3unyix_/wheels/16/1a/0e/35b2b5f4973f2ae8a073732eb2ed2ab544d4c4454589e04ab9
  Building wheel for PyYAML (setup.py) ... done
  Stored in directory: /private/var/folders/y6/fyxbw6zs0jv_9lhwb6lh2cvh0000gn/T/pip-ephem-wheel-cache-n3unyix_/wheels/74/f5/c8/09e325fb561f929b969022231da2e7040f2bf2c8bf00a80e4c
Successfully built bitarray intbitset pycryptodome simplejson PyYAML
Installing collected packages: certifi, wincertstore, six, MarkupSafe, jinja2, boolean.py, license-expression, backports.csv, click, PyYAML, aboutcode-toolkit, apipkg, py, attrs, atomicwrites, wcwidth, more-itertools, pyparsing, packaging, zipp, importlib-metadata, pluggy, pytest, colorama, execnet, pytest-forked, pytest-xdist, bumpversion, coverage, pytest-cov, idna, chardet, urllib3, requests, codecov, pytest-rerunfailures, nltk, publicsuffix2, url, banal, normality, fingerprints, patch, bz2file, extractcode-libarchive, extractcode-7z, future, text-unidecode, saneyaml, bitarray, intbitset, pyahocorasick, lxml, Beautifulsoup4, webencodings, html5lib, pycryptodome, sortedcontainers, pdfminer.six, binaryornot, pygments, typecode-libmagic, pefile, pymaven-patch, packageurl-python, xmltodict, javaproperties, toml, pkginfo, dparse, typing, simplejson, ply, isodate, rdflib, spdx-tools, unicodecsv, zc.lockfile, pytz, tempora, jaraco.timing, yg.lockfile, contextlib2, scancode-toolkit
  Running setup.py develop for scancode-toolkit
Successfully installed Beautifulsoup4-4.6.0 MarkupSafe-1.0 PyYAML-3.12 aboutcode-toolkit-3.2.1 apipkg-1.5 atomicwrites-1.3.0 attrs-19.1.0 backports.csv-1.0.6 banal-0.3.3 binaryornot-0.4.4 bitarray-0.8.1 boolean.py-3.6 bumpversion-0.5.4.dev0 bz2file-0.98 certifi-2018.4.16 chardet-3.0.4 click-6.7 codecov-2.0.15 colorama-0.3.9 contextlib2-0.5.5 coverage-4.4.1 dparse-0.4.1 execnet-1.6.0 extractcode-7z-9.38.2 extractcode-libarchive-3.1.3 fingerprints-0.5.4 future-0.16.0 html5lib-0.999999999 idna-2.6 importlib-metadata-0.18 intbitset-2.3.0 isodate-0.6.0 jaraco.timing-1.3.2 javaproperties-0.5.1 jinja2-2.10 license-expression-0.99 lxml-4.2.1 more-itertools-5.0.0 nltk-3.2 normality-0.5.12 packageurl-python-0.8.5 packaging-19.0 patch-1.16 pdfminer.six-20181108 pefile-2018.8.8 pkginfo-1.5.0.1 pluggy-0.12.0 ply-3.9 publicsuffix2-2.20180921 py-1.8.0 pyahocorasick-1.4.0 pycryptodome-3.6.1 pygments-2.2.0 pymaven-patch-0.2.5 pyparsing-2.4.0 pytest-4.6.3 pytest-cov-2.7.1 pytest-forked-1.0.2 pytest-rerunfailures-7.0 pytest-xdist-1.29.0 pytz-2018.4 rdflib-4.2.1 requests-2.18.4 saneyaml-0.1 scancode-toolkit simplejson-3.15.0 six-1.12.0 sortedcontainers-2.0.5 spdx-tools-0.5.4 tempora-1.7 text-unidecode-1.2 toml-0.10.0 typecode-libmagic-5.23.1 typing-3.6.4 unicodecsv-0.14.1 url-0.1.4.5 urllib3-1.22 wcwidth-0.1.7 webencodings-0.5 wincertstore-0.2 xmltodict-0.11.0 yg.lockfile-2.2.2 zc.lockfile-1.2.1 zipp-0.5.1
* Configuring ...
Traceback (most recent call last):
  File "/Users/mymac/Documents/GitHub/scancode-toolkit/etc/configure.py", line 582, in <module>
    chmod_bin(bin_dir)
  File "/Users/mymac/Documents/GitHub/scancode-toolkit/etc/configure.py", line 339, in chmod_bin
    os.chmod(os.path.join(path, f), rwx)
PermissionError: [Errno 1] Operation not permitted: '/Users/mymac/Documents/GitHub/scancode-toolkit/bin/python3'
Abhisheks-MacBook-Air:scancode-toolkit mymac$ 

@pombredanne
Copy link
Member

That's really weird. Can you try a --clean and do an ls -al /Users/mymac/Documents/GitHub/scancode-toolkit/ ? do we still have a bin ?

@Abhishek-Dev09-zz
Copy link
Author

Abhishek-Dev09-zz commented Jun 28, 2019

If i use sudo PYTHON_EXE=python3 ./configure. It works file.

@Abhishek-Dev09-zz
Copy link
Author

For more details see here.

Password:
* Configuring Python ...
* Installing components ...
Looking in links: /Users/mymac/Documents/GitHub/scancode-toolkit/thirdparty
Collecting pip
Collecting setuptools
Collecting virtualenv
Collecting wheel
Installing collected packages: pip, setuptools, virtualenv, wheel
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
  Found existing installation: setuptools 40.6.2
    Uninstalling setuptools-40.6.2:
      Successfully uninstalled setuptools-40.6.2
Successfully installed pip-19.1.1 setuptools-41.0.1 virtualenv-16.0.0 wheel-0.33.4
* Installing components ...
Looking in links: /Users/mymac/Documents/GitHub/scancode-toolkit/thirdparty
Obtaining file:///Users/mymac/Documents/GitHub/scancode-toolkit (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting certifi (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 2))
Requirement already up-to-date: setuptools in ./lib/python3.6/site-packages (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 3)) (41.0.1)
Requirement already up-to-date: wheel in ./lib/python3.6/site-packages (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 4)) (0.33.4)
Requirement already up-to-date: pip in ./lib/python3.6/site-packages (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 5)) (19.1.1)
Collecting wincertstore (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 6))
Collecting six (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 7))
Collecting aboutcode-toolkit (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 2))
Collecting apipkg (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 3))
Collecting py (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 4))
Collecting pytest (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting colorama (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 6))
Collecting execnet (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 7))
Collecting pytest-xdist (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 8))
Collecting bumpversion (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 9))
Collecting coverage (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 10))
Collecting pytest-cov (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 11))
Collecting codecov (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 12))
Collecting pytest-rerunfailures (from -r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 13))
Collecting nltk<4.0,>=3.2 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting publicsuffix2 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting url<0.1.6,>=0.1.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting fingerprints==0.5.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting patch<1.20,>=1.15 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting bz2file>=0.98 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting extractcode-libarchive (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting extractcode-7z (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting future>=0.16.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting text-unidecode<2.0,>=1.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting saneyaml (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting bitarray<1.0.0,>=0.8.1 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting intbitset<3.0,>=2.3.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting boolean.py<4.0,>=3.5 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting license_expression<1.0,>=0.99 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pyahocorasick<1.5,>=1.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting lxml<5.0.0,>=4.0.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting Beautifulsoup4<5.0.0,>=4.0.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting html5lib (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pdfminer.six>=20170720 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pycryptodome>=3.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting binaryornot>=0.4.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting chardet<4.0.0,>=3.0.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pygments<2.3,>=2.2.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting typecode-libmagic (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pefile>=2018.8.8 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pymaven-patch>=0.2.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting requests<3.0.0,>=2.7.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting packageurl-python>=0.7.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting xmltodict>=0.11.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting javaproperties>=0.5 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting toml>=0.10.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pkginfo>=1.5.0.1 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting dparse>=0.4.1 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting click<7.0.0,>=6.0.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pluggy<1.0,>=0.4.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting attrs<20.0,>=17.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting typing<3.7,>=3.6 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting jinja2<3.0.0,>=2.7.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting MarkupSafe>=0.23 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting simplejson (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting spdx-tools>=0.5.4 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting unicodecsv (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting yg.lockfile<3.0.0,>=2.0.1 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting contextlib2 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting pytz (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting tempora (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting jaraco.timing (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting zc.lockfile<2.0.1,>=1.0.0 (from scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting PyYAML<4.0,>=3.0 (from aboutcode-toolkit->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 2))
Collecting backports.csv (from aboutcode-toolkit->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 2))
Collecting importlib-metadata>=0.12 (from pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting atomicwrites>=1.0 (from pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting wcwidth (from pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting packaging (from pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting more-itertools>=4.0.0; python_version > "2.7" (from pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting pytest-forked (from pytest-xdist->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 8))
Collecting normality>=0.4.0 (from fingerprints==0.5.4->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting webencodings (from html5lib->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting sortedcontainers (from pdfminer.six>=20170720->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting idna<2.7,>=2.5 (from requests<3.0.0,>=2.7.0->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting urllib3<1.23,>=1.21.1 (from requests<3.0.0,>=2.7.0->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting rdflib (from spdx-tools>=0.5.4->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting ply (from spdx-tools>=0.5.4->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting zipp>=0.5 (from importlib-metadata>=0.12->pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting pyparsing>=2.0.2 (from packaging->pytest->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/dev/requirements_base.txt (line 5))
Collecting banal (from normality>=0.4.0->fingerprints==0.5.4->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Collecting isodate (from rdflib->spdx-tools>=0.5.4->scancode-toolkit==3.0.2->-r /Users/mymac/Documents/GitHub/scancode-toolkit/etc/conf/requirements_base.txt (line 10))
Building wheels for collected packages: bitarray, intbitset, pycryptodome, simplejson, PyYAML
  Building wheel for bitarray (setup.py) ... done
  Stored in directory: /private/tmp/pip-ephem-wheel-cache-nmsnseum/wheels/87/43/02/9912ea3a44b8cac37df9136f923d8b3df9431b4ef51f48de9e
  Building wheel for intbitset (setup.py) ... done
  Stored in directory: /private/tmp/pip-ephem-wheel-cache-nmsnseum/wheels/37/9c/2c/bc9a7fef64764cb6008bf2b13de65a83f0978d917f0f89e4df
  Building wheel for pycryptodome (setup.py) ... done
  Stored in directory: /private/tmp/pip-ephem-wheel-cache-nmsnseum/wheels/99/2f/dc/0eff69a8d0bfe49680006f7a31e3c878038da4310cd9f1b222
  Building wheel for simplejson (setup.py) ... done
  Stored in directory: /private/tmp/pip-ephem-wheel-cache-nmsnseum/wheels/16/1a/0e/35b2b5f4973f2ae8a073732eb2ed2ab544d4c4454589e04ab9
  Building wheel for PyYAML (setup.py) ... done
  Stored in directory: /private/tmp/pip-ephem-wheel-cache-nmsnseum/wheels/74/f5/c8/09e325fb561f929b969022231da2e7040f2bf2c8bf00a80e4c
Successfully built bitarray intbitset pycryptodome simplejson PyYAML
Installing collected packages: certifi, wincertstore, six, boolean.py, PyYAML, license-expression, click, backports.csv, MarkupSafe, jinja2, aboutcode-toolkit, apipkg, py, zipp, importlib-metadata, attrs, atomicwrites, wcwidth, pluggy, pyparsing, packaging, more-itertools, pytest, colorama, execnet, pytest-forked, pytest-xdist, bumpversion, coverage, pytest-cov, chardet, idna, urllib3, requests, codecov, pytest-rerunfailures, nltk, publicsuffix2, url, banal, normality, fingerprints, patch, bz2file, extractcode-libarchive, extractcode-7z, future, text-unidecode, saneyaml, bitarray, intbitset, pyahocorasick, lxml, Beautifulsoup4, webencodings, html5lib, sortedcontainers, pycryptodome, pdfminer.six, binaryornot, pygments, typecode-libmagic, pefile, pymaven-patch, packageurl-python, xmltodict, javaproperties, toml, pkginfo, dparse, typing, simplejson, isodate, rdflib, ply, spdx-tools, unicodecsv, pytz, tempora, jaraco.timing, zc.lockfile, yg.lockfile, contextlib2, scancode-toolkit
  Running setup.py develop for scancode-toolkit
Successfully installed Beautifulsoup4-4.6.0 MarkupSafe-1.0 PyYAML-3.12 aboutcode-toolkit-3.2.1 apipkg-1.5 atomicwrites-1.3.0 attrs-19.1.0 backports.csv-1.0.6 banal-0.3.3 binaryornot-0.4.4 bitarray-0.8.1 boolean.py-3.6 bumpversion-0.5.4.dev0 bz2file-0.98 certifi-2018.4.16 chardet-3.0.4 click-6.7 codecov-2.0.15 colorama-0.3.9 contextlib2-0.5.5 coverage-4.4.1 dparse-0.4.1 execnet-1.6.0 extractcode-7z-9.38.2 extractcode-libarchive-3.1.3 fingerprints-0.5.4 future-0.16.0 html5lib-0.999999999 idna-2.6 importlib-metadata-0.18 intbitset-2.3.0 isodate-0.6.0 jaraco.timing-1.3.2 javaproperties-0.5.1 jinja2-2.10 license-expression-0.99 lxml-4.2.1 more-itertools-5.0.0 nltk-3.2 normality-0.5.12 packageurl-python-0.8.5 packaging-19.0 patch-1.16 pdfminer.six-20181108 pefile-2018.8.8 pkginfo-1.5.0.1 pluggy-0.12.0 ply-3.9 publicsuffix2-2.20180921 py-1.8.0 pyahocorasick-1.4.0 pycryptodome-3.6.1 pygments-2.2.0 pymaven-patch-0.2.5 pyparsing-2.4.0 pytest-4.6.3 pytest-cov-2.7.1 pytest-forked-1.0.2 pytest-rerunfailures-7.0 pytest-xdist-1.29.0 pytz-2018.4 rdflib-4.2.1 requests-2.18.4 saneyaml-0.1 scancode-toolkit simplejson-3.15.0 six-1.12.0 sortedcontainers-2.0.5 spdx-tools-0.5.4 tempora-1.7 text-unidecode-1.2 toml-0.10.0 typecode-libmagic-5.23.1 typing-3.6.4 unicodecsv-0.14.1 url-0.1.4.5 urllib3-1.22 wcwidth-0.1.7 webencodings-0.5 wincertstore-0.2 xmltodict-0.11.0 yg.lockfile-2.2.2 zc.lockfile-1.2.1 zipp-0.5.1
* Configuring ...
* Configuration completed.```

@Abhishek-Dev09-zz
Copy link
Author

Abhishek-Dev09-zz commented Jun 28, 2019

That's really weird. Can you try a --clean and do an ls -al /Users/mymac/Documents/GitHub/scancode-toolkit/ ? do we still have a bin ?

No, after cleaning i have no bin

@pombredanne
Copy link
Member

re:

If i use sudo PYTHON_EXE=python3 ./configure. It works file.

That's very abnormal. You should not need sudo at all. Did you you sudo with git or something else?

@Abhishek-Dev09-zz
Copy link
Author

Abhishek-Dev09-zz commented Jun 28, 2019

re:

If i use sudo PYTHON_EXE=python3 ./configure. It works file.

That's very abnormal. You should not need sudo at all. Did you you sudo with git or something else?

No, macos comes with git(preinstalled).We don't need to install git on macos. On every os, git has same syntax.

@pombredanne
Copy link
Member

pombredanne commented Jun 28, 2019

I did not meant this. I was asking instead if you used sudo git clone ... to clone the scancode-toolkit repo

@Abhishek-Dev09-zz
Copy link
Author

I did not meant this. I was asking instead if you used sudo git clone ... to clone the scancode-toolkit repo

No

@pombredanne
Copy link
Member

at this stage everything is looking A-OK to me on all OSes except on a Ubuntu 18 container on Azure: everywhere else we can bootstrap with ./configure correctly using the code in #1634

@pombredanne
Copy link
Member

The corresponding CI run is there: https://dev.azure.com/nexB/scancode-toolkit/_build/results?buildId=377

@pombredanne
Copy link
Member

@Abhishek-Dev09 could you paste exactly the log of what happens with Python 3.6 and no sudo using develop?

@Abhishek-Dev09-zz
Copy link
Author

@Abhishek-Dev09 could you paste exactly the log of what happens with Python 3.6 and no sudo using develop?

I have already pasted #1631 (comment)

@pombredanne
Copy link
Member

@Abhishek-Dev09 ok, so can you try with this new branch? https://github.com/nexB/scancode-toolkit/tree/295-configure-on-mac

@Abhishek-Dev09-zz
Copy link
Author

Abhishek-Dev09-zz commented Jul 2, 2019 via email

pombredanne added a commit that referenced this issue Jul 2, 2019
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne
Copy link
Member

This did fix things 5d56f78

@pombredanne
Copy link
Member

@Abhishek-Dev09 wrote

@pombredanne : I tried on your branch 295-configure-on-mac ,Its working fine . I want to know how you solve that problem.Is there something wrong with my macOS machine?
Philippe Ombredanne

most everything is wrong on a mac :D

BUT that was eventually a combo of a feature in configure (trying to fix bin permissions) and some "System Integrity Protection" thing in macOS which interacted in some weird way (and should not)
you can see 5d56f78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants