Git Product home page Git Product logo

Comments (2)

ffancheng avatar ffancheng commented on September 5, 2024

Please find below the make test output for Python 3.5.

(manifold_env) /tmp/megaman   master  make test
mkdir -p /tmp/megaman
python setup.py install
Cythonizing sources
megaman/__check_build/_check_build.pyx has not changed
megaman/geometry/cyflann/index.pyx has not changed
Compiling FLANN with FLANN_ROOT=/Users/fche0019/miniconda3/envs/manifold_env
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "megaman.__check_build._check_build" sources
building extension "megaman.geometry/cyflann.index" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler

['/usr/bin/clang', '-Wno-unused-result', '-Wsign-compare', '-Wunreachable-code', '-DNDEBUG', '-g', '-fwrapv', '-O3', '-Wall', '-Wstrict-prototypes', '-I/Users/fche0019/miniconda3/envs/manifold_env/include', '-arch', 'x86_64', '-I/Users/fche0019/miniconda3/envs/manifold_env/include', '-arch', 'x86_64', '-I/usr/local/opt/zlib/include', '-I/usr/local/opt/bzip2/include']

customize UnixCCompiler using build_ext
running install_lib
running install_data
running install_egg_info
Removing /Users/fche0019/miniconda3/envs/manifold_env/lib/python3.5/site-packages/megaman-0.3.dev0-py3.5.egg-info
Writing /Users/fche0019/miniconda3/envs/manifold_env/lib/python3.5/site-packages/megaman-0.3.dev0-py3.5.egg-info
running install_clib
customize UnixCCompiler
cd /tmp/megaman && nosetests megaman
E


ERROR: Failure: ImportError (No module named 'megaman.__check_build._check_build'


Contents of /private/tmp/megaman/megaman/__check_build:
init.py pycache setup.pyc
_check_build.c setup.py init.pyc
_check_build.pyx


It seems that megaman has not been built correctly.

If you have installed megaman from source, please do not forget
to build the package before using it: run python setup.py install
in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.)

Traceback (most recent call last):
File "/private/tmp/megaman/megaman/__check_build/init.py", line 54, in
from ._check_build import check_build
ImportError: No module named 'megaman.__check_build._check_build'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/fche0019/miniconda3/envs/manifold_env/lib/python3.5/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/Users/fche0019/miniconda3/envs/manifold_env/lib/python3.5/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/Users/fche0019/miniconda3/envs/manifold_env/lib/python3.5/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/fche0019/miniconda3/envs/manifold_env/lib/python3.5/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/fche0019/miniconda3/envs/manifold_env/lib/python3.5/imp.py", line 245, in load_module
return load_package(name, filename)
File "/Users/fche0019/miniconda3/envs/manifold_env/lib/python3.5/imp.py", line 217, in load_package
return _load(spec)
File "", line 693, in _load
File "", line 673, in _load_unlocked
File "", line 697, in exec_module
File "", line 222, in _call_with_frames_removed
File "/private/tmp/megaman/megaman/init.py", line 7, in
from . import __check_build
File "/private/tmp/megaman/megaman/__check_build/init.py", line 56, in
raise_build_error(e)
File "/private/tmp/megaman/megaman/__check_build/init.py", line 51, in raise_build_error
msg=msg))
ImportError: No module named 'megaman.__check_build._check_build'


Contents of /private/tmp/megaman/megaman/__check_build:
init.py pycache setup.pyc
_check_build.c setup.py init.pyc
_check_build.pyx


It seems that megaman has not been built correctly.

If you have installed megaman from source, please do not forget
to build the package before using it: run python setup.py install
in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.


Ran 1 test in 0.001s

FAILED (errors=1)
make: *** [test] Error 1

from megaman.

ffancheng avatar ffancheng commented on September 5, 2024

@jmcq89 @mmp2

from megaman.

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.