mkorpela / pabot

Parallel executor for Robot Framework test cases.
https://pabot.org
Apache License 2.0
476 stars 152 forks source link

Installation after dowloading (without internet connexion) #547

Open emerisier opened 1 year ago

emerisier commented 1 year ago

Hi,

I can't install pabot without internet connection Same error with Windows 10 and Python 3.10.6 and Python 3.11.3

Thank you for your feedback

python --version

Python 3.10.6

(create venv and activate it)

pip install robotframework-pabot==2.16.0

pip list

Package Version


natsort 8.4.0 pip 22.2.1 robotframework 6.1 robotframework-pabot 2.16.0 robotframework-stacktrace 0.4.1 setuptools 63.2.0

pip uninstall robotframework-pabot==2.16.0

pip download robotframework-pabot==2.16.0

--> Install without internet connection

pip install --no-index --find-links=. robotframework-pabot==2.16.0

Looking in links: . Processing d:\temp\pyenv3.10bis\robotframework-pabot-2.16.0.tar.gz Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [3 lines of output] Looking in links: . ERROR: Could not find a version that satisfies the requirement setuptools (from versions: none) ERROR: No matching distribution found for setuptools [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

I have no problem with legacy configuration tools from other packages such as pykeepass-4.0.5.tar.gz, robotframework-jsonlibrary-0.5.tar.gz, robotframework-metrics-3.3.3.tar.gz. And no problem with other wheel packages. Only Pabot cannot install without an internet connection

https://robotframework.slack.com/archives/C7HKR2L6L/p1689422062967229

emerisier commented 1 year ago

It's work with

pip install --no-build-isolation --no-index --find-links=. robotframework-pabot==2.16.0