-
Notifications
You must be signed in to change notification settings - Fork 8
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
setup.py not working on our end #10
Comments
Dah, i had changed the code so that it compiled on linux recently. Can you git checkout a30156b And then install with the normal procedure.
|
Sorry, I should have specified. The problem occurs on Linux.
|
I will need the version of swig you are using. Also g++. swig -version And try out the checkout command nevertheless, to see if that works... Surhud On Fri, Oct 14, 2016 at 3:37 AM Marcello Cacciato [email protected]
|
Please ping me once you are online, we can try to figure this out together I think I may have a solution but we need to test that it is working On Fri, Oct 14, 2016 at 1:19 PM, Surhud More [email protected] wrote:
|
gooimeer [1149] $ git checkout a30156b You are in 'detached HEAD' state. You can look around, make experimental If you want to create a new branch to retain commits you create, you may git checkout -b new_branch_name HEAD is now at a30156b... Convert concentration from one definition to and also gooimeer [1150] $ swig -version SWIG Version 2.0.10 Compiled with g++ [x86_64-redhat-linux-gnu] Configured options: +pcre Please see http://www.swig.org for reporting bugs and further information gooimeer [1151] $ g++ --version gooimeer [1152] $ sorry to bother you with all this M On 14 October 2016 at 06:26, Surhud More [email protected] wrote:
Dr. Marcello Cacciato Leiden Observatory Tel: +31 (0)71 527 8467 The Netherlands |
So now you are in a detached head state. You should try installing aum from python setup.py install --prefix= If that does not work, then: git checkout fbf0e66 And then install the latest swig: v3.0.10, That should have support for Cheers, On Fri, Oct 14, 2016 at 9:34 PM, Marcello Cacciato <[email protected]
|
Can you check if the latest fixes help you in the installation? I have now replaced the C++11 features for easier compilation. You will have to: |
Hi,
after cloning the repository, we run the command
python setup.py install --prefix=
pwd
/installbut we get the following error:
running install
running build
running build_py
file src/cosmology.py (for module cosmology) not found
file src/hod.py (for module hod) not found
file src/cosmology.py (for module cosmology) not found
file src/hod.py (for module hod) not found
running build_ext
building '_cosmology' extension
swigging src/cosmology.i to src/cosmology_wrap.cpp
swig -python -c++ -o src/cosmology_wrap.cpp src/cosmology.i
src/cosmology.h:142: Error: Syntax error in input(3).
error: command 'swig' failed with exit status 1
Not sure whether you have seen this before, any suggestion?
The text was updated successfully, but these errors were encountered: