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
The program doesn't start (error message) #760
Comments
If |
The script should use python3 by default https://github.com/mps-youtube/mps-youtube/blob/develop/mpsyt |
It seems everything is as it has to be but still the program throws this error. |
@hrnr Considering the pasted code, do I need to change anything? Or does the code here (on github) need an update? |
No, as long as your python3 is at /usr/bin/python3 (which it seems to be, because python is executing) the two shebangs are the same. There is clearly some installation problem. You may want to try to install latest development version. |
Tried, still doesn't work:
|
Running pip in sudo is not recommended and you should not randomly change permissions of system files. Can you try these steps?
|
The problem is that development branch is not longer installable though pip, because it is failing version check. Maybe this something that should be fixed @ids1024? Or should we fix the docs? Try cloning and running |
Then the README.rst should not recommend it :) I any case it is not possible to use it without sudo. Also I am not 'randomly' changing permissions but very specifically.
Too late for this. I already uninstalled everything yesterday because I don't like to keep non-functional software on the machine. If you have any other ideas considering the latest paste too, please let me know so I can try again. |
Not true. Check the top answer on this stackoverflow question to get a better insight.
Do you have pafy installed? If not, install pafy and youtube-dl and try again. If it still does not work, try these.
|
I checked the stackoverflow question however a simple test proves that I cannot run pip or pip3 without being root:
FWIW both files have 755 permissions. I have never made any special tuning of all this. This is simply Python coming from openSUSE's official repos. If you think there is something wrong that should be reported to openSUSE please give me the details and I will do it. Also if you insist that the SO answer is a valid one, i.e. that this is true:
then you should probably fix the documentation here. I have pafy (0.5.3.1) and youtube-dl (2018.1.18) installed, so I tried again:
That worked! I was able to start the program (but didn't know how to use it yet, so I simply typed Could you please explain shortly:
Thanks. |
That is very weird behavior. I feel there is something terribly wrong with your permissions. The fact that you couldn't do
You setup a python virtual environment. Your pip installations will go into
No. You can use it until you fix your permissions problem. The only real problem is that you have to execute
Ask on stackoverflow how to fix your permissions problem. If you don't mind using mpsyt in a virtual env look into virtualenvwrapper. |
The following solved the issue:
After uninstalling |
Cheers. Please close the ticket since your issue is solved. |
openSUSE Leap 42.3
The text was updated successfully, but these errors were encountered: