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

unable to install psutil (windows 10) #687

Closed
rexendevar opened this issue Nov 25, 2023 · 17 comments · Fixed by #688 or #714
Closed

unable to install psutil (windows 10) #687

rexendevar opened this issue Nov 25, 2023 · 17 comments · Fixed by #688 or #714
Labels
bug Something isn't working in-beta This issue is fixed in a beta version
Milestone

Comments

@rexendevar
Copy link

Thought I would install Parabolic to my Windows partition as well since I do occasionally use it. It says it's unable to install psutil and that the program would not work correctly (which i confirmed). I tried to run the exe via the command line but it did not give me any new feedback.

@nlogozzo
Copy link
Member

Do you have any firewall set up? It could be that it's blocking psutil from installing (which uses python's pip util to install it)...

@nlogozzo
Copy link
Member

I think I found the issue....give me a minute to build the new installer

@rexendevar
Copy link
Author

rexendevar commented Nov 25, 2023 via email

@nlogozzo
Copy link
Member

i don't think i have a firewall. i'm not logging back on tonight to check

no worries, it's not the firewall. psutil requires vs redistributable to be on the system, so I'm packaging that with the installer and it should work after...

@nlogozzo nlogozzo added the bug Something isn't working label Nov 25, 2023
@nlogozzo
Copy link
Member

Whenever you get the chance, I updated the installer here: https://github.com/NickvisionApps/Parabolic/releases/tag/2023.11.1

Please download and try to install it and see what happens

@rexendevar
Copy link
Author

same issue.

@nlogozzo
Copy link
Member

ah ok...i'll look into it more

@CarrotManMatt
Copy link

I am also experiencing this issue

@nlogozzo nlogozzo added this to the V2023.12.0 milestone Dec 6, 2023
@nlogozzo
Copy link
Member

nlogozzo commented Dec 6, 2023

@rexendevar @CarrotManMatt Could you try this installer: https://we.tl/t-mug3HcsQ31 ?

Just note that it will install a beta version of the app...but it does work without issues

@CarrotManMatt
Copy link

@nlogozzo Sorry for my delay in testing this for you. Still no luck, fails to install due to inability to install psutil. Weirdly it also caused a soft restart before throwing the error (I allowed it to restart rather than cancelling, however that ended the install process. So after I had rebooted, I relaunched the installer which then encountered the error on the second try)

@nlogozzo nlogozzo reopened this Dec 10, 2023
@nlogozzo
Copy link
Member

@rexendevar @CarrotManMatt Hey, could you try the installer from this release: https://github.com/NickvisionApps/Parabolic/releases/tag/2023.12.0-beta1

psutil had a bug fix release that fixed some Windows installer issues so I hope it works now!

@CarrotManMatt
Copy link

@nlogozzo I'm sorry that I'm becoming your constant bearer of bad news, but still no luck! Those darn psutils.
image

@nlogozzo
Copy link
Member

@nlogozzo I'm sorry that I'm becoming your constant bearer of bad news, but still no luck!

No worries...I find it crazy how no one else is reporting an issue on psutil repo about this itself.
And users of Windows 11 have no issues...

@CarrotManMatt
Copy link

I am not well versed on these things (and will be moving to linux after KDE 6) so what is psutils anyway?

@nlogozzo
Copy link
Member

I am not well versed on these things (and will be moving to linux after KDE 6) so what is psutils anyway?

Psutils is a python module that allows you to tap into running processes and control them and their children.

Even though the app is made in C#, we actually embed python and use that to call and run yt-dlp. So the psutil module allows us to tap into yt-dlp and kill it and it's spawned ffmpeg processes when the user wants to stop a download while it's running.

I didn't find an easy way to do this in C# as the built in .NET process library didn't seem to provide an easy way to do this like psutils tho...I'm going to look for a proper C# solution to remove the use psutils all together.

@nlogozzo
Copy link
Member

@CarrotManMatt Luckily I was able to figure it out! Hope to have a beta 2 release out in a few hours for you to test :)

@nlogozzo
Copy link
Member

@CarrotManMatt Try this: https://github.com/NickvisionApps/Parabolic/releases/tag/2023.12.0-beta2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in-beta This issue is fixed in a beta version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants