Skip to content

Use with Platypus doesn't take installed requirements into account.  #122

@kMikaZu

Description

@kMikaZu
          I use the 1Password CLI and a custom script to inject the secrets. That script is wrapped into an app, made in Platypus. It asks for the environment (**Staging** or **Production**) and should then choose the right secret. 

The script runs fine, but I get a similar error.

​Staging
Installing Requirements
Requirement already satisfied: configparser in /opt/homebrew/lib/python3.11/site-packages (from -r requirements.txt (line 1)) (6.0.0)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.11/site-packages (from -r requirements.txt (line 2)) (2.31.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/homebrew/lib/python3.11/site-packages (from requests->-r requirements.txt (line 2)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/lib/python3.11/site-packages (from requests->-r requirements.txt (line 2)) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/homebrew/lib/python3.11/site-packages (from requests->-r requirements.txt (line 2)) (2.1.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.11/site-packages (from requests->-r requirements.txt (line 2)) (2023.11.17)
Running Jamf2Snipe
Traceback (most recent call last):
  File "/PATH/Jamf2Snipe.app/Contents/Resources/jamf2snipe", line 52, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
This is the end

What could be the culprit here? I followed the instructions and also created the virtualenv .

Originally posted by @kMikaZu in #67 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions