AnotherJason
-
Posts
5 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by AnotherJason
-
-
Currently running it externally through a terminal command... but that feels a little undignified don't you think?
-
First off, I apologize I have no idea what I'm doing.
I successfully wrote a pretty simple python script that uses pyperclip. When I run it through Alfred's python3 it says "ModuleNotFoundError: No module named 'pyperclip'"I read elsewhere on these forums that it matters where pyperclip is installed so I have tried to use --target to put it in the proper place but no where I try seems to work.
Currently when I use pip show pyperclip the location is -- /opt/homebrew/lib/python3.11/site-packages.
Can someone ELI5 this whole situation? -
Oh man... basic reading skills. It works! Thanks, Vitor!
-
I am attempting to use Download Media for the first time and getting the following error message:
[12:49:11.570] ERROR: Download Media[Run Script] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb:213:in `spawn': No such file or directory - yt-dlp (Errno::ENOENT)
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb:213:in `popen_run'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb:159:in `popen2'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb:342:in `capture2'
from /Users/myname/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3DE5CDC4-DD5E-45F8-9395-F0129D8C4CBA/downmedia_functions.rb:153:in `download_url'from /Users/myname/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/36984C27-5C4F-46BB-8B26-8A5D7175C8EC:5:in `<main>'
Any idea what I'm doing wrong?
(also, when you sign up for an account on the Alfred forum it asks what the main color is, which is not very colorblind friendly lol. I had to look up the hex code)
Where to install pyperclip to run in Alfred?
in Discussion & Help
Posted
You know how sometimes you have to read the same thing multiple times to get it? I wasn't understanding PYTHONPATH
For anyone in the future reading this who is as dumb as me:
Click the [X] in the upper right hand corner
Choose "Environment Variables" at the top
Click the + Button in the lower right
NAME = PYTHONPATH
VALUE = (the path to your python)
My current path would not work for anyone else, or on any other computer. But because this workflow is so specific to what I'm trying to do for myself, I don't plan on publishing it...