Python Forum

Full Version: Import Library but Download first?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
OH, Ok, Thanks Big Grin

Thanks snippsat, I tried to install pandas-datareader but got the attached error; [attachment=550]
Try in anaconda own cmd shell.
Hi snippsat,
I've been trying download pandas_datareader and got a latest version with no option for an O/S from this site - https://pypi.org/project/pandas-datareader/.
I added the file to the Anaconda folder but when I went to run it the error was this version isn't correct (or similar).
So I thought that I maybe need a Windows specific download.
I found one that downloads as a .tar file at this link - https://anaconda.org/anaconda/pandas-datareader/files.
When I unzip it there are 2 folders inside;
  • Info - Contains folders named recipe & test and files named about.json, files, git, hash_input.json,
    LICENSE & paths.json
    Lib - Contains a file named site-packages and it contains 2 folders, pandas_datareader and pandas_datareader-0.7.0-py3.7.egg-info


These are currently sitting in my Downloads folder as I don't know what to do with them?

Can someone help here?

I need to get pandas_datareader & also mne if possible.

Thanks
Did you do as i told you in previous post?
There is really no alternative to try to do this on your own pip and conda has to work for Anaconda3.
It's called Anaconda Prompt
[Image: ssKud2.jpg]

Try with a proxy free list.
G:\Anaconda3\Scripts
λ pip install --proxy=http://119.28.182.246:443 logzero
Collecting logzero
  Using cached https://files.pythonhosted.org/packages/97/24/2...../logzero-1.5.0-py2.py3-none-any.whl
Requirement already satisfied: colorama; sys_platform == "win32" in g:\anaconda3\lib\site-packages (from logzero) (0.4.1)
Installing collected packages: logzero
Successfully installed logzero-1.5.0
Try to use conda to update\install OpenSSL,this can with connection issues which is your problem(VerifiedHTTPSConnection).
conda install -c anaconda openssl
Install OpenSSl on you Windows.
Hi snippsat,

Yes I did do as you advised but I don't think I'm trying to install the right file.
I mean the downloaded files are formatted as .tar or come with numerous files.
When I'm trying to install, I'm using the cmd prompt from the Downloads folder and as you've advised to use the 'Anaconda Prompt', I tried that but in both cases I get a 'Failed to establish a new connection' error.

I've tried googling this to find answer but no luck so far???
If you try with proxy what happens?
pip install --proxy=http://119.28.182.246:443 pandas_datareader
And follow advice with OpenSSl.
Pages: 1 2