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

Installation running into pip problems #730

Open
juscghwe opened this issue Aug 17, 2024 · 0 comments
Open

Installation running into pip problems #730

juscghwe opened this issue Aug 17, 2024 · 0 comments

Comments

@juscghwe
Copy link

During installation (using wget -qO - bit.ly/freetakhub2 | sudo bash -s -- --ip-addr ${MY_IPA}) I run into dependency errors.

At the beginning I get missing installation errors (see below) which throw me of extremely as:

  1. I have Jinja2-3.1.3 and psutil-5.9.4 already installed just for the command to uninstall and then complain. PyYAML-6.0.2 gets uninstalled by the tool just for it to say I have it installed shortly after.
  2. I manually installed every single package named in the error message. So there shouldnt be any problem.
  3. I ran it in a vitual environment, still same problems.

It doesn't throw other exceptions later down the line till the VideoServer stuff (see below) which I dont care about anyways because I dont need it. But from there everything goes down with none of the intended info showing up. I can see the UI in the browser but I get FTS Server is not reachable at {ip}. I guess this also comes with the skipped tasks. Browser also throws other exceptions.

BrowserError

/root/fts.venv/lib/python3.11/site-packages/FreeTAKServer-UI/config.py is fine.

Missing installations:

Installing collected packages: MarkupSafe, jinja2
   Attempting uninstall: MarkupSafe
      Found existing installation: MarkupSafe 2.1.5
      Uninstalling MarkupSafe-2.1.5: 
         Successfully uninstalled MarkupSafe-2.1.5
  Attempting uninstall: jinja2
      Found existing installation: Jinja2 3.1.3
      Uninstalling Jinja2-3.1.3:
         Successfully uninstalled Jinja2-3.1.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
freetakserver-ui 2.2.1 requires Jinja2==3.1.3, but you have jinja2 3.1.4 which is incompatible.
freetakserver 2.2.1 requires colorama==0.4.4, but you have colorama 0.4.6 which is incompatible.
freetakserver 2.2.1 requires dnspython==2.2.1, but you have dnspython 2.6.1 which is incompatible.
freetakserver 2.2.1 requires eventlet==0.33.1, but you have eventlet 0.35.2 which is incompatible.
freetakserver 2.2.1 requires greenlet==2.0.2, but you have greenlet 3.0.3 which is incompatible.
freetakserver 2.2.1 requires Jinja2==3.1.3, but you have jinja2 3.1.4 which is incompatible.
freetakserver 2.2.1 requires PyYAML==6.0.1, but you have pyyaml 6.0.2 which is incompatible.
Successfully installed MarkupSafe-2.1.5 jinja2-3.1.4
Collecting pyyaml
   Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (2.1 kB) 
Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (736 kB) 
Installing collected packages: pyyaml 
   Attempting uninstall: pyyaml
      Found existing installation: PyYAML 6.0.2
      Uninstalling PyYAML-6.0.2:
         Successfully uninstalled PyYAML-6.0.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
freetakserver 2.2.1 requires colorama==0.4.4, but you have colorama 0.4.6 which is incompatible.
freetakserver 2.2.1 requires dnspython==2.2.1, but you have dnspython 2.6.1 which is incompatible.
freetakserver 2.2.1 requires eventlet==0.33.1, but you have eventlet 0.35.2 which is incompatible.
freetakserver 2.2.1 requires greenlet==2.0.2, but you have greenlet 3.0.3 which is incompatible.
freetakserver 2.2.1 requires Jinja2==3.1.3, but you have jinja2 3.1.4 which is incompatible.
freetakserver 2.2.1 requires PyYAML==6.0.1, but you have pyyaml 6.0.2 which is incompatible.
Successfully installed pyyaml-6.0.2
Collecting psutil
   Using cached psutil-6.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (21 kB)
Using cached psutil-6.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (292 kB) 
Installing collected packages: psutil
   Attempting uninstall: psutil
      Found existing installation: psutil 5.9.4
      Uninstalling psutil-5.9.4:
         Successfully uninstalled psutil-5.9.4
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
freetakserver 2.2.1 requires colorama==0.4.4, but you have colorama 0.4.6 which is incompatible.
freetakserver 2.2.1 requires dnspython==2.2.1, but you have dnspython 2.6.1 which is incompatible.
freetakserver 2.2.1 requires eventlet==0.33.1, but you have eventlet 0.35.2 which is incompatible.
freetakserver 2.2.1 requires greenlet==2.0.2, but you have greenlet 3.0.3 which is incompatible.
freetakserver 2.2.1 requires Jinja2==3.1.3, but you have jinja2 3.1.4 which is incompatible.
freetakserver 2.2.1 requires psutil==5.9.4, but you have psutil 6.0.0 which is incompatible.
freetakserver 2.2.1 requires PyYAML==6.0.1, but you have pyyaml 6.0.2 which is incompatible.
Successfully installed psutil-6.0.0 

Unsuspected behavior at the End

TASK [nodered : Clone FreeTAKHub_VideoChecker repository] ****************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "git clone https://github.com/FreeTAKTeam/FreeTAKHub_VideoChecker.git", "delta": "0:00:00.015837", "end": "2024-08-17 19:10:58.730903", "msg": "non-zero return code", "rc": 128, "start": "2024-08-17 19:10:58.715066", "stderr": "fatal: destination path 'FreeTAKHub_VideoChecker' already exists and is not an empty directory.", "stderr_lines": ["fatal: destination path 'FreeTAKHub_VideoChecker' already exists and is not an empty directory."], "stdout": "", "stdout_lines": []}

RUNNING HANDLER [freetakserver_ui : print fts_ui url] ********************************************************************************

RUNNING HANDLER [freetakserver_ui : print fts_ui credentials] ************************************************************************

RUNNING HANDLER [murmur : print murmur ip] *******************************************************************************************

RUNNING HANDLER [murmur : print murmur credentials] **********************************************************************************

RUNNING HANDLER [murmur : print reconfigure message] *********************************************************************************

RUNNING HANDLER [videoserver : print videoserver url] ********************************************************************************

PLAY RECAP ***************************************************************************************************************************
localhost                  : ok=117  changed=29   unreachable=0    failed=1    skipped=8    rescued=0    ignored=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant