-
Notifications
You must be signed in to change notification settings - Fork 24
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
Pylada-light installation error #54
Comments
I also tried with python2.7 and an error still appeared |
Could you check the compiler supports C++11? |
I have been having the same issue when installing pylada on clusters that have somewhat old versions of the compilers. I think @mdavezac is right, forcing the c++11 standard solves the issue for me:
@mdavezac should we add this to the c++ flags in setup.py? (I don't know much about cmake so I am not sure where exactly) |
I'm not too keen on adding hard-coded flags. They might make other setup fail. |
Hi I am trying to install pylada-light
When I entered pip3 install git+https://github.com/pylada/pylada-light --user,
an error appeared below.
Installing collected packages: pylada
Running setup.py install for pylada: started
Running setup.py install for pylada: finished with status 'error'
CMake Warning (dev) at build/external/src/GreatCMakeCookOff/cmake/GreatCMakeCookOffConfig.cmake:6 (set):
implicitly converting 'DOC' to 'STRING' type.
Call Stack (most recent call first):
cmake_modules/LookUp-GreatCMakeCookOff.cmake:13 (find_package)
CMakeLists.txt:31 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
ERROR: Command "/TGM/Apps/PYTHON/3.6.6_ICC18.0.3/bin/python3.6 -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-req-build-mg7bw46u/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-vze59oc4/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-req-build-mg7bw46u/
May I ask you solution for this error??
My python version: 3.6.6
cmake version: 3.16.2
The text was updated successfully, but these errors were encountered: