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

Installing using pip #1

Closed
mbnoimi opened this issue May 27, 2019 · 2 comments
Closed

Installing using pip #1

mbnoimi opened this issue May 27, 2019 · 2 comments

Comments

@mbnoimi
Copy link

mbnoimi commented May 27, 2019

Hi,

I'm unable to install tartube using pip whether I use sudo or not!

without root access

$ pip install tartube
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting tartube
  Downloading https://files.pythonhosted.org/packages/9d/19/3b0a16ce2bcaad8d02d1483b852ec430d186dc96fd5ebc85354e78b37c88/tartube-0.1.0.tar.gz (133kB)
     |████████████████████████████████| 143kB 540kB/s 
Installing collected packages: tartube
  Running setup.py install for tartube ... error
    ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-qTWvTz/tartube/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-NaWrNI/install-record.txt --single-version-externally-managed --compile:
    ERROR: /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    /usr/lib/python2.7/dist-packages/setuptools/dist.py:397: UserWarning: Normalizing '0.1.000' to '0.1.0'
      normalized_version,
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/lib
    copying lib/__init__.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/testing.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/media.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/constants.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/downloads.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/mainwin.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/utils.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/updates.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/options.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/refresh.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/files.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/config.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/mainapp.py -> build/lib.linux-x86_64-2.7/lib
    running install_lib
    creating /usr/local/lib/python2.7/dist-packages/lib
    error: could not create '/usr/local/lib/python2.7/dist-packages/lib': Permission denied
    ----------------------------------------
ERROR: Command "/usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-qTWvTz/tartube/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-NaWrNI/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-qTWvTz/tartube/

using root access

$ sudo pip install tartube
[sudo] password for evander:             
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
WARNING: The directory '/home/evander/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/evander/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting tartube
  Downloading https://files.pythonhosted.org/packages/9d/19/3b0a16ce2bcaad8d02d1483b852ec430d186dc96fd5ebc85354e78b37c88/tartube-0.1.0.tar.gz (133kB)
     |████████████████████████████████| 143kB 550kB/s 
Installing collected packages: tartube
  Running setup.py install for tartube ... done
Successfully installed tartube-0.1.0
evander@evander-laptop ~ $ tartube
tartube: command not found
$ sudo -H pip install tartube
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: tartube in /usr/local/lib/python2.7/dist-packages (0.1.0)
$ tartube
tartube: command not found

@axcore
Copy link
Owner

axcore commented May 27, 2019

Not sure what the correct installation procedure is yet; I'm still working everything out for myself.

But you can download the code from here, change directory into the tartube directory, and just run 'python tartube.py'.

And make sure you have installed Python 3 and Gtk.

@mbnoimi
Copy link
Author

mbnoimi commented May 27, 2019

Not sure what the correct installation procedure is yet; I'm still working everything out for myself.

But you can download the code from here, change directory into the tartube directory, and just run 'python tartube.py'.

And make sure you have installed Python 3 and Gtk.

OK, then I suggest to remove pip installation because it doesn't work at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants