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

Issues with Installation #5

Open
bmbuncher opened this issue Sep 28, 2018 · 0 comments
Open

Issues with Installation #5

bmbuncher opened this issue Sep 28, 2018 · 0 comments

Comments

@bmbuncher
Copy link

bmbuncher commented Sep 28, 2018

Hi! I am running Ubuntu 14.04 on a Windows 10 Bash shell. When I try to install pyRSD for Python 3.6, I am not able to build the wheel. I do not have conda, so I have been using two different methods:

  1. When I use the method you suggested in your installation guide on the documentation (downloading the source via GitHub, then using "python3.6 -m pip install ." inside the cloned directory), I fail to build the wheel, receiving the errors:
    error: Command "x86_64-linux-gnu-g++ -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -IpyRSD/_gcl/include -I/mnt/d/Users/brand/Desktop/kind_3d_3/env/lib/python3.6/site-packages/numpy/core/include -Ibuild/temp.linux-x86_64-3.6/include -c pyRSD/_gcl/cpp/Common.cpp -o build/temp.linux-x86_64-3.6/pyRSD/_gcl/cpp/Common.o -MMD -MF build/temp.linux-x86_64-3.6/pyRSD/_gcl/cpp/Common.o.d -O2 -std=c++11" failed with exit status 1

    ----------------------------------------
Command "/mnt/d/Users/brand/Desktop/kind_3d_3/env/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-guyq9xeo/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-oxuetv99/install-record.txt --single-version-externally-managed --compile --install-headers /mnt/d/Users/brand/Desktop/kind_3d_3/env/include/site/python3.6/pyRSD" failed with error code 1 in /tmp/pip-req-build-guyq9xeo/
  1. I also tried using "python3.6 -m setup.py install", but this also failed. The final error was
error: Command "x86_64-linux-gnu-g++ -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -IpyRSD/_gcl/include -I/mnt/d/Users/brand/Desktop/kind_3d_3/env/lib/python3.6/site-packages/numpy/core/include -Ibuild/temp.linux-x86_64-3.6/include -I/mnt/d/Users/brand/Desktop/kind_3d_3/env/include -I/usr/include/python3.6m -I/mnt/d/Users/brand/Desktop/kind_3d_3/env/lib/python3.6/site-packages/numpy/core/include -c pyRSD/_gcl/cpp/Common.cpp -o build/temp.linux-x86_64-3.6/pyRSD/_gcl/cpp/Common.o -MMD -MF build/temp.linux-x86_64-3.6/pyRSD/_gcl/cpp/Common.o.d -O2 -std=c++11" failed with exit status 1

Of note, I also found earlier in the output that several files were not found by the installation routine; I searched within the source code myself and was also unable to find them:

warning: no files found matching 'pyRSD/gcl_wrap.cpp'
warning: no files found matching 'pyRSD/gcl.py'
warning: no files found matching 'depends/class-v2.6.1.tar.gz'

I have tried all of the common fixes (updating pip, setuptools, python3.6-dev, etc.) to no avail. I am not sure what the issue may be, as I have been unable to find the exact location within the source code of the command that fails to provide context.

If it would be of benefit, I can attach my full error files. If there is any other information I can provide, please let me know. Thank you!

EDIT: Edited for clarity

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

1 participant