Cannot open URL: http://www.enthought.com/repo/.iron/eggs/index-depend.txt

Sep 1, 2011 at 10:13 PM

Executing "ironpkg scipy" causes the error below.  Any suggestions as to what the problem might be?

Traceback (most recent call last):
  File "c:\Program Files\IronPython 2.7.1 Beta 2\ironpkg-script.py", line 10, in <module>
  File "c:\Program Files\IronPython 2.7.1 Beta 2\lib\site-packages\enstaller\main.py", line 363, in main
  File "c:\Program Files\IronPython 2.7.1 Beta 2\lib\site-packages\enstaller\indexed_repo\chain.py", line 27, in __init__
  File "c:\Program Files\IronPython 2.7.1 Beta 2\lib\site-packages\enstaller\indexed_repo\chain.py", line 67, in add_repo
  File "c:\Program Files\IronPython 2.7.1 Beta 2\lib\site-packages\enstaller\utils.py", line 94, in write_data_from_urlurllib2.URLError: <urlopen error
<urlopen error [Errno 11001] no addresses of the specified family associated with host>
Cannot open URL:
    http://www.enthought.com/repo/.iron/eggs/index-depend.txt>

I am using Windows XP.
Had no problem installing IronPython 2.7.1 Beta 2 and ironpkg-1.0.0.py

Thanks for your help.
Olaf

Coordinator
Sep 2, 2011 at 12:43 AM

Olaf,

Thanks for reporting this.  I've pinged Enthought & they'll provide an update here soon.

s

Sep 2, 2011 at 2:51 PM

I don't think the URL listed above is the problem as I can copy/paste it into a web browser.  I also checked my firewall settings etc.

Do you know if there is another way to install numpy?

 

Olaf

Coordinator
Sep 3, 2011 at 7:45 AM

Olaf,

 

Did you follow the steps 1-3?  does it work w 2.7?  can you paste the output from each step? 

 

thx

Sep 6, 2011 at 6:43 AM

Same happened to me with 2.7.

getting the same error

everything before that went smooth

Can i download numpy and scipy another way?

Thanks

Sep 7, 2011 at 7:21 PM

> Did you follow the steps 1-3?  does it work w 2.7?  can you paste the output from each step?

Uninstalled PythonTools for Visual Studio
Uninstalled IronPython 2.7 Beta 2

Installed IronPython 2.7
Installed PythonTools for VisualStudio

Below is the output of trying to install NumPy/SciPy.

Olaf

c:\>ipy
IronPython 2.7 (2.7.0.40) on .NET 4.0.30319.235
Type "help", "copyright", "credits" or "license" for more information.
>>>


c:\junk\IronPython>ipy ironpkg-1.0.0.py --install
Bootstrapping: c:\documents and settings\olaf.meding\local settings\temp\tmpg6tc
gv\ironpkg-1.0.0-1.egg
   118 KB [.................................................................]


c:\junk\IronPython>ironpkg -h
Usage: ironpkg-script.py [options] [name] [version]

enstaller is a managing tool for egginst-based installs, and the CLI is called
enpkg which calls out to egginst to do the actual install. enpkg can access
distributions from local and HTTP repositories.

Options:
  -h, --help     show this help message and exit
  --config       display the configuration and exit
  -f, --force    force install the main package (not it's dependencies, see
                 --forceall)
  --forceall     force install of all packages (i.e. including dependencies)
  -i, --info     show information about a package
  -l, --list     list the packages currently installed on the system
  -n, --dry-run  show what would have been downloaded/removed/installed
  -N, --no-deps  neither download nor install dependencies
  --remove       remove a package
  -s, --search   search the index in the repo (chain) of packages and display
                 versions available.
  -v, --verbose
  --version
  --whats-new    display to which installed packages updates are available


c:\junk\IronPython>ironpkg scipy
Traceback (most recent call last):
  File "c:\Program Files\IronPython 2.7\ironpkg-script.py", line 10, in <module>

  File "c:\Program Files\IronPython 2.7\lib\site-packages\enstaller\main.py", line 363, in main
  File "c:\Program Files\IronPython 2.7\lib\site-packages\enstaller\indexed_repo\chain.py", line 27, in __init__
  File "c:\Program Files\IronPython 2.7\lib\site-packages\enstaller\indexed_repo\chain.py", line 67, in add_repo
  File "c:\Program Files\IronPython 2.7\lib\site-packages\enstaller\utils.py", line 94, in write_data_from_url
urllib2.URLError: <urlopen error
<urlopen error [Errno 11001] no addresses of the specified family associated with host>
Cannot open URL:
    http://www.enthought.com/repo/.iron/eggs/index-depend.txt>

Nov 2, 2011 at 10:53 PM


I get a similar but not quite identical error.  Its possible this has to do with proxy settings (in my case at least).  urllib2 is supposed to auto-detect proxy settings, but that doesn't seem to be happening.
C:\willblatt>ironpkg -v scipy
Traceback (most recent call last):
  File "C:\Program Files (x86)\IronPython 2.7.1\ironpkg-script.py", line 10, in 
  File "C:\Program Files (x86)\IronPython 2.7.1\lib\site-packages\enstaller\main.py", line 363, in main
  File "C:\Program Files (x86)\IronPython 2.7.1\lib\site-packages\enstaller\indexed_repo\chain.py", line 27, in __init__
  File "C:\Program Files (x86)\IronPython 2.7.1\lib\site-packages\enstaller\indexed_repo\chain.py", line 67, in add_repo
  File "C:\Program Files (x86)\IronPython 2.7.1\lib\site-packages\enstaller\utils.py", line 95, in write_data_from_url
urllib2.URLError: 
Cannot open URL:
    http://www.enthought.com/repo/.iron/eggs/index-depend.txt>

Nov 2, 2011 at 11:28 PM

To get around this, this is what I did.

Run

ironpkg --config

look for the line:

config file: C:\willblatt\.ironpkg

in that file I changed the repo to point locally:

 

IndexedRepos = [
 # 'http://www.enthought.com/repo/.iron/eggs',
 'file://c:\\willblatt\\',
]

 

In that folder (C:\willblatt\) I saved all the egg files and the index-depend.txt file (all the files listed @ http://www.enthought.com/repo/.iron/eggs/)

That seemed to get around the error.

Coordinator
Nov 2, 2011 at 11:31 PM

You might be able to set the HTTP_PROXY env var to use the appropriate proxy.

Nov 3, 2011 at 1:22 PM
i was trying to download through an intranet which didn't work
trying on a regular connection worked, just try that