jdholtz / auto-southwest-check-in

A Python script that automatically checks in to your Southwest flight 24 hours beforehand.
GNU General Public License v3.0
463 stars 89 forks source link

Python 3.8 unable to install requirements on rocky linux #261

Closed brobits closed 5 months ago

brobits commented 6 months ago

Version

Auto-Southwest Check-In v7.4

Browser Version

Version 124.0.6367.93 (Official Build) (amd64)

Description

Unable to install pip3 requirements.txt using clean python 3.8 (no other python on system). See logs below.

To Reproduce

  1. Follow readme instructions to install python 3.8 with pip
  2. attempt pip3 install -r requirements.txt
  3. observe above failure

Expected Behavior

Project installs python dependencies

Relevant logs and program output

ERROR: seleniumbase 4.25.4 has requirement urllib3<2,>=1.26.18; python_version < "3.10", but you'll have urllib3 2.2.1 which is incompatible.
Installing collected packages: certifi, idna, urllib3, charset-normalizer, requests, oauthlib, requests-oauthlib, PyYAML, click, zipp, importlib-metadata, markdown, apprise, pytz, exceptiongroup, tabcompleter, mdurl, attrs, h11, wsproto, outcome, sortedcontainers, sniffio, trio, trio-websocket, fasteners, py, pluggy, wheel, filelock, typing-extensions, platformdirs, six, chardet, pyotp, cssselect, setuptools, markdown-it-py, pygments, rich, colorama, tomli, iniconfig, packaging, pytest, pytest-metadata, pytest-ordering, pynose, parse, parse-type, behave, execnet, pytest-xdist, soupsieve, pytest-rerunfailures, pytest-html, beautifulsoup4, parameterized, selenium, pip, pdbp, sbvirtualdisplay, seleniumbase
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.8'
Consider using the `--user` option or check the permissions.

Additional context

No response

jdholtz commented 6 months ago

Could you try installing the requirements in a Python virtual environment? I highly recommend doing that instead of installing them to Pip's global packages as Python dependencies are a pain to manage between projects if they are all global.

You may want to install the requirements in a Python virtual environment to ensure they don't conflict with other Python projects on your system.

jdholtz commented 6 months ago

Hey @brobits, have you been able to try my suggestions above?

jdholtz commented 5 months ago

Closing this due to inactivity. I'll reopen this if you are still having issues after trying my suggestions above.