Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install - Missing 'src/mtfit/probability/cprobability.c' #31

Open
Ulvetanna opened this issue Nov 21, 2017 · 3 comments
Open

Install - Missing 'src/mtfit/probability/cprobability.c' #31

Ulvetanna opened this issue Nov 21, 2017 · 3 comments
Assignees

Comments

@Ulvetanna
Copy link

Hi David,

currently missing 'src/mtfit/probability/cprobability.c' on install.

Current return from running 'python setup.py install'
running install running bdist_egg running egg_info writing requirements to src/mtfit.egg-info/requires.txt writing src/mtfit.egg-info/PKG-INFO writing top-level names to src/mtfit.egg-info/top_level.txt writing dependency_links to src/mtfit.egg-info/dependency_links.txt writing entry points to src/mtfit.egg-info/entry_points.txt reading manifest file 'src/mtfit.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/mtfit.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py UPDATING build/lib.linux-x86_64-2.7/mtfit/_version.py set build/lib.linux-x86_64-2.7/mtfit/_version.py to '1.0.0+5.g750c2a6' running build_ext building 'mtfit.probability.cprobability' extension gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/jds70/miniconda2/lib/python2.7/site-packages/numpy/core/include -I/home/jds70/miniconda2/include/python2.7 -c src/mtfit/probability/cprobability.c -o build/temp.linux-x86_64-2.7/src/mtfit/probability/cprobability.o -O3 -march=native gcc: error: src/mtfit/probability/cprobability.c: No such file or directory gcc: fatal error: no input files compilation terminated. error: command 'gcc' failed with exit status 4

@djpugh
Copy link
Owner

djpugh commented Nov 21, 2017

Apologies, was tweaking the build and have obviously dropped the c files. If you install cython, that should compile them from the .pyx files, but will fix them when I get the chance

@djpugh djpugh self-assigned this Nov 21, 2017
@djpugh djpugh mentioned this issue Nov 25, 2017
@marzeck
Copy link

marzeck commented Feb 19, 2019

Hi David,
I was just cloning the git repository and run into this issue again. I could avoid this issue while running python setup.py buil_ext before the actual install command. But I guess that is not how it's supposed to be?
Cheers,
marzeck

@djpugh
Copy link
Owner

djpugh commented Feb 19, 2019

Hi @marzeck - I think I can add setup.py install to also run build_ext when called and will test that. Will re-open

@djpugh djpugh reopened this Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants