Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing the scaffolder in WSL2 #440

Closed
ElCuboNegro opened this issue Apr 9, 2021 · 4 comments
Closed

Problem installing the scaffolder in WSL2 #440

ElCuboNegro opened this issue Apr 9, 2021 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@ElCuboNegro
Copy link

Description of your problem

Please provide a minimal, self-contained, and reproducible example.

(windows) #  wsl
(wsl) #  pip install pyscaffold[all]
(wsl) # putup luigi_basics

Please provide the full traceback.

elcubonegro@Ostris:/mnt/c/Users/jalba/playground/datapipelines$ pip install pyscaffold[all]
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pyscaffold[all] in /home/elcubonegro/.local/lib/python3.8/site-packages (4.0.1)
Requirement already satisfied: setuptools>=46.1.0 in /home/elcubonegro/.local/lib/python3.8/site-packages (from pyscaffold[all]) (56.0.0)
Requirement already satisfied: appdirs<2,>=1.4.4 in /home/elcubonegro/.local/lib/python3.8/site-packages (from pyscaffold[all]) (1.4.4)
Requirement already satisfied: configupdater<3,>=2.0 in /home/elcubonegro/.local/lib/python3.8/site-packages (from pyscaffold[all]) (2.0)
Requirement already satisfied: setuptools-scm>=5 in /home/elcubonegro/.local/lib/python3.8/site-packages (from pyscaffold[all]) (6.0.1)
Requirement already satisfied: packaging>=20.7 in /home/elcubonegro/.local/lib/python3.8/site-packages (from pyscaffold[all]) (20.9)
Requirement already satisfied: tomlkit<2,>=0.7.0 in /home/elcubonegro/.local/lib/python3.8/site-packages (from pyscaffold[all]) (0.7.0)
Collecting pyscaffoldext-markdown>=0.4
  Downloading pyscaffoldext_markdown-0.4.1-py2.py3-none-any.whl (11 kB)
Collecting pyscaffoldext-travis>=0.3
  Downloading pyscaffoldext_travis-0.3-py2.py3-none-any.whl (7.9 kB)
Collecting pyscaffoldext-django>=0.1.1
  Downloading pyscaffoldext_django-0.1.1-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: virtualenv in /home/elcubonegro/.local/lib/python3.8/site-packages (from pyscaffold[all]) (20.4.3)
Collecting pyscaffoldext-cookiecutter>=0.1
  Downloading pyscaffoldext_cookiecutter-0.1-py2.py3-none-any.whl (8.1 kB)
Collecting pyscaffoldext-custom-extension>=0.6
  Downloading pyscaffoldext_custom_extension-0.6.1-py2.py3-none-any.whl (14 kB)
Collecting pyscaffoldext-dsproject>=0.5
  Downloading pyscaffoldext_dsproject-0.6.1-py2.py3-none-any.whl (13 kB)
Collecting pre-commit
  Downloading pre_commit-2.12.0-py2.py3-none-any.whl (189 kB)
     |████████████████████████████████| 189 kB 3.1 MB/s
Requirement already satisfied: pyparsing>=2.0.2 in /home/elcubonegro/.local/lib/python3.8/site-packages (from packaging>=20.7->pyscaffold[all]) (2.4.7)
Collecting cookiecutter
  Downloading cookiecutter-1.7.2-py2.py3-none-any.whl (34 kB)
Collecting pyscaffoldext-custom-extension>=0.6
  Downloading pyscaffoldext_custom_extension-0.6-py2.py3-none-any.whl (14 kB)
