It in strange that in './virtualenv/ENV' I don't have a tmp folder. I will 
reinstall Ubuntu and everything else tomorrow, and let you know how thinks 
will go. Thank you once again for your support.  

On Monday, January 13, 2014 8:19:43 PM UTC+2, Alexei Peters wrote:
>
> Sorry clicked send prematurely...
>
> Hi Cristina,
> Many times the error messages that can get during issues like this seem 
> intimidating, but in reality usually give you clues as to what happened.
> In this case, if you look at the error message you'll notice that it tells 
> you exactly what to do.
>
>
>
>
>
> *pip can't proceed with requirement 'distribute==0.6.27 (from -r 
> /home/cris/ArchesWeb/Install/requirements.txt (line 5))' due to a 
> pre-existing build directory.  location: 
> /home/cris/ArchesWeb/virtualenv/ENV/tmp/distributeThis is likely due to a 
> previous installation that failed.pip is being responsible and not assuming 
> it can delete this.Please delete it and try again.*
>
> It's saying that you had an installation that previously failed.  During 
> that failed installation, the build process created a "tmp" folder in 
> /home/cris/ArchesWeb/virtualenv/ENV/
> Now that you're trying to redo the build, it's saying that you need to 
> delete the "tmp" folder.  It's not going to delete it for you.
> I would delete that folder and then begin the install process all over 
> again.
> That should work.
>
> Cheers,
> Alexei
>
>
> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>  
>
> On Mon, Jan 13, 2014 at 10:14 AM, Alexei Peters 
> <[email protected]<javascript:>
> > wrote:
>
>> Hi Cristina,
>> Many times the error messages that can get during issues like this seem 
>> intimidating, but in reality usually give you clues as to what happened.
>> In this case, if you look at the error message you'll notice that it 
>> tells you exactly what to do.
>>
>> pip can't proceed with requirement 'distribute==0.6.27 (from -r 
>> /home/cris/ArchesWeb/Install/requirements.txt (line 5))' due to a 
>> pre-existing build directory.
>>  location: /home/cris/ArchesWeb/virtualenv/ENV/tmp/distribute
>> This is likely due to a previous installation that failed.
>> pip is being responsible and not assuming it can delete this.
>> Please delete it and try again.
>>
>>
>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>>  
>>
>> On Mon, Jan 13, 2014 at 9:51 AM, Tudor Cristina 
>> <[email protected]<javascript:>
>> > wrote:
>>
>>> So, I finally edited install.py as you said, but I still get this error :
>>>
>>> pip can't proceed with requirement 'distribute==0.6.27 (from -r 
>>> /home/cris/ArchesWeb/Install/requirements.txt (line 5))' due to a 
>>> pre-existing build directory.
>>>  location: /home/cris/ArchesWeb/virtualenv/ENV/tmp/distribute
>>> This is likely due to a previous installation that failed.
>>> pip is being responsible and not assuming it can delete this.
>>> Please delete it and try again.
>>>
>>> Storing debug log for failure in /home/cris/.pip/pip.log
>>>
>>> Traceback (most recent call last):
>>>   File "install.py", line 64, in <module>
>>>
>>>     shutil.copy2(os.path.join(here, 'base.py'), 
>>> os.path.join(virtualenv_working_dir, 'lib', py_version, 'site-packages', 
>>> 'django', 'db', 'backends', 'postgresql_psycopg2'))
>>>   File "/usr/lib/python2.7/shutil.py", line 128, in copy2
>>>     copyfile(src, dst)
>>>   File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
>>>     with open(dst, 'wb') as fdst:
>>> IOError: [Errno 2] No such file or directory: 
>>> '/home/cris/ArchesWeb/virtualenv/ENV/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2'
>>>
>>>
>>> I've talked to other person who installed Arches, and worked just fine. 
>>> I still can't image why I get this error. I've tried installing on another 
>>> device, but I get the same error. 
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Monday, January 13, 2014 12:21:41 PM UTC+2, Koen Van Daele wrote:
>>>
>>>> Could you try editing /home/cris/ArchesWeb/Install/install.py with 
>>>> something like gedit or vim? 
>>>>
>>>> On line 52 it currently says: 
>>>>
>>>> # INSTALL DJANGO, RAWES, SPHINX AND OTHER DEPENDENCIES                 
>>>>           
>>>> tmpinstalldir = '%s/tmp' % (virtualenv_working_dir)                     
>>>>         
>>>> os.system("pip install -b %s -r %s" % (tmpinstalldir, 
>>>> os.path.join(here, 'requirements.txt'))) 
>>>> shutil.rmtree(tmpinstalldir, True)                                     
>>>>         
>>>>
>>>> Try changing it to (adding the third line): 
>>>>
>>>> # INSTALL DJANGO, RAWES, SPHINX AND OTHER DEPENDENCIES                 
>>>>           
>>>> tmpinstalldir = '%s/tmp' % (virtualenv_working_dir)                     
>>>>         
>>>> os.system("pip install --no-use-wheel -b %s setuptools --upgrade" % 
>>>> (tmpinstalldir)) 
>>>> os.system("pip install -b %s -r %s" % (tmpinstalldir, 
>>>> os.path.join(here, 'requirements.txt'))) 
>>>> shutil.rmtree(tmpinstalldir, True) 
>>>>
>>>> If this doesn't work, look for all lines containing pip install 
>>>> (there's one at the end of the file as well that says pip install psycopg) 
>>>> and add --no-use-wheel. 
>>>>
>>>> Alexei, there might still be an issue with the requirements.txt file 
>>>> which pins to distribute version 0.6.27. 
>>>>
>>>> Cheers, 
>>>> Koen 
>>>> ________________________________________ 
>>>> Van: [email protected] [[email protected]] namens 
>>>> Van Daele, Koen [[email protected]] 
>>>> Verzonden: maandag 13 januari 2014 10:55 
>>>> Aan: Tudor Cristina; [email protected] 
>>>> Onderwerp: RE: [Arches] Error while installing Arches on Ubuntu 
>>>>
>>>> Hi, 
>>>>
>>>> is this the same problem as you mentioned in 
>>>> https://bitbucket.org/archs/arches/issue/363/error-
>>>> installation-on-ubuntu? 
>>>>
>>>> In which case it might be that your installation of django is failing. 
>>>> Is there a folder 
>>>> '/home/cris/ArchesWeb/virtualenv/ENV/lib/python2.7/site-packages/django'? 
>>>> You can check this with the ls command, ie. 'ls /home/cris/ArchesWeb/
>>>> virtualenv/ENV/lib/python2.7/site-packages/django' should not say that 
>>>> it does not exist. 
>>>>
>>>> Could you check this? 
>>>>
>>>> You bitbucket ticket seems to indicate some possible problems with 
>>>> setuptools. 
>>>>
>>>> Cheers, 
>>>> Koen 
>>>> ________________________________________ 
>>>> Van: [email protected] [[email protected]] namens 
>>>> Tudor Cristina [[email protected]]u yo 
>>>> Verzonden: zondag 12 januari 2014 10:45 
>>>> Aan: [email protected] 
>>>> Onderwerp: [Arches] Error while installing Arches on Ubuntu 
>>>>
>>>> Hi! 
>>>>
>>>> I try to install Arches on Ubuntu 12.04 LTS. 
>>>> I constantly get this error when I enter sudo ./install.sh : 
>>>>
>>>> Traceback (most recent call last): 
>>>>   File "install.py", line 63, in <module> 
>>>>     shutil.copy2(os.path.join(here, 'base.py'), 
>>>> os.path.join(virtualenv_working_dir, 'lib', py_version, 
>>>> 'site-packages', 'django', 'db', 'backends', 'postgresql_psycopg2')) 
>>>>   File "/usr/lib/python2.7/shutil.py", line 128, in copy2 
>>>>     copyfile(src, dst) 
>>>>   File "/usr/lib/python2.7/shutil.py", line 83, in copyfile 
>>>>     with open(dst, 'wb') as fdst: 
>>>> IOError: [Errno 2] No such file or directory: '/home/cris/ArchesWeb/
>>>> virtualenv/ENV/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2'
>>>>  
>>>>
>>>>
>>>>
>>>> How can I solve this problem ? I really don't know how to deal with it. 
>>>>
>>>> -- 
>>>> -- 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/groups/opt_out. 
>>>>
>>>> -- 
>>>> -- 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/groups/opt_out.
>>>>
>>>  -- 
>>> -- To post, send email to [email protected] <javascript:>. To 
>>> unsubscribe, send email to [email protected]<javascript:>. 
>>> 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] <javascript:>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>

-- 
-- 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/groups/opt_out.

Reply via email to