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

Need to either make install into user homedir, or allow for other flavors of linux #8

Open
scholzmb opened this issue Jan 28, 2016 · 4 comments
Assignees
Labels

Comments

@scholzmb
Copy link

install script uses
sudo apt-get

requiring:
1)Debian based OS
2) sudo access

should be able to use pip and R commands to install into local directory for all dependencies (other than python-devel)

@scholzmb
Copy link
Author

scholzmb commented Feb 3, 2016

Related, for Ubuntu default installs of python, we apparently have issues with unicode libraries. see here:

https://docs.python.org/2/faq/extending.html#when-importing-module-x-why-do-i-get-undefined-symbol-pyunicodeucs2

@biobenkj biobenkj self-assigned this Feb 4, 2016
@biobenkj biobenkj added the bug label Feb 4, 2016
@biobenkj
Copy link
Owner

biobenkj commented Feb 4, 2016

I'd like to expand the linux environments supported, but for some reason in my testing on ubuntu on a personal box, R is difficult to install a library like edgeR for the user. But I will work on setting up an option to default install to a local directory instead of attempting root access.

@biobenkj
Copy link
Owner

biobenkj commented Feb 4, 2016

Regarding the unicode issue. I'll have to read more.

@scholzmb
Copy link
Author

scholzmb commented Feb 8, 2016

Perhaps split unicode issue to a separate issue?

In the meanitme, some thoughts:

  1. for R, we should be able to do install using a target dir ($PWD/R/libraries), and do some bash-foo to set the environment variable R_LIBS_USER to include that directory within SPARTA.

  2. Python should also be able to do similar:
    pip install --prefix $PWD/python PACKAGE # I THINK this would be the right usage
    then export PYTHONPATH=$PYTHONPATH:$SPARTAHOME/lib/python2.7/site-packages within SPARTA call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants