Code Monkey home page Code Monkey logo

Comments (2)

matthew-brett avatar matthew-brett commented on August 21, 2024

This appears to be a nasty interaction between Python 3.5, nose and packages installed in .egg directories. What appears to be happening is that nose is trying to find a directory dipy when the actual directory is dipy-0.11.0.dev0-py3.5-win32.egg. This might only happen when trying to load doctests from extension modules (not sure). It does only happen when running through the dipnost.py script, and not directly through nosetests. Stripping the file down to this, still gave the error:

# vim: ft=python
""" ...
"""

import sys
import nose

argv = sys.argv + ['--with-doctest']
nose.core.TestProgram(argv=argv)

We're running the same thing on Python 3.4 and not getting an error : http://nipy.bic.berkeley.edu/builders/dipy-bdist32-34/builds/204/steps/shell_10/logs/stdio

So, I don't know why that would be true, but for the moment, I've changed the test to use a whl rather than an exe / easy_install install, and it seems to be running OK: http://nipy.bic.berkeley.edu/builders/dipy-bdist32-35/builds/37/steps/shell_11/logs/stdio

from nibotmi.

matthew-brett avatar matthew-brett commented on August 21, 2024

For my own reference, I used the suggestion here for debugging: http://stackoverflow.com/questions/16200333/import-errors-when-running-nosetests-that-i-cant-reproduce-outside-of-nose

python dipnost.py dipy --debug=nose,nose.importer --debug-log=nose_debug

from nibotmi.

Related Issues (11)

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.