Comments (5)
Upgrading setuptools the problem is solved. This link helped me http://stackoverflow.com/questions/20950295/pip-install-error-unknown-archive-format-whl
For me, the problem has been solved. Thanks you very much for your help ;)
from vimeo.py.
@luis-kaufmann-silva I suspect their may be an issue with the version of pip
you are using.
If you do
pip install -v PyVimeo
Pip will give you a bit more information about exactly what it is doing. You would see any pip errors in the more verbose output. Let you know what you get from the verbose output.
from vimeo.py.
A bit more of logs:
(test)vagrant@machine:~$ pip install -v PyVimeo
Downloading/unpacking PyVimeo
Using version 0.3.0.macosx-10.10-intel (newest of versions: 0.3.0.macosx-10.10-intel, 0.2.1, 0.2.0, 0.1.1)
Downloading PyVimeo-0.3.0.macosx-10.10-intel.tar.gz
Running setup.py egg_info for package PyVimeo
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/srv/env/test/build/PyVimeo/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/srv/env/test/build/PyVimeo/setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /srv/env/test/build/PyVimeo
Exception information:
Traceback (most recent call last):
File "/srv/env/test/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/srv/env/test/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 245, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/srv/env/test/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1009, in prepare_files
req_to_install.run_egg_info()
File "/srv/env/test/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 225, in run_egg_info
command_desc='python setup.py egg_info')
File "/srv/env/test/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/__init__.py", line 256, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /srv/env/test/build/PyVimeo
Storing complete log in /home/vagrant/.pip/pip.log
(test)vagrant@machine:~$ cat ~/.pip/pip.log
------------------------------------------------------------
/srv/env/test/bin/pip run on Thu Jul 23 05:16:10 2015
Downloading/unpacking PyVimeo
Getting page http://pypi.python.org/simple/PyVimeo
URLs to search for versions for PyVimeo:
* http://pypi.python.org/simple/PyVimeo/
Getting page http://pypi.python.org/simple/PyVimeo/
Analyzing links from page https://pypi.python.org/simple/pyvimeo/
Skipping link https://pypi.python.org/packages/2.7/P/PyVimeo/PyVimeo-0.1.0-py2.7.egg#md5=8de3aecf85cae5817f2054c8c0b51de6 (from https://pypi.python.org/simple/pyvimeo/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/py2/P/PyVimeo/PyVimeo-0.2.1-py2-none-any.whl#md5=9406e75c5eb129cba3d7b69f72a291f0 (from https://pypi.python.org/simple/pyvimeo/); unknown archive format: .whl
Skipping link https://pypi.python.org/packages/py2/P/PyVimeo/PyVimeo-0.3.0-py2-none-any.whl#md5=db329f9d98a5dfd6e8fbeafa8d3604d4 (from https://pypi.python.org/simple/pyvimeo/); unknown archive format: .whl
Skipping link https://pypi.python.org/packages/py3/P/PyVimeo/PyVimeo-0.2.1-py3-none-any.whl#md5=8babb1ef0e4705b999366cdb0c818069 (from https://pypi.python.org/simple/pyvimeo/); unknown archive format: .whl
Skipping link https://pypi.python.org/packages/py3/P/PyVimeo/PyVimeo-0.3.0-py3-none-any.whl#md5=933da4e17c145c734b901b594ed326fb (from https://pypi.python.org/simple/pyvimeo/); unknown archive format: .whl
Found link https://pypi.python.org/packages/source/P/PyVimeo/PyVimeo-0.1.1.tar.gz#md5=be1f4142ca10fd96910ad9c3738d009a (from https://pypi.python.org/simple/pyvimeo/), version: 0.1.1
Found link https://pypi.python.org/packages/source/P/PyVimeo/PyVimeo-0.2.0.tar.gz#md5=e52e4be7bfedc2adcebe1c8c10279b65 (from https://pypi.python.org/simple/pyvimeo/), version: 0.2.0
Found link https://pypi.python.org/packages/source/P/PyVimeo/PyVimeo-0.2.1.tar.gz#md5=93b7864ef68767156895a98f86491c3d (from https://pypi.python.org/simple/pyvimeo/), version: 0.2.1
Found link https://pypi.python.org/packages/source/P/PyVimeo/PyVimeo-0.3.0.macosx-10.10-intel.tar.gz#md5=0f07813a2787f41f151f79e811d7488f (from https://pypi.python.org/simple/pyvimeo/), version: 0.3.0.macosx-10.10-intel
Using version 0.3.0.macosx-10.10-intel (newest of versions: 0.3.0.macosx-10.10-intel, 0.2.1, 0.2.0, 0.1.1)
Downloading PyVimeo-0.3.0.macosx-10.10-intel.tar.gz
Downloading from URL https://pypi.python.org/packages/source/P/PyVimeo/PyVimeo-0.3.0.macosx-10.10-intel.tar.gz#md5=0f07813a2787f41f151f79e811d7488f (from https://pypi.python.org/simple/pyvimeo/)
Running setup.py egg_info for package PyVimeo
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/srv/env/test/build/PyVimeo/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/srv/env/test/build/PyVimeo/setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /srv/env/test/build/PyVimeo
Exception information:
Traceback (most recent call last):
File "/srv/env/test/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/srv/env/test/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 245, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/srv/env/test/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1009, in prepare_files
req_to_install.run_egg_info()
File "/srv/env/test/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 225, in run_egg_info
command_desc='python setup.py egg_info')
File "/srv/env/test/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/__init__.py", line 256, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /srv/env/test/build/PyVimeo
See the line "Downloading PyVimeo-0.3.0.macosx-10.10-intel.tar.gz", i'm using a debian based machine. It's right?
Thanks in advance ;)
from vimeo.py.
@luis-kaufmann-silva looking at the way pip is resolving links it is skipping .whl
Analyzing links from page https://pypi.python.org/simple/pyvimeo/
Skipping link https://pypi.python.org/packages/2.7/P/PyVimeo/PyVimeo-0.1.0-py2.7.egg#md5=8de3aecf85cae5817f2054c8c0b51de6 (from https://pypi.python.org/simple/pyvimeo/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/py2/P/PyVimeo/PyVimeo-0.2.1-py2-none-any.whl#md5=9406e75c5eb129cba3d7b69f72a291f0 (from https://pypi.python.org/simple/pyvimeo/); unknown archive format: .whl
Skipping link https://pypi.python.org/packages/py2/P/PyVimeo/PyVimeo-0.3.0-py2-none-any.whl#md5=db329f9d98a5dfd6e8fbeafa8d3604d4 (from https://pypi.python.org/simple/pyvimeo/); unknown archive format: .whl
Skipping link https://pypi.python.org/packages/py3/P/PyVimeo/PyVimeo-0.2.1-py3-none-any.whl#md5=8babb1ef0e4705b999366cdb0c818069 (from https://pypi.python.org/simple/pyvimeo/); unknown archive format: .whl
Skipping link https://pypi.python.org/packages/py3/P/PyVimeo/PyVimeo-0.3.0-py3-none-any.whl#md5=933da4e17c145c734b901b594ed326fb (from https://pypi.python.org/simple/pyvimeo/); unknown archive format: .whl
Meaning you most likely do not have wheel installed. Pip is attempting to install PyVimeo-0.3.0.macosx-10.10-intel.tar.gz
which you do not want. You will need to install wheel and then pip will install the wheel version of PyVimeo by default, which
- Avoids setup.py
- Allows for more consistent installs across platforms and machines
Let me know if that works for you.
from vimeo.py.
Excellent!
from vimeo.py.
Related Issues (20)
- Retrieving channel's metadatas HOT 1
- Video Subdomain embed not working HOT 1
- Any plans to update the requests version HOT 1
- Transcode status is 'complete' while upload status is 'in_progress' HOT 1
- Failed upload using Device Auth token HOT 4
- error importing vimeo: Python 3 HOT 6
- How to add chapters to videos? HOT 2
- Filename is set to "Unknown file name" when using v.upload()
- what is the proper format for uploading a video with a password?
- Here's a package for additional API support HOT 2
- URGENT!!!.....How to create a folder inside folder ? HOT 2
- How to create subfolder/nasted-folder inside parent folder with Vimeo API using python? HOT 3
- Location vs location
- "You have been banned" error when trying to post comment with token of another user. HOT 2
- NameError: name 'uri' is not defined HOT 2
- Uploading videos with vertical bar "|" character in video name/description HOT 1
- authenticateWithCodeGrant API is not working in 1.1.3
- emojis, U+10000 (F0, F1, F2, F3) unicode support HOT 1
- Upload audio tracks
- Python SyntaxError in `exceptions.py` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimeo.py.