Thank you Adam for correcting this!

I am trying to run the *python C:\Projects\ENV\Scripts\arches-project 
create my_project\my_project *inside my virtual environment but i get the 
below message:

*(ENV) C:\Projects>python C:\Projects\ENV\Scripts\arches-project create 
my_project*
*Traceback (most recent call last):*
*  File "C:\Projects\ENV\Scripts\arches-project", line 11, in <module>*
*    import django*
*ImportError: No module named django*

By this step Django should not be already installed? So what should i do 
now?

I am also checking this previous topic where you've answered to Viktor 
(https://groups.google.com/forum/#!topic/archesproject/EGxoNJJMu0o) and i 
am wondering whether (after passing django message) should i add the github 
commit regarding the subprocess and run "bower install"  (which i assume is 
the same with the note indicated at step5 of documentation - below) or 
should i skip to the database step as you suggested to Viktor?

Thank you!
George.

*Windows*:

python C:\Projects\ENV\Scripts\arches-project create my_project

Note

On Windows, with the current Arches beta release, v4.0b3, the above command 
will end in an error on the last step of the command. The workaround for 
this is to enter my_project\my_project\ (the directory that contains 
bower.json) and run this command: bower install.





Τη Παρασκευή, 9 Ιουνίου 2017 - 7:28:13 μ.μ. UTC+3, ο χρήστης Adam Cox 
έγραψε:
>
> Ah! You have found an error in the documentation, I will correct that 
> asap. The elasticsearch installation should happen after step 5, not after 
> step 4. Thank you for your patience on that. You do not need elasticsearch 
> running to create the project, only to setup the database after you have 
> created it.
>
> So, create the project, *then* install elasticsearch, then do step 6.
>
> Again, thanks for your patience. There are a lot of pieces to the 
> installation process, so keeping it all straight can be tricky :)
>
> Adam
>
> On Fri, Jun 9, 2017 at 11:22 AM, George Leventis <gxar...@gmail.com 
> <javascript:>> wrote:
>
>> Adam thank you very much for replying back!
>>
>> So all that i need to do is proceed on the step 5 and skip the "Arches 
>> is now installed! At this point you should install ElasticSearch 
>> <https://github.com/archesproject/arches/wiki/Installing-Elasticsearch> 
>> (unless 
>> you have done so already), and then continue with the next steps to guide 
>> you through the creation of an Arches “project”." paragraph?
>>
>> I think that ElasticSearch is essential for the Arches but cannot be 
>> installed (due to the previous python message). 
>>
>> Thank you very much!
>> George 
>>
>>
>> Τη Παρασκευή, 9 Ιουνίου 2017 - 7:14:21 μ.μ. UTC+3, ο χρήστης Adam Cox 
>> έγραψε:
>>>
>>> Hi George, it sounds to me like you are at step 4 of these instructions, 
>>> and just need to proceed to step 5 
>>> https://arches4.readthedocs.io/en/latest/installation/#installing-arches
>>> .
>>>
>>> When you use pip to install Arches, you need to continue by creating a 
>>> "project". This will be your Arches app that sits outside of the virtual 
>>> environment and it will hold the manage.py file that you need to use to run 
>>> these commands.
>>>
>>> Adam
>>>
>>> On Wed, Jun 7, 2017 at 2:45 AM, George Leventis <gxar...@gmail.com> 
>>> wrote:
>>>
>>>> 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 <gxar...@gmail.com> 
>>>>> 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 <gxar...@gmail.com> 
>>>>>>> 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 <
>>>>>>>>> gxar...@gmail.com> 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 arches...@googlegroups.com. To 
>>>>>>>>>> unsubscribe, send email to archesprojec...@googlegroups.com. 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 archesprojec...@googlegroups.com.
>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>> -- To post, send email to arches...@googlegroups.com. To 
>>>>>>>> unsubscribe, send email to archesprojec...@googlegroups.com. 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 archesprojec...@googlegroups.com.
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>> -- To post, send email to arches...@googlegroups.com. To 
>>>>>> unsubscribe, send email to archesprojec...@googlegroups.com. 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 archesprojec...@googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>> -- 
>>>> -- To post, send email to arches...@googlegroups.com. To unsubscribe, 
>>>> send email to archesprojec...@googlegroups.com. 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 archesprojec...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> -- 
>> -- To post, send email to arches...@googlegroups.com <javascript:>. To 
>> unsubscribe, send email to archesprojec...@googlegroups.com <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 archesprojec...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to