'decompression failed' error when downloading xlrd python package - python

I get the 'decompression failed' error when downloading xlrd python package from the following link. https://pypi.python.org/pypi/xlrd
I have downloaded python packages in the past but never got this error. Pls can someone tell me what may be the source of the error.

Safari appears to be broken for that link, I see the same error when I use that browser.
Either use a different browser (both Chrome and Firefox handle the file just fine), or use curl from the command line:
curl -O "https://pypi.python.org/packages/source/x/xlrd/xlrd-0.9.0.tar.gz"

Related

"[Errno 2] No such file or directory: [filename] " while trying to configure twarc2 library for fetching twitter data using Twitter api v2

I am trying to install and configure twarc2 library for getting full archive search from twitter. But while configuring using twarc2 configure , After I enter my Bearer token ,I get the error message. I have attached the screenshot of the error below. Please suggest possible solution to resolve this.
To know more about twarc: Twarc2 library
Yes this problem was due to Code to create config file (when not present) was not available in twarc library and thus this issue. This issue had been reported in github and is resolved now.
Issues-Docnow/twarc - Github
Solution is just
pip install --upgrade twarc
It will upgrade to latest version(2.1.7).
I had the same problem and just stumbled over this:
https://github.com/DocNow/twarc/releases/tag/v2.1.7
Apparently the was a bug in the code of twarc 2.1.6 which has been fixed in 2.1.7.
I just upgraded with pip an everything worked fine.

Unable to download praw using pip

I'm currently working my way through this guide which details how to make a reddit bot. followed the first step and ran my code in Python IDLE but had an issue because I didn't have PRAW downloaded.
My question is how exactly do I download PRAW? I looked around and tried downloading it through a few methods but none of them seemed to work for me. Currently working my way through this method but I keep getting an error:
Fatal error in launcher. Unable to create process using...
Try the following
Download the zip from https://pypi.python.org/pypi/praw#downloads
Unzip.
python setup.py install

Python 3.4.4 - pip collection error

I would really appreciate some help on the below query - I've been trying to get pip to work for the best of a day and really struggling.
Regardless of which module I try to install I keep getting a "Could not find a version that satisfies the requirement openpyxl (from version s: )
No matching distribution found for openpyxl
Please see a screenshot below of the error:
enter image description here
I've looked at around the website, including the following posts, to help with installing pip but still unsure as to why it isn't working.
'pip' is not recognized as an internal or external command
Fatal error in launcher: Unable to create process using ""C:\Program Files (x86)\Python33\python.exe" "C:\Program Files (x86)\Python33\pip.exe""
Any help would be massively appreciated!
Have you tried to check the internet connection?
From your screenshot, seems like you cannot access the URL as follow:.
https://pypi.python.org/simple/openpyxl/

Guidance needed: Error in Downloading Python for Eclipse Juno

I tried to download Python for Eclipse Juno via http://pydev.org/updates
I keep getting the error:
An error occurred while installing the items
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Install,
operand=null --> [R]org.tigris.subversion.clientadapter.feature.feature.jar 1.8.3, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallFeatureAction).
The artifact file for org.eclipse.update.feature,org.tigris.subversion.clientadapter.feature,1.8.3 was not found.
I cannot find a solution. Could someone guide me a little.
Did you checked the option "Contact all update sites during install to find required software" ? (in the available software page)
You can try to manually install it :
download from http://sourceforge.net/projects/pydev/files/pydev/
Extract the contents of the zip file in the eclipse/dropins folder and restart Eclipse.
If it's still not working, you can try removing/adding back the Eclipse Project Update site (to have the metadata recalculated)
And try unchecking the above option

Scrapy - Error Opening Archive - Failed to Open

I'm new to Scrapy and trying to install it on my MacBook Pro (10.9.1). The documentation that I read here http://scrapy.readthedocs.org/en/0.14/intro/install.html#download-and-install-an-official-release indicates that I should enter this
tar zxf Scrapy-X.X.X.tar.gz
cd Scrapy-X.X.X
python setup.py install
And so after doing that, I get the following error message:
Error opening archive: Failed to open 'scrapy-scrapy-0.22.0-6-gfb5c9c5.tar.tar.tar'
I'm assuming I'm supposed to run this in the Terminal. I'm guessing that because I'm new to this, that there's something obvious I missing. Any help would be really appreciated. Thanks.

Categories