Execution failed for task ':installPythonRequirements'. > Failed to install pytest-xdist-1.14.
See original GitHub issueJust trying to run the example project, and I receive the following error:
Execution failed for task ‘:installPythonRequirements’. Failed to install pytest-xdist-1.14.
11:13:57.450 [LIFECYCLE] [org.gradle.api.Task] Processing /Users/adc1blz/.gradle/caches/modules-2/files-2.1/pypi/pytest-xdist/1.14/d1920596e4780427656cb3e3c770333a803feae4/pytest-xdist-1.14.zip
Complete output from command python setup.py egg_info:
Download error on https://pypi.python.org/simple/setuptools_scm/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Download error on https://pypi.python.org/simple/setuptools-scm/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'setuptools_scm' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for setuptools-scm
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/var/folders/jp/wk7_c7px34x7x1g60sfh_l8h6vk8x9/T/pip-De92aO-build/setup.py", line 36, in <module>
'Programming Language :: Python :: 3',
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 268, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 312, in fetch_build_eggs
replace_conflicting=True,
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 846, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1091, in best_match
return self.obtain(req, installer)
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1103, in obtain
return installer(requirement)
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 379, in fetch_build_egg
return cmd.easy_install(req)
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 633, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools-scm')
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /var/folders/jp/wk7_c7px34x7x1g60sfh_l8h6vk8x9/T/pip-De92aO-build
11:13:57.450 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Execute pipInstall for :installPythonRequirements'
11:13:57.450 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Removed task artifact state for {} from context.
11:13:57.450 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':installPythonRequirements'
11:13:57.450 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Task :installPythonRequirements'
11:13:57.450 [null] [org.gradle.internal.progress.DefaultBuildOperationExecutor]
11:13:57.450 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Build operation 'Task :installPythonRequirements' completed
11:13:57.450 [INFO] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] :installPythonRequirements (Thread[Task worker for ':',5,main]) completed. Took 0.861 secs.
11:13:57.451 [DEBUG] [org.gradle.internal.work.DefaultWorkerLeaseService] Worker lease root.1.9 completed (1 worker(s) in use)
11:13:57.451 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Task worker for ':': released lock on root.1.9
11:13:57.451 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Task worker for ':': released lock on :
11:13:57.451 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':',5,main]] finished, busy: 0.926 secs, idle: 0.008 secs
11:13:57.451 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 3,5,main]] finished, busy: 0.0 secs, idle: 0.932 secs
11:13:57.451 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':' Thread 2,5,main]] finished, busy: 0.0 secs, idle: 0.933 secs
11:13:57.451 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':' Thread 3,5,main]] finished, busy: 0.0 secs, idle: 0.932 secs
11:13:57.451 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Run tasks'
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':installPythonRequirements'.
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Failed to install pytest-xdist-1.14. Please see above output for reason, or re-run your build using ``ligradle -i build`` for additional logging.
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@maksimlikharev I just released pygradle-0.7.16
Thanks! @eagle-crisley. Let me take a look.