Hello,

I installed fipy on Debian Wheezy following the manual instructions on page 11 with two modifications. First, I had to install gmsh from the backports repository. Second, I used version 3.0-1. Version 3.1-1 gives the python-central error. There must be something wrong with the deb file.

Best,

Juan.

On 02/06/2015 03:02 PM, Kris Kuhlman wrote:
I use fipy on Ubuntu, but I have never tried to install the .deb version.

It sounds like you have all the prerequisites. Either use "pip" (which you may have to install as "python-pip" via apt-get) or download the source and install that directly: http://www.ctcms.nist.gov/fipy/INSTALLATION.html

------

It is not necessary to formally install /FiPy/ <http://www.ctcms.nist.gov/fipy/documentation/glossary.html#term-fipy>, but if you wish to do so and you are confident that all of the requisite packages have been installed properly, you can install it by typing:

$ pip install fipy

or by unpacking the archive and typing:

$ python setup.py install

at the command line in the base /FiPy/ <http://www.ctcms.nist.gov/fipy/documentation/glossary.html#term-fipy> directory.





On Thu, Feb 5, 2015 at 8:41 PM, Kyle Lawlor <klawlor...@gmail.com <mailto:klawlor...@gmail.com>> wrote:

    Hi, again.

    A bit more information that may help diagnose the problem.
    I am using the Ubuntu OS(14.04) pre-installed python.
    I am able to import in my Python shell; numpy, scipy, matplotlib
    and pysparse.
    It seems for some reason the fipy debian file can't locate the
    packages.
    Currently the debian file is in my user home folder. (The standard
    directory that typically would show up opening a terminal and
    using ls).
    Could it be the location of this file?

    Cheers,
    Kyle

    On Thu, Feb 5, 2015 at 6:03 PM, Kyle Lawlor <klawlor...@gmail.com
    <mailto:klawlor...@gmail.com>> wrote:

        Hi all,

        I'm having trouble installing FiPy on my Ubuntu OS.
        I've followed the installation from the website:

        $ VERSION=x.y-z  # choose the version you want
        $ apt-get install gmsh libsuperlu3 python-central python-sparse
        $ curl 
-Ohttp://www.ctcms.nist.gov/fipy/download/python-fipy_${VERSION}_all.deb  
<http://www.ctcms.nist.gov/fipy/download/python-fipy_$%7BVERSION%7D_all.deb>
        $ dpkg -i python-fipy_${VERSION}_all.deb

        There was an error in the apt-get line for python-central:

        "Package python-central is not available, but is referred to
        by another package.
        This may mean that the package is missing, has been obsoleted, or
        is only available from another source

        E: Package 'python-central' has no installation candidate"

        Does this package 'python-central' not exist anymore? Is there
        another I can download in its place?

        I went ahead with the curl and dpkg commands.
        I got some more errors.

        "kblawlor@wizrd:~$ sudo dpkg -i python-fipy_${VERSION}_all.deb
        Selecting previously unselected package python-fipy.
        (Reading database ... 194884 files and directories currently
        installed.)
        Preparing to unpack python-fipy_3.1-1_all.deb ...
        Unpacking python-fipy (3.1-1) ...
        dpkg: dependency problems prevent configuration of python-fipy:
         python-fipy depends on python-numpy; however:
          Package python-numpy is not installed.
         python-fipy depends on python-sparse (>= 1.1); however:
          Package python-sparse is not installed.
         python-fipy depends on python-matplotlib; however:
          Package python-matplotlib is not installed.
         python-fipy depends on python-scipy; however:
          Package python-scipy is not installed.
         python-fipy depends on gmsh; however:
          Package gmsh is not installed.

        dpkg: error processing package python-fipy (--install):
         dependency problems - leaving unconfigured
        Errors were encountered while processing:
         python-fipy"

        These dependency problems are probably related to not having
        'python-central'.
        Any pointers?

        Thanks,
        Kyle



    _______________________________________________
    fipy mailing list
    fipy@nist.gov <mailto:fipy@nist.gov>
    http://www.ctcms.nist.gov/fipy
      [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]




_______________________________________________
fipy mailing list
fipy@nist.gov
http://www.ctcms.nist.gov/fipy
   [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]


--
Juan J. Hidalgo
IDAEA-CSIC
Jordi Girona 18-26
08034 Barcelona
Spain
jjhidalgo.wordpress.com

_______________________________________________
fipy mailing list
fipy@nist.gov
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to