INFO: pip is looking at multiple versions of pyscaffoldext-cookiecutter to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyparsing to determine which version is compatible with other requirements. This could take a while.
Collecting pyparsing>=2.0.2
  Downloading pyparsing-2.4.6-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 7.9 MB/s
  Downloading pyparsing-2.4.5-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 9.0 MB/s
  Downloading pyparsing-2.4.4-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 8.9 MB/s
  Downloading pyparsing-2.4.3-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 11.0 MB/s
  Downloading pyparsing-2.4.2-py2.py3-none-any.whl (65 kB)
     |████████████████████████████████| 65 kB 8.2 MB/s
  Downloading pyparsing-2.4.1.1-py2.py3-none-any.whl (64 kB)
     |████████████████████████████████| 64 kB 4.9 MB/s
  Downloading pyparsing-2.4.0-py2.py3-none-any.whl (62 kB)
     |████████████████████████████████| 62 kB 1.7 MB/s
  Downloading pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)
     |████████████████████████████████| 61 kB 669 kB/s
  Downloading pyparsing-2.3.0-py2.py3-none-any.whl (59 kB)
     |████████████████████████████████| 59 kB 12.9 MB/s
  Downloading pyparsing-2.2.2-py2.py3-none-any.whl (57 kB)
     |████████████████████████████████| 57 kB 7.4 MB/s
  Downloading pyparsing-2.2.1-py2.py3-none-any.whl (57 kB)
     |████████████████████████████████| 57 kB 8.6 MB/s
  Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 7.8 MB/s
  Downloading pyparsing-2.1.10-py2.py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 7.0 MB/s
  Downloading pyparsing-2.1.9-py2.py3-none-any.whl (55 kB)
     |████████████████████████████████| 55 kB 6.6 MB/s
  Downloading pyparsing-2.1.8-py2.py3-none-any.whl (54 kB)
     |████████████████████████████████| 54 kB 5.6 MB/s
  Downloading pyparsing-2.1.7-py2.py3-none-any.whl (53 kB)
     |████████████████████████████████| 53 kB 4.3 MB/s
  Downloading pyparsing-2.1.6-py2.py3-none-any.whl (53 kB)
     |████████████████████████████████| 53 kB 3.9 MB/s
  Downloading pyparsing-2.1.5-py2.py3-none-any.whl (42 kB)
     |████████████████████████████████| 42 kB 2.4 MB/s
  Downloading pyparsing-2.1.4-py2.py3-none-any.whl (40 kB)
     |████████████████████████████████| 40 kB 10.3 MB/s
  Downloading pyparsing-2.1.3-py2.py3-none-any.whl (39 kB)
  Downloading pyparsing-2.1.2-py2.py3-none-any.whl (39 kB)
  Downloading pyparsing-2.1.1-py2.py3-none-any.whl (38 kB)
  Downloading pyparsing-2.1.0-py2.py3-none-any.whl (38 kB)
  Downloading pyparsing-2.0.7-py2.py3-none-any.whl (38 kB)
  Downloading pyparsing-2.0.6-py2.py3-none-any.whl (38 kB)
  Downloading pyparsing-2.0.5-py2.py3-none-any.whl (38 kB)
  Downloading pyparsing-2.0.4-py2.py3-none-any.whl (38 kB)
  Downloading pyparsing-2.0.3-py2.py3-none-any.whl (37 kB)
  Downloading pyparsing-2.0.2.zip (1.3 MB)
     |████████████████████████████████| 1.3 MB 21.7 MB/s
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyscaffoldext-cookiecutter to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyparsing to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
INFO: pip is looking at multiple versions of packaging to determine which version is compatible with other requirements. This could take a while.
Collecting packaging>=20.7
  Downloading packaging-20.8-py2.py3-none-any.whl (39 kB)
  Downloading packaging-20.7-py2.py3-none-any.whl (35 kB)
