Closed Abhishek-Dev09-zz closed 5 years ago
@Abhishek-Dev09 here is the way you make this work
./configure
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:
deactivate
./configure --clean
PYTHON_EXE=python3 ./configure
for instance... to switch to python3. PYTHON_EXE is an environment variable that points to the path of the python exesource bin/activate
@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
@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
@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
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
@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.
@Abhishek-Dev09 Please try this new branch I have just pushed. https://github.com/nexB/scancode-toolkit/compare/295-configure
@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'
@Abhishek-Dev09 I need the whole trace not just this.
@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$
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
?
If i use sudo PYTHON_EXE=python3 ./configure
. It works file.
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.```
That's really weird. Can you try a
--clean
and do anls -al /Users/mymac/Documents/GitHub/scancode-toolkit/
? do we still have abin
?
No, after cleaning i have no bin
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?
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.
I did not meant this. I was asking instead if you used sudo git clone ...
to clone the scancode-toolkit repo
I did not meant this. I was asking instead if you used
sudo git clone ...
to clone the scancode-toolkit repo
No
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 https://github.com/nexB/scancode-toolkit/pull/1634
The corresponding CI run is there: https://dev.azure.com/nexB/scancode-toolkit/_build/results?buildId=377
@Abhishek-Dev09 could you paste exactly the log of what happens with Python 3.6 and no sudo using develop
?
@Abhishek-Dev09 could you paste exactly the log of what happens with Python 3.6 and no sudo using
develop
?
I have already pasted https://github.com/nexB/scancode-toolkit/issues/1631#issuecomment-506843803
@Abhishek-Dev09 ok, so can you try with this new branch? https://github.com/nexB/scancode-toolkit/tree/295-configure-on-mac
Already tried.Come on chat
On Tue, 2 Jul 2019 at 3:22 PM, Philippe Ombredanne notifications@github.com wrote:
@Abhishek-Dev09 https://github.com/Abhishek-Dev09 ok, so can you try with this new branch? https://github.com/nexB/scancode-toolkit/tree/295-configure-on-mac
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nexB/scancode-toolkit/issues/1631?email_source=notifications&email_token=ALDXYHCQD7HKQ2V3YKXPWKDP5MQOTA5CNFSM4H4FZXTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZAXJGY#issuecomment-507606171, or mute the thread https://github.com/notifications/unsubscribe-auth/ALDXYHCBFJTPHVGYUEWCOYLP5MQOTANCNFSM4H4FZXTA .
-- null
@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 nexB/scancode-toolkit@5d56f78
1)First i have clone the repo and move to repo. 2)Then run
./configure
It says configuration completed. 3)Then i runpip install --editable .
OS- MacOS Mojave Python 2.7 and 3.7 GCC- 9.1