wagnerrp / pytmdb3

Python interface to TheMovieDB.org v3 API
BSD 3-Clause "New" or "Revised" License
122 stars 36 forks source link

freebsd package being selected from pip #55

Closed gazpachoking closed 9 years ago

gazpachoking commented 9 years ago

It seems the freebsd package is being selected by pip on non-freebsd systems and causing install errors. Downstream ticket: http://flexget.com/ticket/2788

Jean85 commented 9 years ago

+1, here too, using XBian clean install on Raspberry: it's ARM, the selected TMDB packet is for amd64, maybe that's the problem?

were55 commented 9 years ago

Same issue in raspbmc when trying to upgrade it.

diyanei commented 9 years ago

same issue on ubuntu 12.04 on i686 when trying to upgrade it... Trying to install freebsd on amd64 version.

diyanei commented 9 years ago

I just found out that installing tmdb3 through the following commands does the trick

# pip uninstall tmdb3
# pip install -Iv https://pypi.python.org/packages/source/t/tmdb3/tmdb3-0.7.1.tar.gz#md5=a3de16b84747ddec0e40c5a54cb17173

Thanks for your good work, @wagnerrp my 2 cents,

Crupuk commented 9 years ago

The previous method doesn't work for me...

I'm trying to install flexget, and pip continue to ask for the freebsd package... :-(

Jean85 commented 9 years ago

It worked for me at the time of my previous post (the first reply of this thread). I got that command from the link of the first post.

Crupuk commented 9 years ago
# pip uninstall tmdb3
Uninstalling tmdb3:
  /usr/lib/python2.7/site-packages/tmdb3-0.7.1-py2.7.egg-info
.....
Proceed (y/n)? y
  Successfully uninstalled tmdb3
# pip install -Iv https://pypi.python.org/packages/source/t/tmdb3/tmdb3-0.7.1.tar.gz#md5=a3de16b84747ddec0e40c5a54cb17173
Downloading/unpacking https://pypi.python.org/packages/source/t/tmdb3/tmdb3-0.7.1.tar.gz
  Downloading tmdb3-0.7.1.tar.gz
  Downloading from URL https://pypi.python.org/packages/source/t/tmdb3/tmdb3-0.7.1.tar.gz
  Running setup.py egg_info for package from https://pypi.python.org/packages/source/t/tmdb3/tmdb3-0.7.1.tar.gz
    running egg_info
    creating pip-egg-info/tmdb3.egg-info
    writing pip-egg-info/tmdb3.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/tmdb3.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/tmdb3.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/tmdb3.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info/tmdb3.egg-info/SOURCES.txt'
    writing manifest file 'pip-egg-info/tmdb3.egg-info/SOURCES.txt'
Installing collected packages: tmdb3
  Running setup.py install for tmdb3
    running install
    running build
    running build_py
    creating build
    creating build/lib
.....
    byte-compiling /usr/lib/python2.7/site-packages/tmdb3/cache_null.py to cache_null.pyc
    running install_egg_info
    running egg_info
    creating tmdb3.egg-info
    writing tmdb3.egg-info/PKG-INFO
    writing top-level names to tmdb3.egg-info/top_level.txt
    writing dependency_links to tmdb3.egg-info/dependency_links.txt
    writing manifest file 'tmdb3.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'tmdb3.egg-info/SOURCES.txt'
    writing manifest file 'tmdb3.egg-info/SOURCES.txt'
    Copying tmdb3.egg-info to /usr/lib/python2.7/site-packages/tmdb3-0.7.1-py2.7.egg-info
    running install_scripts
    writing list of installed files to '/tmp/pip-z4Nywq-record/install-record.txt'
Successfully installed tmdb3
Cleaning up...
# pip install flexget --upgrade
Downloading/unpacking flexget from https://pypi.python.org/packages/source/F/FlexGet/FlexGet-1.2.230.tar.gz#md5=5ab4073c42b32c22f1a2cb856881e24f
  Running setup.py egg_info for package flexget
    warning: no previously-included files matching '*' found under directory 'tests'
