Hi Christian, yes, once you are working in the virtual environment, you shouldn't use sudo anymore to run the python commands.
Can you confirm what version of python you have in your virtual environment? When you have ENV activated, type python and you'll see the working version number. To exit the python interface in the command line, type exit() Your ENV should be running Python 2.7.6. Adam On Wed, Apr 20, 2016 at 8:22 PM, <[email protected]> wrote: > Thanks Adam, adding sudo helped. > > I was able to install pip (using: sudo apt-get install python-pip), and > create the virtual environment. I think I'm now having errors relating to > the Arches installation. (I'm almost there!) > > Here is the steps I've taken: > > sudo pip install virtualenv==1.11.4 (works OK) > > > Create "Project" directory enter Project directory. > > > virtualenv ENV (works OK) > > > source ENV/bin/activate (works OK) > > > pip install arches (sample of errors throughout instalation as follows:) > > > *sample at start of installation:* > > > warning: no previously-included files found matching > 'arches/logs/*.txt' > > warning: no previously-included files matching '*' found under > directory 'tests' > > warning: no previously-included files matching '*' found under > directory 'virtualenv' > > warning: no previously-included files matching '*' found under > directory 'arches/elasticsearch' > > warning: no previously-included files matching '*' found under > directory 'arches/uploadedfiles' > > *Sample at middle, just before elastic search download:* > > compilation terminated. > > > > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 > > > *and at end:* > > > compilation terminated. > > > > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 > > > > ---------------------------------------- > > Cleaning up... > > Command /home/couimet/Projects/ENV/bin/python -c "import setuptools, > tokenize;__file__='/home/couimet/Projects/ENV/build/psycopg2/setup.py';exec(compile(getattr(tokenize, > 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" > install --record /tmp/pip-pt7G0M-record/install-record.txt > --single-version-externally-managed --compile --install-headers > /home/couimet/Projects/ENV/include/site/python2.7 failed with error code 1 > in /home/couimet/Projects/ENV/build/psycopg2 > > Storing debug log for failure in /home/couimet/.pip/pip.log > > 30917670 [100.00%] > > Successfully installed arches > > Cleaning up... > > (ENV)couimet@ubuntu:~/Projects$ > > > I also tried with sudo pip install arches, but that seems to make it worst. > > > Thanks again. > > > Christian > > -- > -- To post, send email to [email protected]. To unsubscribe, > send email to [email protected]. For more > information, visit https://groups.google.com/d/forum/archesproject?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Arches Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
