trillionanswers Posted December 9, 2022 Share Posted December 9, 2022 Hello, I added the requests package to my local machine. I am trying to use this module in a python script but Alfred is telling me it cannot find this script 1. For the script language I have selected: /usr/bin/python3 2. pip3 freeze | grep requests -> requests==2.28.1 (I have the package on my computer) Any ideas? Link to comment
vitor Posted December 9, 2022 Share Posted December 9, 2022 It depends on how you installed it and how you’re calling it. See Understanding the Scripting Environment. If you mean to share that workflow, you should tell pip to install the package inside the workflow’s directory and load it from there. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now