In gmane.comp.mathematics.sage.support, you wrote:
> --Apple-Mail-6-908507845
> Content-Type: text/plain; charset=ISO-8859-1
>
> I want to install the visualization toolkit vtk into my sage on OS X 10.6.8. 
> I am running sage 4.8.
>
> Attempting to follow the instructions on 
> http://www.sagemath.org/doc/numerical_sage/installation_osx.html
>
> First of all, if I perform
> cd $SAGE_ROOT/local/lib
> rm libpng*.dylib
> and then start sage, sage complains about not being able to find the 
> libraries I just removed.
>
> I reinstalled sage, started it first, then deleted the library files in a 
> separate Terminal window.
>
> Next I issued (and received the response following)
> sage: install_package('python-2.5.1-framework')
> ---------------------------------------------------------------------------
> ValueError                                Traceback (most recent call last)
>
> /Users/jim/<ipython console> in <module>()
>
> /Applications/sage/local/lib/python2.6/site-packages/sage/misc/package.pyc in 
> install_package(package, force)
>     153             if is_package_installed(package):
>     154                 raise ValueError, "Package is already installed. Try 
> install_package('%s',force=True)"%(package)
> --> 155         raise ValueError, "There is no package name starting with 
> '%s'."%(package)
>     156     os.system('sage -f "%s"'%(L[0]))
>     157     __installed_packages = None
>
> ValueError: There is no package name starting with 'python-2.5.1-framework'.
>
>
> I tried again with parameter force=True as suggested in the traceback, but 
> that produced exactly the same traceback.
>
> Can someone please provide accurate instructions for installing vtk?

Thank you for your report. 

It seems that vtk support in sage has been
abandoned for quite some timei (like, 4 years!). While there is still
an experimental package vtk_meta-1.spkg, it would not work with a recent
version of Sage on OSX, as there is no more python-***-framework package
available for Sage. 
Please note that vtk was always an experimental package, so it was never
really supported.
It would require some work to see if vtk (version 5.8 now) works with
Sage, and if yes, how.
We'll certainly update that hugely obsolete documenation soon, too.

Please watch this thread for news.
 
Best,
Dmitrii

>
> Thank you,
> Jim Clark
>
> -- 
> To post to this group, send email to sage-supp...@googlegroups.com
> To unsubscribe from this group, send email to 
> sage-support+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
> --Apple-Mail-6-908507845
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/html; charset=ISO-8859-1
>
> <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:=
>  space; -webkit-line-break: after-white-space; ">I want to install the visu=
> alization toolkit vtk into my sage on OS X 10.6.8. I am running sage 4.8.<d=
> iv><br></div><div>Attempting to follow the instructions on&nbsp;<a href=3D"=
> http://www.sagemath.org/doc/numerical_sage/installation_osx.html";>http://ww=
> w.sagemath.org/doc/numerical_sage/installation_osx.html</a></div><div><br><=
> /div><div>First of all, if I perform</div><div><div class=3D"highlight-pyth=
> on"><pre style=3D"font-family: sans-serif; font-size: 16px; overflow-x: aut=
> o; overflow-y: hidden; padding-top: 5px; padding-right: 5px; padding-bottom=
> : 5px; padding-left: 5px; background-color: rgb(255, 255, 229); color: rgb(=
> 51, 51, 51); line-height: 15px; border-top-width: 1px; border-bottom-width:=
>  1px; border-top-style: solid; border-bottom-style: solid; border-top-color=
> : rgb(232, 216, 152); border-bottom-color: rgb(232, 216, 152); border-left-=
> style: none; border-left-width: initial; border-left-color: initial; border=
> -right-style: none; border-right-width: initial; border-right-color: initia=
> l; ">cd $SAGE_ROOT/local/lib
> rm libpng*.dylib</pre><div><span class=3D"Apple-style-span" style=3D"backgr=
> ound-color: transparent;">and then start sage, sage complains about not bei=
> ng able to find the libraries I just removed.</span></div><div><span class=
> =3D"Apple-style-span" style=3D"background-color: transparent;"><br></span><=
> /div><div><span class=3D"Apple-style-span" style=3D"background-color: trans=
> parent;">I reinstalled sage, started it first, then deleted the library fil=
> es in a separate Terminal window.</span></div><div><span class=3D"Apple-sty=
> le-span" style=3D"background-color: transparent;"><br></span></div><div><sp=
> an class=3D"Apple-style-span" style=3D"background-color: transparent;">Next=
>  I issued (and received the response following)</span></div><div><span clas=
> s=3D"Apple-style-span" style=3D"background-color: transparent;"><div>sage: =
> install_package('python-2.5.1-framework')</div><div>-----------------------=
> ----------------------------------------------------</div><div>ValueError &=
> nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Traceback (most recent call last)</div><=
> div><br></div><div>/Users/jim/&lt;ipython console&gt; in &lt;module&gt;()</=
> div><div><br></div><div>/Applications/sage/local/lib/python2.6/site-package=
> s/sage/misc/package.pyc in install_package(package, force)</div><div>&nbsp;=
>  &nbsp; 153 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if is_package_install=
> ed(package):</div><div>&nbsp; &nbsp; 154 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
>  &nbsp; &nbsp; &nbsp; raise ValueError, "Package is already installed. Try =
> install_package('%s',force=3DTrue)"%(package)</div><div>--&gt; 155 &nbsp; &=
> nbsp; &nbsp; &nbsp; raise ValueError, "There is no package name starting wi=
> th '%s'."%(package)</div><div>&nbsp; &nbsp; 156 &nbsp; &nbsp; os.system('sa=
> ge -f "%s"'%(L[0]))</div><div>&nbsp; &nbsp; 157 &nbsp; &nbsp; __installed_p=
> ackages =3D None</div><div><br></div><div>ValueError: There is no package n=
> ame starting with 'python-2.5.1-framework'.</div><div><br></div><div><br></=
> div><div>I tried again with parameter&nbsp;force=3DTrue as suggested in the=
>  traceback, but that produced exactly the same traceback.</div><div><br></d=
> iv><div>Can someone please provide accurate instructions for installing vtk=
> ?</div><div><br></div><div>Thank you,</div><div>Jim Clark</div></span></div=
> ></div>
> <br></div></body></html>
>
> <p></p>
>
> -- <br />
> To post to this group, send email to sage-supp...@googlegroups.com<br />
> To unsubscribe from this group, send email to sage-support+unsubscribe@goog=
> legroups.com<br />
> For more options, visit this group at <a href=3D"http://groups.google.com/g=
> roup/sage-support">http://groups.google.com/group/sage-support</a><br />
> URL: <a href=3D"http://www.sagemath.org";>http://www.sagemath.org</a><br />
>
> --Apple-Mail-6-908507845--
>

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to