To be clear, that work-around will only be necessary until the next release
of Arches has been published to pip. I'll add it to the documentation for
now though.

On Mon, May 1, 2017 at 5:44 PM, Adam Cox <mr.adam...@gmail.com> wrote:

> Hi Viktor. Yes, that command must be run with the virtual environment
> activated. I should make a note that all arches CLI commands should be run
> with the virtual environment activated.
>
> As for the subprocess error, that was fixed a little while ago with this
> commit: https://github.com/archesproject/arches/commit/2a71b729d03ac
> 6958241c31f202b39f65b19707a, however it was after the latest publication
> of Arches to pip.
>
> For now, you should just enter your new project folder, and then run bower
> install to manually accomplish what that the error-throwing command is
> trying to do. It is the last step in the project creation command, so you
> should be good to go after that.
>
> Adam
>
> On Mon, May 1, 2017 at 5:19 PM, Viktor_Getty <vik...@getty.edu> wrote:
>
>> Adam, thank you much for answering my 'Mapnik' question. I started a new
>> thread since it is no longer a 'Mapnik' issue.
>>
>> I was able to install dependences and did steps 1 - 4 in
>> https://arches4.readthedocs.io/en/latest/installation/. But I stumbled
>> on #5 (Create a new Arches project). According to the document, the command
>> for Windows is:
>>
>> python C:\Projects\ENV\Scripts\arches-project create my_project
>>
>>
>> But when I run it as it is, I get this error:
>>
>>
>> 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 2, in <module>
>>     import arches
>> ImportError: No module named arches
>>
>>
>> I suspect this command has to be run from the virtual environment *((ENV)
>> C:\Projects>python c:\projects\env\scripts\arches-project create 
>> my_project*).
>> But when I do, I get this error message:
>>
>> Traceback (most recent call last):
>>   File "c:\projects\env\scripts\arches-project", line 137, in <module>
>>     main()
>>   File "c:\projects\env\scripts\arches-project", line 131, in main
>>     COMMANDS[args.command](args)
>>   File "c:\projects\env\scripts\arches-project", line 58, in
>> command_create_app
>>     subprocess.call(bower_install.split(), shell=False)
>>   File "c:\python27\Lib\subprocess.py", line 168, in call
>>     return Popen(*popenargs, **kwargs).wait()
>>   File "c:\python27\Lib\subprocess.py", line 390, in __init__
>>     errread, errwrite)
>>   File "c:\python27\Lib\subprocess.py", line 640, in _execute_child
>>     startupinfo)
>> WindowsError: [Error 2] The system cannot find the file specified
>> (ENV) C:\Projects>
>>
>>
>> Thank you,
>> Viktor
>>
>>
>>
>>
>>
>> --
>> -- 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/fo
>> rum/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.
>>
>
>

-- 
-- 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