INFO: pip is looking at multiple versions of configupdater to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of appdirs to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyscaffold to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyscaffold[all] to determine which version is compatible with other requirements. This could take a while.
Collecting pyscaffold[all]
  Downloading PyScaffold-4.0-py3-none-any.whl (160 kB)
     |████████████████████████████████| 160 kB 19.4 MB/s
  Downloading PyScaffold-3.3.1-py3-none-any.whl (169 kB)
     |████████████████████████████████| 169 kB 16.5 MB/s
  Downloading PyScaffold-3.3-py3-none-any.whl (169 kB)
     |████████████████████████████████| 169 kB 22.3 MB/s
  Downloading PyScaffold-3.2.3-py3-none-any.whl (162 kB)
     |████████████████████████████████| 162 kB 22.4 MB/s
  Downloading PyScaffold-3.2.2-py3-none-any.whl (161 kB)
     |████████████████████████████████| 161 kB 21.0 MB/s
  Downloading PyScaffold-3.2.1-py3-none-any.whl (161 kB)
     |████████████████████████████████| 161 kB 22.2 MB/s
  Downloading PyScaffold-3.2-py3-none-any.whl (161 kB)
     |████████████████████████████████| 161 kB 25.4 MB/s
  Downloading PyScaffold-3.1-py3-none-any.whl (163 kB)
     |████████████████████████████████| 163 kB 17.6 MB/s
  Downloading PyScaffold-3.0.3-py3-none-any.whl (153 kB)
     |████████████████████████████████| 153 kB 3.6 MB/s
  Downloading PyScaffold-3.0.2-py3-none-any.whl (153 kB)
     |████████████████████████████████| 153 kB 3.0 MB/s
  Downloading PyScaffold-3.0.1-py3-none-any.whl (151 kB)
     |████████████████████████████████| 151 kB 3.6 MB/s
  Downloading PyScaffold-3.0-py3-none-any.whl (150 kB)
     |████████████████████████████████| 150 kB 2.9 MB/s
  Downloading PyScaffold-2.5.11-py2.py3-none-any.whl (332 kB)
     |████████████████████████████████| 332 kB 2.9 MB/s
  Downloading PyScaffold-2.5.10-py2.py3-none-any.whl (324 kB)
     |████████████████████████████████| 324 kB 4.7 MB/s
  Downloading PyScaffold-2.5.9-py2.py3-none-any.whl (3.5 MB)
     |████████████████████████████████| 3.5 MB 2.0 MB/s
  Downloading PyScaffold-2.5.8-py2.py3-none-any.whl (363 kB)
     |████████████████████████████████| 363 kB 4.0 MB/s
  Downloading PyScaffold-2.5.7-py2.py3-none-any.whl (327 kB)
     |████████████████████████████████| 327 kB 6.3 MB/s
  Downloading PyScaffold-2.5.6-py2.py3-none-any.whl (385 kB)
     |████████████████████████████████| 385 kB 7.3 MB/s
  Downloading PyScaffold-2.5.5-py2.py3-none-any.whl (319 kB)
     |████████████████████████████████| 319 kB 8.3 MB/s
  Downloading PyScaffold-2.5.4-py2.py3-none-any.whl (315 kB)
     |████████████████████████████████| 315 kB 7.0 MB/s
  Downloading PyScaffold-2.5.3-py2.py3-none-any.whl (2.7 MB)
     |████████████████████████████████| 2.7 MB 9.3 MB/s
  Downloading PyScaffold-2.5.2-py2.py3-none-any.whl (315 kB)
     |████████████████████████████████| 315 kB 9.6 MB/s
  Downloading PyScaffold-2.5.1-py2.py3-none-any.whl (315 kB)
     |████████████████████████████████| 315 kB 11.0 MB/s
  Downloading PyScaffold-2.5-py2.py3-none-any.whl (311 kB)
     |████████████████████████████████| 311 kB 11.1 MB/s
  Downloading pyscaffold-2.4.4-py2.py3-none-any.whl (104 kB)
     |████████████████████████████████| 104 kB 13.1 MB/s
  Downloading pyscaffold-2.4.2.tar.gz (108 kB)
     |████████████████████████████████| 108 kB 12.3 MB/s
  Downloading pyscaffold-2.4.1.tar.gz (108 kB)
     |████████████████████████████████| 108 kB 16.6 MB/s
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-jb9i05j8/pyscaffold_54157ff9d38e4ec89225500472317b55/setup.py'"'"'; __file__='"'"'/tmp/pip-install-jb9i05j8/pyscaffold_54157ff9d38e4ec89225500472317b55/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)
(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-qqa5zhgq
         cwd: /tmp/pip-install-jb9i05j8/pyscaffold_54157ff9d38e4ec89225500472317b55/
    Complete output (62 lines):
    running egg_info
    creating /tmp/pip-pip-egg-info-qqa5zhgq/pyscaffold.egg-info
    writing /tmp/pip-pip-egg-info-qqa5zhgq/pyscaffold.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-pip-egg-info-qqa5zhgq/pyscaffold.egg-info/dependency_links.txt
    writing entry points to /tmp/pip-pip-egg-info-qqa5zhgq/pyscaffold.egg-info/entry_points.txt
    writing requirements to /tmp/pip-pip-egg-info-qqa5zhgq/pyscaffold.egg-info/requires.txt
    writing top-level names to /tmp/pip-pip-egg-info-qqa5zhgq/pyscaffold.egg-info/top_level.txt
    writing manifest file '/tmp/pip-pip-egg-info-qqa5zhgq/pyscaffold.egg-info/SOURCES.txt'
    adding license file 'LICENSE.txt' (matched pattern 'LICEN[CS]E*')
    adding license file 'AUTHORS.rst' (matched pattern 'AUTHORS*')
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:727: UserWarning: Module setuptools_scm was already imported from /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools_scm/__init__.py, but /tmp/pip-install-jb9i05j8/pyscaffold_54157ff9d38e4ec89225500472317b55/.eggs/setuptool
s_scm-1.7.0-py3.8.egg is being added to sys.path
      pkg_resources.working_set.add(dist, replace=True)
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
      warnings.warn(
    Traceback (most recent call last):
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2458, in resolve
        return functools.reduce(getattr, self.attrs, module)
    AttributeError: module 'setuptools_scm.hg' has no attribute 'FILES_COMMAND'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-jb9i05j8/pyscaffold_54157ff9d38e4ec89225500472317b55/setup.py", line 139, in <module>
        setup_package()
      File "/tmp/pip-install-jb9i05j8/pyscaffold_54157ff9d38e4ec89225500472317b55/setup.py", line 102, in setup_package
        setup(name='pyscaffold',
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 299, in run
        self.find_sources()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 306, in find_sources
        mm.run()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 541, in run
        self.add_defaults()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 581, in add_defaults
        rcfiles = list(walk_revctrl())
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/sdist.py", line 21, in walk_revctrl
        for item in ep.load()(dirname):
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools_scm/integration.py", line 29, in find_files
        command = ep.load()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in load
        return self.resolve()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2460, in resolve
        raise ImportError(str(exc)) from exc
    ImportError: module 'setuptools_scm.hg' has no attribute 'FILES_COMMAND'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/79/f2/6a49648b9113776b8986a45f2446787929eccf73177ebfe4f68d6482f3af/pyscaffold-2.4.1.tar.gz#sha256=bb91c4682c712b6a446d2b3b53dd27d0b8f2fb2050995e1b7f16aa8d6ec391c2 (from https://pypi.org/simple/pyscaffold/). Command errored out with exit status 1: pytho
n setup.py egg_info Check the logs for full command output.
  Downloading pyscaffold-2.4.tar.gz (108 kB)
     |████████████████████████████████| 108 kB 83.8 MB/s
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-jb9i05j8/pyscaffold_d5f2d34e88d147bcb11035fa2cc13222/setup.py'"'"'; __file__='"'"'/tmp/pip-install-jb9i05j8/pyscaffold_d5f2d34e88d147bcb11035fa2cc13222/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)
(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-__s21l8w
         cwd: /tmp/pip-install-jb9i05j8/pyscaffold_d5f2d34e88d147bcb11035fa2cc13222/
    Complete output (62 lines):
    running egg_info
    creating /tmp/pip-pip-egg-info-__s21l8w/pyscaffold.egg-info
    writing /tmp/pip-pip-egg-info-__s21l8w/pyscaffold.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-pip-egg-info-__s21l8w/pyscaffold.egg-info/dependency_links.txt
    writing entry points to /tmp/pip-pip-egg-info-__s21l8w/pyscaffold.egg-info/entry_points.txt
    writing requirements to /tmp/pip-pip-egg-info-__s21l8w/pyscaffold.egg-info/requires.txt
    writing top-level names to /tmp/pip-pip-egg-info-__s21l8w/pyscaffold.egg-info/top_level.txt
    writing manifest file '/tmp/pip-pip-egg-info-__s21l8w/pyscaffold.egg-info/SOURCES.txt'
    adding license file 'LICENSE.txt' (matched pattern 'LICEN[CS]E*')
    adding license file 'AUTHORS.rst' (matched pattern 'AUTHORS*')
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:727: UserWarning: Module setuptools_scm was already imported from /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools_scm/__init__.py, but /tmp/pip-install-jb9i05j8/pyscaffold_d5f2d34e88d147bcb11035fa2cc13222/.eggs/setuptool
s_scm-1.7.0-py3.8.egg is being added to sys.path
      pkg_resources.working_set.add(dist, replace=True)
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
      warnings.warn(
    Traceback (most recent call last):
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2458, in resolve
        return functools.reduce(getattr, self.attrs, module)
    AttributeError: module 'setuptools_scm.hg' has no attribute 'FILES_COMMAND'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-jb9i05j8/pyscaffold_d5f2d34e88d147bcb11035fa2cc13222/setup.py", line 138, in <module>
        setup_package()
      File "/tmp/pip-install-jb9i05j8/pyscaffold_d5f2d34e88d147bcb11035fa2cc13222/setup.py", line 102, in setup_package
        setup(name='pyscaffold',
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 299, in run
        self.find_sources()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 306, in find_sources
        mm.run()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 541, in run
        self.add_defaults()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 581, in add_defaults
        rcfiles = list(walk_revctrl())
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/sdist.py", line 21, in walk_revctrl
        for item in ep.load()(dirname):
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools_scm/integration.py", line 29, in find_files
        command = ep.load()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in load
        return self.resolve()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2460, in resolve
        raise ImportError(str(exc)) from exc
    ImportError: module 'setuptools_scm.hg' has no attribute 'FILES_COMMAND'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/31/8a/e183c31ae98ec0f027de1e37056de530d434bcca4a559e42f95573534f8f/pyscaffold-2.4.tar.gz#sha256=3e2b11306b5c3d4c81cf26fea619524997f4e53f41db90f175dbb1dc9fedd72a (from https://pypi.org/simple/pyscaffold/). Command errored out with exit status 1: python
setup.py egg_info Check the logs for full command output.
  Downloading pyscaffold-2.3.tar.gz (105 kB)
     |████████████████████████████████| 105 kB 8.7 MB/s
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-jb9i05j8/pyscaffold_8e647d5f356745eb9deacf38bee81d93/setup.py'"'"'; __file__='"'"'/tmp/pip-install-jb9i05j8/pyscaffold_8e647d5f356745eb9deacf38bee81d93/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)
(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-3odsg_wo
         cwd: /tmp/pip-install-jb9i05j8/pyscaffold_8e647d5f356745eb9deacf38bee81d93/
    Complete output (62 lines):
    running egg_info
    creating /tmp/pip-pip-egg-info-3odsg_wo/pyscaffold.egg-info
    writing /tmp/pip-pip-egg-info-3odsg_wo/pyscaffold.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-pip-egg-info-3odsg_wo/pyscaffold.egg-info/dependency_links.txt
    writing entry points to /tmp/pip-pip-egg-info-3odsg_wo/pyscaffold.egg-info/entry_points.txt
    writing requirements to /tmp/pip-pip-egg-info-3odsg_wo/pyscaffold.egg-info/requires.txt
    writing top-level names to /tmp/pip-pip-egg-info-3odsg_wo/pyscaffold.egg-info/top_level.txt
    writing manifest file '/tmp/pip-pip-egg-info-3odsg_wo/pyscaffold.egg-info/SOURCES.txt'
    adding license file 'LICENSE.txt' (matched pattern 'LICEN[CS]E*')
    adding license file 'AUTHORS.rst' (matched pattern 'AUTHORS*')
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:727: UserWarning: Module setuptools_scm was already imported from /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools_scm/__init__.py, but /tmp/pip-install-jb9i05j8/pyscaffold_8e647d5f356745eb9deacf38bee81d93/.eggs/setuptool
s_scm-1.7.0-py3.8.egg is being added to sys.path
      pkg_resources.working_set.add(dist, replace=True)
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
      warnings.warn(
    /home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
      warnings.warn(
    Traceback (most recent call last):
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2458, in resolve
        return functools.reduce(getattr, self.attrs, module)
    AttributeError: module 'setuptools_scm.hg' has no attribute 'FILES_COMMAND'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-jb9i05j8/pyscaffold_8e647d5f356745eb9deacf38bee81d93/setup.py", line 140, in <module>
        setup_package()
      File "/tmp/pip-install-jb9i05j8/pyscaffold_8e647d5f356745eb9deacf38bee81d93/setup.py", line 104, in setup_package
        setup(name='pyscaffold',
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 299, in run
        self.find_sources()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 306, in find_sources
        mm.run()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 541, in run
        self.add_defaults()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 581, in add_defaults
        rcfiles = list(walk_revctrl())
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools/command/sdist.py", line 21, in walk_revctrl
        for item in ep.load()(dirname):
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools_scm/integration.py", line 29, in find_files
        command = ep.load()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in load
        return self.resolve()
      File "/home/elcubonegro/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2460, in resolve
        raise ImportError(str(exc)) from exc
    ImportError: module 'setuptools_scm.hg' has no attribute 'FILES_COMMAND'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/30/ba/f5bf015aaad6af331e5d9c521a50f07f3e9c5c114c30521750037ca6e36b/pyscaffold-2.3.tar.gz#sha256=507364f28926e9b482bee057eaaba85d1d1d132a9e1282de7a0f9b19f740c8d8 (from https://pypi.org/simple/pyscaffold/). Command errored out with exit status 1: python
setup.py egg_info Check the logs for full command output.
  Downloading pyscaffold-2.2.1-py2.py3-none-any.whl (131 kB)
     |████████████████████████████████| 131 kB 10.3 MB/s
  Downloading pyscaffold-2.2-py2.py3-none-any.whl (131 kB)
     |████████████████████████████████| 131 kB 8.6 MB/s
  Downloading pyscaffold-2.1.tar.gz (94 kB)
     |████████████████████████████████| 94 kB 4.5 MB/s
  Downloading pyscaffold-2.0.4.tar.gz (92 kB)
     |████████████████████████████████| 92 kB 1.1 MB/s
  Downloading pyscaffold-2.0.3.tar.gz (92 kB)
     |████████████████████████████████| 92 kB 1.3 MB/s
  Downloading pyscaffold-2.0.2.tar.gz (92 kB)
     |████████████████████████████████| 92 kB 1.1 MB/s
  Downloading pyscaffold-2.0.1.tar.gz (92 kB)
     |████████████████████████████████| 92 kB 254 kB/s
  Downloading pyscaffold-2.0.tar.gz (92 kB)
     |████████████████████████████████| 92 kB 20.7 MB/s
  Downloading pyscaffold-1.4.tar.gz (112 kB)
     |████████████████████████████████| 112 kB 8.4 MB/s
  Downloading pyscaffold-1.3.2.tar.gz (105 kB)
     |████████████████████████████████| 105 kB 65.4 MB/s
  Downloading pyscaffold-1.3.1.tar.gz (105 kB)
     |████████████████████████████████| 105 kB 6.6 MB/s
  Downloading pyscaffold-1.3.tar.gz (111 kB)
     |████████████████████████████████| 111 kB 16.3 MB/s
  Downloading pyscaffold-1.2.tar.gz (103 kB)
     |████████████████████████████████| 103 kB 20.4 MB/s
  Downloading pyscaffold-1.1.tar.gz (103 kB)
     |████████████████████████████████| 103 kB 20.9 MB/s
  Downloading pyscaffold-1.0.tar.gz (44 kB)
     |████████████████████████████████| 44 kB 4.7 MB/s
  Downloading pyscaffold-0.9.tar.gz (40 kB)
     |████████████████████████████████| 40 kB 10.7 MB/s
  Downloading pyscaffold-0.8.tar.gz (37 kB)
  Downloading pyscaffold-0.7.tar.gz (30 kB)
  Downloading pyscaffold-0.6.1.tar.gz (30 kB)
  Downloading pyscaffold-0.6.tar.gz (30 kB)
  Downloading pyscaffold-0.5.tar.gz (29 kB)
  Downloading pyscaffold-0.4.1.tar.gz (28 kB)
  Downloading pyscaffold-0.4.tar.gz (28 kB)
  Downloading pyscaffold-0.3.tar.gz (28 kB)
  Downloading pyscaffold-0.2.tar.gz (26 kB)
  Downloading pyscaffold-0.1.2.tar.gz (1.1 MB)
     |████████████████████████████████| 1.1 MB 21.5 MB/s
Collecting configupdater<2,>=1.1.3
  Downloading ConfigUpdater-1.1.3-py2.py3-none-any.whl (14 kB)
Collecting django<4.0a0,>=3.1
  Downloading Django-3.2-py3-none-any.whl (7.9 MB)
     |████████████████████████████████| 7.9 MB 17.9 MB/s
Collecting asgiref<4,>=3.3.2
  Downloading asgiref-3.3.4-py3-none-any.whl (22 kB)
Requirement already satisfied: pytz in /usr/local/lib/python3.8/dist-packages (from django<4.0a0,>=3.1->pyscaffoldext-django>=0.1.1->pyscaffold[all]) (2021.1)
Collecting sqlparse>=0.2.2
  Downloading sqlparse-0.4.1-py3-none-any.whl (42 kB)
     |████████████████████████████████| 42 kB 1.6 MB/s
Collecting pyscaffoldext-dsproject>=0.5
  Downloading pyscaffoldext_dsproject-0.6-py2.py3-none-any.whl (13 kB)
Collecting recommonmark
  Downloading recommonmark-0.7.1-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: wheel>=0.31 in /usr/lib/python3/dist-packages (from pyscaffoldext-markdown>=0.4->pyscaffold[all]) (0.34.2)
Collecting pyscaffoldext-markdown>=0.4
  Downloading pyscaffoldext_markdown-0.4-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: MarkupSafe<2.0.0 in /usr/lib/python3/dist-packages (from cookiecutter->pyscaffoldext-cookiecutter>=0.1->pyscaffold[all]) (1.1.0)
Requirement already satisfied: click>=7.0 in /usr/lib/python3/dist-packages (from cookiecutter->pyscaffoldext-cookiecutter>=0.1->pyscaffold[all]) (7.0)
Collecting requests>=2.23.0
  Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
     |████████████████████████████████| 61 kB 3.5 MB/s
Collecting poyo>=0.5.0
  Downloading poyo-0.5.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: Jinja2<3.0.0 in /usr/lib/python3/dist-packages (from cookiecutter->pyscaffoldext-cookiecutter>=0.1->pyscaffold[all]) (2.10.1)
Collecting python-slugify>=4.0.0
  Downloading python-slugify-4.0.1.tar.gz (11 kB)
Requirement already satisfied: six>=1.10 in /usr/lib/python3/dist-packages (from cookiecutter->pyscaffoldext-cookiecutter>=0.1->pyscaffold[all]) (1.14.0)
Collecting binaryornot>=0.4.4
  Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
Collecting jinja2-time>=0.2.0
  Downloading jinja2_time-0.2.0-py2.py3-none-any.whl (6.4 kB)
Requirement already satisfied: chardet>=3.0.2 in /usr/lib/python3/dist-packages (from binaryornot>=0.4.4->cookiecutter->pyscaffoldext-cookiecutter>=0.1->pyscaffold[all]) (3.0.4)
Collecting arrow
  Downloading arrow-1.0.3-py3-none-any.whl (54 kB)
     |████████████████████████████████| 54 kB 3.2 MB/s
Collecting text-unidecode>=1.3
  Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
     |████████████████████████████████| 78 kB 3.2 MB/s
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.23.0->cookiecutter->pyscaffoldext-cookiecutter>=0.1->pyscaffold[all]) (2019.11.28)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.23.0->cookiecutter->pyscaffoldext-cookiecutter>=0.1->pyscaffold[all]) (2.8)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.23.0->cookiecutter->pyscaffoldext-cookiecutter>=0.1->pyscaffold[all]) (1.25.8)
Requirement already satisfied: python-dateutil>=2.7.0 in /usr/local/lib/python3.8/dist-packages (from arrow->jinja2-time>=0.2.0->cookiecutter->pyscaffoldext-cookiecutter>=0.1->pyscaffold[all]) (2.8.1)
Collecting cfgv>=2.0.0
  Downloading cfgv-3.2.0-py2.py3-none-any.whl (7.3 kB)
Requirement already satisfied: pyyaml>=5.1 in /usr/lib/python3/dist-packages (from pre-commit->pyscaffold[all]) (5.3.1)
Collecting identify>=1.0.0
  Downloading identify-2.2.3-py2.py3-none-any.whl (98 kB)
     |████████████████████████████████| 98 kB 3.5 MB/s
Collecting nodeenv>=0.11.1
  Downloading nodeenv-1.6.0-py2.py3-none-any.whl (21 kB)
Collecting toml
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: distlib<1,>=0.3.1 in /home/elcubonegro/.local/lib/python3.8/site-packages (from virtualenv->pyscaffold[all]) (0.3.1)
Requirement already satisfied: filelock<4,>=3.0.0 in /home/elcubonegro/.local/lib/python3.8/site-packages (from virtualenv->pyscaffold[all]) (3.0.12)
Collecting commonmark>=0.8.1
  Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
     |████████████████████████████████| 51 kB 3.9 MB/s
Requirement already satisfied: docutils>=0.11 in /usr/local/lib/python3.8/dist-packages (from recommonmark->pyscaffoldext-markdown>=0.4->pyscaffold[all]) (0.17)
Collecting sphinx>=1.3.1
  Downloading Sphinx-3.5.3-py3-none-any.whl (2.8 MB)
     |████████████████████████████████| 2.8 MB 2.5 MB/s
Collecting sphinxcontrib-serializinghtml
  Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB)
     |████████████████████████████████| 89 kB 3.5 MB/s
Collecting snowballstemmer>=1.1
  Downloading snowballstemmer-2.1.0-py2.py3-none-any.whl (93 kB)
     |████████████████████████████████| 93 kB 2.0 MB/s
Collecting sphinxcontrib-applehelp
  Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
     |████████████████████████████████| 121 kB 3.9 MB/s
Collecting Pygments>=2.0
  Downloading Pygments-2.8.1-py3-none-any.whl (983 kB)
     |████████████████████████████████| 983 kB 3.3 MB/s
Collecting babel>=1.3
  Downloading Babel-2.9.0-py2.py3-none-any.whl (8.8 MB)
     |████████████████████████████████| 8.8 MB 6.7 MB/s
Collecting alabaster<0.8,>=0.7
  Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting sphinxcontrib-devhelp
  Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
     |████████████████████████████████| 84 kB 3.1 MB/s
Collecting imagesize
  Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB)
Collecting sphinxcontrib-jsmath
  Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-qthelp
  Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
     |████████████████████████████████| 90 kB 4.1 MB/s
Collecting sphinxcontrib-htmlhelp
  Downloading sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB)
     |████████████████████████████████| 96 kB 3.2 MB/s
Building wheels for collected packages: python-slugify
  Building wheel for python-slugify (setup.py) ... done
  Created wheel for python-slugify: filename=python_slugify-4.0.1-py2.py3-none-any.whl size=6767 sha256=d5e7f9120610a7ab224af1f67a315ef507cd1427b17589a762acb5f84b32956f
  Stored in directory: /home/elcubonegro/.cache/pip/wheels/91/4d/4f/e740a68c215791688c46c4d6251770a570e8dfea91af1acb5c
Successfully built python-slugify
Installing collected packages: sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, snowballstemmer, requests, Pygments, imagesize, babel, alabaster, text-unidecode, sphinx, configupdater, commonmark, arrow, sqlparse,
recommonmark, python-slugify, pyscaffold, poyo, jinja2-time, binaryornot, asgiref, toml, pyscaffoldext-markdown, nodeenv, identify, django, cookiecutter, cfgv, pyscaffoldext-travis, pyscaffoldext-dsproject, pyscaffoldext-django, pyscaffoldext-custom-extension, pyscaffoldext-cookiecutter, pre-commit
  Attempting uninstall: configupdater
    Found existing installation: ConfigUpdater 2.0
    Uninstalling ConfigUpdater-2.0:
      Successfully uninstalled ConfigUpdater-2.0
  Attempting uninstall: pyscaffold
    Found existing installation: PyScaffold 4.0.1
    Uninstalling PyScaffold-4.0.1:
      Successfully uninstalled PyScaffold-4.0.1
Successfully installed Pygments-2.8.1 alabaster-0.7.12 arrow-1.0.3 asgiref-3.3.4 babel-2.9.0 binaryornot-0.4.4 cfgv-3.2.0 commonmark-0.9.1 configupdater-1.1.3 cookiecutter-1.7.2 django-3.2 identify-2.2.3 imagesize-1.2.0 jinja2-time-0.2.0 nodeenv-1.6.0 poyo-0.5.0 pre-commit-2.12.0 pyscaffold-4.0 pyscaffoldext-co
okiecutter-0.1 pyscaffoldext-custom-extension-0.6.1 pyscaffoldext-django-0.1.1 pyscaffoldext-dsproject-0.6 pyscaffoldext-markdown-0.4 pyscaffoldext-travis-0.3 python-slugify-4.0.1 recommonmark-0.7.1 requests-2.25.1 snowballstemmer-2.1.0 sphinx-3.5.3 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphi
nxcontrib-htmlhelp-1.0.3 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.4 sqlparse-0.4.1 text-unidecode-1.3 toml-0.10.2
elcubonegro@Ostris:/mnt/c/Users/jalba/playground/datapipelines$ clear
elcubonegro@Ostris:/mnt/c/Users/jalba/playground/datapipelines$ putup luigi_basics
Traceback (most recent call last):
  File "/home/elcubonegro/.local/bin/putup", line 5, in <module>
    from pyscaffold.cli import run
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/cli.py", line 13, in <module>
    from . import api, templates
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/api.py", line 9, in <module>
    from . import actions, info
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/actions.py", line 20, in <module>
    from . import info, repo
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/info.py", line 30, in <module>
    from .templates import ScaffoldOpts, licenses, parse_extensions
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/templates/__init__.py", line 14, in <module>
    from .. import dependencies as deps
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/dependencies.py", line 9, in <module>
    from setuptools_scm.version import VERSION_CLASS
ImportError: cannot import name 'VERSION_CLASS' from 'setuptools_scm.version' (/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools_scm/version.py)
elcubonegro@Ostris:/mnt/c/Users/jalba/playground/datapipelines$ pip install setuptools-scm
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: setuptools-scm in /home/elcubonegro/.local/lib/python3.8/site-packages (6.0.1)
Requirement already satisfied: setuptools>=45 in /home/elcubonegro/.local/lib/python3.8/site-packages (from setuptools-scm) (56.0.0)
elcubonegro@Ostris:/mnt/c/Users/jalba/playground/datapipelines$ sudo pip install setuptools-scm
[sudo] password for elcubonegro:
Collecting setuptools-scm
  Downloading setuptools_scm-6.0.1-py3-none-any.whl (27 kB)
Requirement already satisfied: setuptools>=45 in /usr/lib/python3/dist-packages (from setuptools-scm) (45.2.0)
Installing collected packages: setuptools-scm
Successfully installed setuptools-scm-6.0.1
elcubonegro@Ostris:/mnt/c/Users/jalba/playground/datapipelines$ putup luigi_basics
Traceback (most recent call last):
  File "/home/elcubonegro/.local/bin/putup", line 5, in <module>
    from pyscaffold.cli import run
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/cli.py", line 13, in <module>
    from . import api, templates
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/api.py", line 9, in <module>
    from . import actions, info
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/actions.py", line 20, in <module>
    from . import info, repo
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/info.py", line 30, in <module>
    from .templates import ScaffoldOpts, licenses, parse_extensions
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/templates/__init__.py", line 14, in <module>
    from .. import dependencies as deps
  File "/home/elcubonegro/.local/lib/python3.8/site-packages/pyscaffold/dependencies.py", line 9, in <module>
    from setuptools_scm.version import VERSION_CLASS
ImportError: cannot import name 'VERSION_CLASS' from 'setuptools_scm.version' (/home/elcubonegro/.local/lib/python3.8/site-packages/setuptools_scm/version.py)

Versions and main components

  • PyScaffold Version: pyscaffold-2.2.1
  • Python Version: python 3.8.5
  • Operating system: Windows 10, WSL2, Ubuntu 20.04
  • How did you install PyScaffold: (conda/pip): Pip
@ElCuboNegro
Copy link
Author

The problem doesn't exists if you perform the instalation from Conda.

@FlorianWilhelm
Copy link
Member

Hi @ElCuboNegro, thanks for posting this issue. What seems a little odd to me is that pip tries to install almost all versions of PyScaffold at the same time. It even says that version 4.0.1 is already installed right at the start. Could you please try to create a new virtual environment and install it again? Then posting the traceback? Find more details in our docs. Thank you.

@FlorianWilhelm
Copy link
Member

Hi @ElCuboNegro, could you please check if this problem still exists? There was a problem with pip install pyscaffold[all] due to a wrong requirement definition in pyscaffoldext-custom-extension that might have led to these strange installations as pip tried to resolve something. As conda does not have installation modifies like [all] that problem did not occur there. This was fixed.

@FlorianWilhelm FlorianWilhelm added this to the 4.0.2 milestone May 16, 2021
@FlorianWilhelm FlorianWilhelm added the bug Something isn't working label May 16, 2021
@ElCuboNegro
Copy link
Author

fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants