Giter VIP home page Giter VIP logo

Comments (8)

chrisdembia avatar chrisdembia commented on August 29, 2024

Make sure we put examples/misc in (so they can run tests) in MANIFEST.in.

from yeadon.

chrisdembia avatar chrisdembia commented on August 29, 2024

Should be able to load the examples as well. Also, the PNG's in the docs, etc.

from yeadon.

chrisdembia avatar chrisdembia commented on August 29, 2024

sudo apt-get install python-vtk

mayaavi (i think pip install mayavi will get all below)
traits
traitsui
pyface
wxpython
configobj

from yeadon.

moorepants avatar moorepants commented on August 29, 2024

MayaVi can't install in a virtualenv because it needs the python wrappers to vtk in the virtualenv too. The best bet here is to install a distribution or from the operating system's repos.

from yeadon.

chrisdembia avatar chrisdembia commented on August 29, 2024

It does not seem reliable to expect dependencies to be installed when performing python setup.py install, so we should just instruct the users to the packages they need to use yeadon, before installing yeadon.

sudo pip install numpy doesn't even work for me; I think it expects that I have some dev packages installed.

To clarify, I'm trying this in a virtual box with a mostly clean version of Ubuntu 12.10.

from yeadon.

moorepants avatar moorepants commented on August 29, 2024

So this is a part of the pain of python installation. These are the instructions I think we should say, in this order:

  1. Install a scientific python distribution that has all the dependencies, then install yeadon
  2. Install the dependencies from your linux distros package manager (show details), then install yeadon
  3. Build dependencies from source (pip or manual download), then install yeadon [this is required for virutalenvs, or symlinking to the proper libraries in your distro)

sudo pip install numpy works if you have numpy's build dependencies. But numpy is a dependency. If you have numpy installed then pip will skip the installation of numpy unless you give the -U flag. This is all expected behavior from current python packaging and installation capabilities (not necessarily desired).

from yeadon.

chrisdembia avatar chrisdembia commented on August 29, 2024

I think those 3 options make sense.

On Sun, Jun 16, 2013 at 11:07 PM, Jason Moore [email protected]:

So this is a part of the pain of python installation. These are the
instructions I think we should say, in this order:

  1. Install a scientific python distribution that has all the
    dependencies, then install yeadon
  2. Install the dependencies from your linux distros package manager
    (show details), then install yeadon
  3. Build dependencies from source (pip or manual download), then
    install yeadon [this is required for virutalenvs, or symlinking to the
    proper libraries in your distro)

`sudo pip install numpy


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-19527619
.

from yeadon.

moorepants avatar moorepants commented on August 29, 2024

Ok, we just have to write this in the readme and the docs. There isn't much way around it. numpy, VTK and wypython/pyqt are painful to compile so will focus on these options. I have a branch "virtualenv" that was attempting to describe how to build all of those tools for a virtualenv install but it is too much of a pain.

from yeadon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.