argo-python-dsl icon indicating copy to clipboard operation
argo-python-dsl copied to clipboard

Error when installing: ValueError: path 'argo/workflows/' cannot end with '/'

Open Ark-kun opened this issue 4 years ago • 0 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Clone repo
  2. python3 -m pip install -e .

Logs

python3 -m pip install -e .
Obtaining file:///A:/_All/My.Creativity.Coding.3rd-party/_Incoming/argo-python-dsl
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Ark\AppData\Local\Programs\Python\Python37\python3.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'A:\\_All\\My.Creativity.Coding.3rd-party\\_Incoming\\argo-python-dsl\\setup.py'"'"'; __file__='"'"'A:\\_All\\My.Creativity.Coding.3rd-party\\_Incoming\\argo-python-dsl\\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 'C:\Users\Ark\AppData\Local\Temp\pip-pip-egg-info-wv_ov9t9'
         cwd: A:\_All\My.Creativity.Coding.3rd-party\_Incoming\argo-python-dsl\
    Complete output (9 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "A:\_All\My.Creativity.Coding.3rd-party\_Incoming\argo-python-dsl\setup.py", line 44, in <module>
        packages=["argo.workflows.%s" % p for p in find_packages(where="argo/workflows/")],
      File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools\__init__.py", line 70, in find
        convert_path(where),
      File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\distutils\util.py", line 112, in convert_path
        raise ValueError("path '%s' cannot end with '/'" % pathname)
    ValueError: path 'argo/workflows/' cannot end with '/'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'C:\Users\Ark\AppData\Local\Programs\Python\Python37\python3.exe -m pip install --upgrade pip' command.

Ark-kun avatar Mar 14 '21 09:03 Ark-kun