saltstack / soluble

3 stars 2 forks source link

Use /opt/saltstack/salt/bin/pip3 to install soluble ? #1

Open tjyang opened 3 weeks ago

tjyang commented 3 weeks ago

Hi

How should I install soluble using pip3 come with salt-master 3006.9 ?

[me@rocky9t01b ~]$ /opt/saltstack/salt/bin/pip3 install soluble
Requirement already satisfied: soluble in /opt/saltstack/salt/lib/python3.10/site-packages (3.0.0)
Requirement already satisfied: distro in /opt/saltstack/salt/lib/python3.10/site-packages (from soluble) (1.5.0)
Requirement already satisfied: importlib-metadata<5.0 in /opt/saltstack/salt/lib/python3.10/site-packages (from soluble) (4.13.0)
Requirement already satisfied: pop>=27.1.0 in /opt/saltstack/salt/lib/python3.10/site-packages (from soluble) (27.1.0)
Requirement already satisfied: salt-ssh in /opt/saltstack/salt/lib/python3.10/site-packages (from soluble) (9000)
Requirement already satisfied: zipp>=0.5 in /opt/saltstack/salt/lib/python3.10/site-packages (from importlib-metadata<5.0->soluble) (3.6.0)
Requirement already satisfied: dict-toolbox>=2.1.2 in /opt/saltstack/salt/lib/python3.10/site-packages (from pop>=27.1.0->soluble) (5.0.0)
Requirement already satisfied: lazy-object-proxy in /opt/saltstack/salt/lib/python3.10/site-packages (from pop>=27.1.0->soluble) (1.10.0)
Requirement already satisfied: pop-config>=8.0.2 in /opt/saltstack/salt/lib/python3.10/site-packages (from pop>=27.1.0->soluble) (12.0.4)
Requirement already satisfied: pop-loop<2.0.0,>=1.0.5 in /opt/saltstack/salt/lib/python3.10/site-packages (from pop>=27.1.0->soluble) (1.1.0)
Requirement already satisfied: PyYAML>=6.0.1 in /opt/saltstack/salt/lib/python3.10/site-packages (from pop>=27.1.0->soluble) (6.0.1)
Requirement already satisfied: Jinja2 in /opt/saltstack/salt/lib/python3.10/site-packages (from salt-ssh->soluble) (3.1.4)
Requirement already satisfied: jmespath in /opt/saltstack/salt/lib/python3.10/site-packages (from salt-ssh->soluble) (1.0.1)
Requirement already satisfied: msgpack!=0.5.5,>=0.5 in /opt/saltstack/salt/lib/python3.10/site-packages (from salt-ssh->soluble) (1.0.2)
Requirement already satisfied: MarkupSafe in /opt/saltstack/salt/lib/python3.10/site-packages (from salt-ssh->soluble) (2.1.2)
Requirement already satisfied: requests>=1.0.0 in /opt/saltstack/salt/lib/python3.10/site-packages (from salt-ssh->soluble) (2.32.3)
Requirement already satisfied: contextvars in /opt/saltstack/salt/lib/python3.10/site-packages (from salt-ssh->soluble) (2.4)
Requirement already satisfied: psutil>=5.0.0 in /opt/saltstack/salt/lib/python3.10/site-packages (from salt-ssh->soluble) (5.8.0)
Requirement already satisfied: pycryptodomex>=3.9.8 in /opt/saltstack/salt/lib/python3.10/site-packages (from salt-ssh->soluble) (3.19.1)
Requirement already satisfied: pyzmq>19.0.2 in /opt/saltstack/salt/lib/python3.10/site-packages (from salt-ssh->soluble) (23.2.0)
Requirement already satisfied: aiofiles>=0.7.0 in /opt/saltstack/salt/lib/python3.10/site-packages (from dict-toolbox>=2.1.2->pop>=27.1.0->soluble) (24.1.0)
Requirement already satisfied: rend in /opt/saltstack/salt/lib/python3.10/site-packages (from pop-config>=8.0.2->pop>=27.1.0->soluble) (7.0.2)
Requirement already satisfied: nest-asyncio in /opt/saltstack/salt/lib/python3.10/site-packages (from pop-loop<2.0.0,>=1.0.5->pop>=27.1.0->soluble) (1.6.0)
Requirement already satisfied: sniffio in /opt/saltstack/salt/lib/python3.10/site-packages (from pop-loop<2.0.0,>=1.0.5->pop>=27.1.0->soluble) (1.3.1)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/saltstack/salt/lib/python3.10/site-packages (from requests>=1.0.0->salt-ssh->soluble) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in /opt/saltstack/salt/lib/python3.10/site-packages (from requests>=1.0.0->salt-ssh->soluble) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/saltstack/salt/lib/python3.10/site-packages (from requests>=1.0.0->salt-ssh->soluble) (1.26.18)
Requirement already satisfied: certifi>=2017.4.17 in /opt/saltstack/salt/lib/python3.10/site-packages (from requests>=1.0.0->salt-ssh->soluble) (2024.7.4)
Requirement already satisfied: immutables>=0.9 in /opt/saltstack/salt/lib/python3.10/site-packages (from contextvars->salt-ssh->soluble) (0.15)
Requirement already satisfied: colorama>=0.4.5 in /opt/saltstack/salt/lib/python3.10/site-packages (from rend->pop-config>=8.0.2->pop>=27.1.0->soluble) (0.4.6)
Requirement already satisfied: toml in /opt/saltstack/salt/lib/python3.10/site-packages (from rend->pop-config>=8.0.2->pop>=27.1.0->soluble) (0.10.2)
[me@rocky9t01b ~]$ /opt/saltstack/salt/bin/soluble
Traceback (most recent call last):
  File "/opt/saltstack/salt/bin/soluble", line 8, in <module>
    from soluble.scripts import start
ModuleNotFoundError: No module named 'soluble'
[me@rocky9t01b ~]$
dmurphy18 commented 3 weeks ago

@tjyang Try using salt-pip to install soluble