Python Forum
Import Library but Download first?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import Library but Download first?
#11
OH, Ok, Thanks Big Grin

Thanks snippsat, I tried to install pandas-datareader but got the attached error;    
Reply
#12
Try in anaconda own cmd shell.
Reply
#13
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
Reply
#14
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.
Reply
#15
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???
Reply
#16
If you try with proxy what happens?
pip install --proxy=http://119.28.182.246:443 pandas_datareader
And follow advice with OpenSSl.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,616 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  download with internet download manager coral_raha 0 2,941 Jul-18-2021, 03:11 PM
Last Post: coral_raha
  How to test and import a model form computer to test accuracy using Sklearn library Anldra12 6 3,117 Jul-03-2021, 10:07 AM
Last Post: Anldra12
  Regarding import library in two different program file Rohit 3 2,459 Jan-22-2020, 07:14 AM
Last Post: buran
  sys library and how to import using conda michavardy 0 2,482 Feb-26-2019, 08:25 AM
Last Post: michavardy
  Do you know how to import Python Standard Library sylas 30 14,153 Jan-26-2018, 01:32 PM
Last Post: metulburr
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 4,790 May-06-2017, 11:29 AM
Last Post: harun2525

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020