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

00-verify-setup fails with pip 21.3.1 or newer #20

Closed
Atihinen opened this issue Feb 2, 2022 · 3 comments · Fixed by #36
Closed

00-verify-setup fails with pip 21.3.1 or newer #20

Atihinen opened this issue Feb 2, 2022 · 3 comments · Fixed by #36
Labels
bug Something isn't working documentation Improvements or additions to documentation hacktoberfest https://hacktoberfest.com/

Comments

@Atihinen
Copy link
Contributor

Atihinen commented Feb 2, 2022

Workaround was to run command pip3 install pip==21.2.4 jazzband/pip-tools#1503 (comment)

@asimell asimell added bug Something isn't working documentation Improvements or additions to documentation labels Feb 14, 2022
@asimell
Copy link
Contributor

asimell commented Feb 14, 2022

This could and should be documented in 00_getting_started.md. Based on feedback on the training session on 8.2. installation and verification took too long, since the instructions were a bit unclear. The feedback suggested some What if... FAQ style troubleshooting when people have trouble with the installation.

@Atihinen
Copy link
Contributor Author

The FAQ in 00 would really make sense since there are known things to happen.

TurekBot pushed a commit to TurekBot/rf-katas that referenced this issue Apr 18, 2022
TurekBot added a commit to TurekBot/rf-katas that referenced this issue Apr 18, 2022
@Atihinen Atihinen added the hacktoberfest https://hacktoberfest.com/ label Sep 27, 2022
@Tattoo
Copy link
Contributor

Tattoo commented Jan 26, 2023

In setup/verify_env.py, we do the following:

from pip._internal.utils.misc import get_installed_distributions

This relies, as the line implies, on internals of pip which probably have changed.

Rather, we should probably do something like:

try:
   import robotframework
except ImportError:
   print('"robotframework" is not correctly installed!')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation hacktoberfest https://hacktoberfest.com/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants