Hello Adam again!

Python is installed on a different directory than that of Arches (incl. its 
virtual environment), as supposedly python is installed on default path 
C:Python27 (this version the tutorial recommends). Arches is installed 
under C:\Users\user\Projects\ENV (my virtual env name) and there the 
folders named "include" "lib" "scripts" etc can be found.

I think so too ...that manage.py is on different path than Arches' however 
I cannot find it anywhere inside so I cannot proceed with the ElasticSearch 
(except I install it manually from zip and follow the steps indicated with 
the command additions but still don't know where its the best path to 
install it). The only file I can found is "manage.py-tpl" and located under 
C:\Users\user\Projects\ENV\Lib\site-packages\arches\install\arches-templates 
so I am not sure its the same file with the manage.py.

Thank you for clarifying the instructions but still I run at the same issue 
(= python: cant open file 'manage.py': [errno2] No such file or 
directory) under the Arches path.

How do you suggest me to continue?

Thank you very much again!
George


Τη Τρίτη, 6 Ιουνίου 2017 - 8:08:15 μ.μ. UTC+3, ο χρήστης Adam Cox έγραψε:

> Hi George, can you confirm that you are running that command from within 
> the directory that contains the file named manage.py? I have a feeling you 
> may be running it from within a different directory.
>
> I hadn't been explicit about that detail in the documentation you linked 
> to, so I've added clarification there. Hope that helps.
>
> I don't believe it's a Python path issue because your error indicates that 
> python is being used, it just can't find the file. If your system was 
> having trouble finding python, you would see an error like this:
> [image: Inline image 1]
>
> However, if you have a virtual environment up and running, that means you 
> have all your steps covered already.
>
> For a little more background, that command is constructed like so:
> 1) python means "find an executable file called 'python' in any of the 
> locations currently listed in the system's PATH environment variable" (when 
> a virtual environment is activated, PATH is modified so the python located 
> inside of the virtual environment is used)
> 2) run this file manage.py using that python executable
> 3) everything that follows, es install in this case, are arguments that 
> are either part of Django or in this case part of Arches.
>
> Adam
>
> On Tue, Jun 6, 2017 at 5:46 AM, George Leventis <[email protected] 
> <javascript:>> wrote:
>
>> Thank you very much for your instructions and feedback ! Yes it all makes 
>> sense now...
>>
>> Well i managed to continue with the installation of both dependencies as 
>> well as setting & activating the virtual env. However i am now stuck at 
>> installing ElasticSearch(
>> https://github.com/archesproject/arches/wiki/Installing-Elasticsearch) 
>> by typing the command "python manage.py es install" at the virtual 
>> env/directory i get back with the message "python: cant open file 
>> 'manage.py': [errno2] No such file or directory. 
>>
>> After googling i found out that the python installation is not located at 
>> the same path with the one of virtualenv (obviously as it needed to be 
>> installed on my computer --> C:Python27. Now i am trying to overcome this 
>> so to continue creating new Arches project.
>>
>> Could you please help me out?
>>
>> I really appreciate your guidance!
>>
>> Τη Παρασκευή, 2 Ιουνίου 2017 - 9:42:45 μ.μ. UTC+3, ο χρήστης Adam Cox 
>> έγραψε:
>>>
>>> Hi George, just to be clear: bower will be installed after you run
>>> npm install -g bower
>>> That's the only command you need to use to install bower itself.
>>>
>>> If you are creating a development version of Arches by pulling the 
>>> github repo, you will *use *bower by running
>>> bower install
>>> from within the arches directory after you have pulled it from github.
>>>
>>> If you are using pip to install Arches and making an Arches project (as 
>>> documented on readthedocs 
>>> <https://arches4.readthedocs.io/en/latest/installation/#installing-arches>),
>>>  
>>> you won't have to run bower install at all; that is handled by the 
>>> project creation command.
>>>
>>> Hope that all makes sense!
>>>
>>> Adam
>>>
>>>
>>>
>>> On Fri, Jun 2, 2017 at 11:14 AM, George Leventis <[email protected]> 
>>> wrote:
>>>
>>>> Well i follow the instructions on Arches 4 documentation where it is 
>>>> stated that is needed to install first the dependancies 
>>>> https://github.com/archesproject/arches/wiki/Installing-Dependencies-on-Windows
>>>>  
>>>> so i started installing from up to bottom before continuing to 
>>>> arches...and 
>>>> so i am stucked at bower. The bower.json file you see on the pic is 
>>>> located 
>>>> undeer c:\users\george\appdata \ ....
>>>>
>>>> Τη Παρασκευή, 2 Ιουνίου 2017 - 6:59:38 μ.μ. UTC+3, ο χρήστης Adam Cox 
>>>> έγραψε:
>>>>>
>>>>> Can you confirm that you are inside of the arches directory that holds 
>>>>> bower.json when you are trying to run the command?
>>>>>
>>>>> On Fri, Jun 2, 2017 at 10:58 AM, George Leventis <[email protected]> 
>>>>> wrote:
>>>>>
>>>>>>  
>>>>>>
>>>>>>> Hello Adam!
>>>>>>
>>>>>> Thank you for your reply!
>>>>>>
>>>>>> As a matter of fact I tried several times and always I am getting the 
>>>>>> same deprecation message however when typing -bower install- I get the 
>>>>>> following:
>>>>>>
>>>>>> C:\Users\user>bower install
>>>>>> bower                           ENOENT No bower.json present 
>>>>>>
>>>>>> But as you may see from the image seems that maybe is installed on my 
>>>>>> machine (assuming I've checked the option "show hidden folders")...so i 
>>>>>> am 
>>>>>> confused what should i do next.
>>>>>>
>>>>>>
>>>>>>
>>>>>> <https://lh3.googleusercontent.com/-i8_mb2xsMfs/WTGK1Zmw5EI/AAAAAAAANnE/0TaBlgPEqV0Xi_lSE5FNj2Y0QqTTMC0UQCLcB/s1600/Capture.PNG>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> -- 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.
>>>>
>>>
>>> -- 
>> -- 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/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.

Reply via email to