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

pinnwand installation instructions are not working as expected, pinnwand exe missing from bin directory #301

Open
lucecca opened this issue Dec 31, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@lucecca
Copy link

lucecca commented Dec 31, 2024

Following the instructions

python3 -m venv virtual-environment
virtual-environment/bin/pip install pinnwand

everything works perferctly but while executing the following command

virtual-environment/bin/pinnwand http
i get error pinnwand No such file or directory :-(

[ansible@mantis ~]$ ./virtual-environment/bin/pinnwand http
-bash: ./virtual-environment/bin/pinnwand: No such file or directory
[ansible@mantis ~]$ 

I'm following the procedure on a almalinux 9.5

[ansible@mantis ~]$ cat /etc/redhat-release 
AlmaLinux release 9.5 (Teal Serval)
[ansible@mantis ~]$ 
@supakeen
Copy link
Owner

supakeen commented Jan 1, 2025

Huh, I see the same happening here. I assume that ./virtual-environment/bin/python -m pinnwand http does work for you?

Seems like the entrypoint isn't being installed. I'll take a look.

@supakeen supakeen self-assigned this Jan 1, 2025
@supakeen supakeen added the bug Something isn't working label Jan 1, 2025
@supakeen
Copy link
Owner

supakeen commented Jan 1, 2025

Note for self: when doing pip install -e . in a source checkout project.scripts are available in bin; perhaps this is something to do with wheel generation.

@lucecca
Copy link
Author

lucecca commented Jan 1, 2025

Huh, I see the same happening here. I assume that ./virtual-environment/bin/python -m pinnwand http does work for you?

Yes it works even for me!
Is there any difference running pinnwand
this way ./virtual-environment/bin/python -m pinnwand http
instead of ./virtual-environment/bin/pinnwand http ?

@supakeen
Copy link
Owner

supakeen commented Jan 2, 2025

Huh, I see the same happening here. I assume that ./virtual-environment/bin/python -m pinnwand http does work for you?

Yes it works even for me! Is there any difference running pinnwand this way ./virtual-environment/bin/python -m pinnwand http instead of ./virtual-environment/bin/pinnwand http ?

There is no difference.

However, the way I documented should work as well so this is a bug in the packaging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants