Thank you! I just modified the file 'arches-project' as in your commit, and #5. 'Create my_project' ran with no error. But now, when I tried the next one
6. Run the bower installation Enter your new project directory (cd my_project) and run: bower install I got this message: (ENV) C:\Projects\my_project>bower install bower ENOENT No bower.json present Thanks again! Viktor On Monday, May 1, 2017 at 3:44:05 PM UTC-7, Adam Cox 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/2a71b729d03ac6958241c31f202b39f65b19707a, > > 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 <[email protected] > <javascript:>> 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 [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.
