probcomp / crosscat

A domain-general, Bayesian method for analyzing high-dimensional data tables
http://probcomp.csail.mit.edu/crosscat/
Apache License 2.0
322 stars 42 forks source link

install_python_packages.sh: No such file #24

Closed fiendish closed 9 years ago

fiendish commented 10 years ago

virtualenv setup script is looking for an install script that doesn't exist. I assume that it's trying to run an old equivalent of the pip requirements file.

fiendish commented 10 years ago

Better would be to remove the virtualenv install script. It serves very little purpose and is just likely to not work sometimes.

Simplest is to just do

virtualenv --no-site-packages crosscat_env
source crosscat_env/bin/activate
cd crosscat_env
git clone https://github.com/mit-probabilistic-computing-project/crosscat.git
pip install -I -r crosscat/requirements.txt
python crosscat/setup.py install 
dlovell commented 9 years ago

Hi fiendish,

FYI: last I was working on crosscat, I don't think I was using virtualenv at all: it caused a lot of issues with jenkins scripts and the need for virtualenv was highly reduced when VM's were being built (now Docker containers as far as I know).

Note that scripts/install_scripts/install.sh does a straight 'pip install'. I don't think anything references virtualenv_setup.sh any more.

Best Dan

fiendish commented 9 years ago

We do use virtualenvs for systems where the user has no admin privileges to install supporting packages like docker.io or virtualbox. But it's true that we don't need an included script for it, since the process is so trivial.

riastradh-probcomp commented 9 years ago

We removed all these scripts. Virtualenvs and Ubuntu 14.04 packages work fine for Crosscat now -- just use pip install . if you want a pipply installation.