Requirement already up-to-date: FeedParser>=5.1.3 in /usr/lib/python2.7/site-packages (from flexget)
Downloading/unpacking SQLAlchemy>=0.7.5,!=0.9.0,<0.9.99 from https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.9.8.tar.gz#md5=470ca4da4a0081efc830f0d90dd91682 (from flexget)
  Running setup.py egg_info for package SQLAlchemy

    warning: no files found matching '*.jpg' under directory 'doc'
    warning: no files found matching 'distribute_setup.py'
    warning: no files found matching 'sa2to3.py'
    warning: no files found matching 'ez_setup.py'
    no previously-included directories found matching 'doc/build/output'
Requirement already up-to-date: PyYAML in /usr/lib64/python2.7/site-packages (from flexget)
Requirement already up-to-date: beautifulsoup4>=4.1,!=4.2.0,<4.4 in /usr/lib/python2.7/site-packages (from flexget)
Requirement already up-to-date: html5lib>=0.11 in /usr/lib/python2.7/site-packages (from flexget)
Requirement already up-to-date: PyRSS2Gen in /usr/lib/python2.7/site-packages (from flexget)
Requirement already up-to-date: pynzb in /usr/lib/python2.7/site-packages (from flexget)
Requirement already up-to-date: progressbar in /usr/lib/python2.7/site-packages (from flexget)
Requirement already up-to-date: rpyc in /usr/lib/python2.7/site-packages (from flexget)
Requirement already up-to-date: jinja2 in /usr/lib/python2.7/site-packages (from flexget)
Downloading/unpacking requests>=1.0,!=2.4.0,<2.99 from https://pypi.python.org/packages/source/r/requests/requests-2.5.0.tar.gz#md5=b8bf3ddca75e7ecf1b6776da1e6e3385 (from flexget)
  Running setup.py egg_info for package requests

Downloading/unpacking python-dateutil!=2.0,!=2.2 from https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.3.tar.gz#md5=14dae5a51d11802cc1e8828c5f797358 (from flexget)
  Running setup.py egg_info for package python-dateutil

Downloading/unpacking jsonschema>=2.0 from https://pypi.python.org/packages/source/j/jsonschema/jsonschema-2.4.0.tar.gz#md5=661f85c3d23094afbb9ac3c0673840bf (from flexget)
  Running setup.py egg_info for package jsonschema

Requirement already up-to-date: python-tvrage in /usr/lib/python2.7/site-packages (from flexget)
Downloading/unpacking tmdb3 from https://pypi.python.org/packages/any/t/tmdb3/tmdb3-0.7.1.freebsd-10.0-RELEASE-amd64.tar.gz#md5=ba031d315ad96192f17e8c751e8bee04 (from flexget)
  Downloading tmdb3-0.7.1.freebsd-10.0-RELEASE-amd64.tar.gz (71kB): 71kB downloaded
  Running setup.py egg_info for package tmdb3
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
    IOError: [Errno 2] No such file or directory: '/tmp/pip-build-root/tmdb3/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

IOError: [Errno 2] No such file or directory: '/tmp/pip-build-root/tmdb3/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-root/tmdb3
Storing complete log in /root/.pip/pip.log

Same issue ....

I'm on CentOs 7 with Python 2.7 and pip 1.3.1

# pip --version
pip 1.3.1 from /usr/lib/python2.7/site-packages (python 2.7)

Thanls @Jean85 for your reply

gazpachoking commented 9 years ago

@wagnerrp Any idea on this?

sveale commented 9 years ago

I had the same issue with Flexget on Debian. My mistake was using the "global" Pip, instead of the local one that's installed under "bin/" inside the Flexget directory (I'm installing from source pulled from github, this probably doesn't matter when installing flexget with global pip).

gazpachoking commented 9 years ago

@Toilal Looks like you are pypi maintainer as well? Any ideas?

Toilal commented 9 years ago

Hi, i'm maintainer of tmdb3 package on pypi, but I didn't wrote the library.

I've just upgraded the package to latest version too, and it may fix the issue.

gazpachoking commented 9 years ago

Thanks @Toilal, looks like pip install is working again!

wagnerrp commented 9 years ago

Sorry I've been out of touch the last couple months. Is this issue resolved?

were55 commented 9 years ago

Yes, is working now, thanks