I am using Anaconda environment, but it looks my system could not recognize the py command. If I use python setup/local.py, it gave me the error below:
Traceback (most recent call last):
File "/Users/vince/myspace/Stocksera/setup/local.py", line 4, in
subprocess.run("py scheduled_tasks/create_database.py")
File "/Users/vince/anaconda3/envs/st39/lib/python3.9/subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "/Users/vince/anaconda3/envs/st39/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/vince/anaconda3/envs/st39/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'py scheduled_tasks/create_database.py'
Hi,
I am using Anaconda environment, but it looks my system could not recognize the py command. If I use python setup/local.py, it gave me the error below:
Traceback (most recent call last): File "/Users/vince/myspace/Stocksera/setup/local.py", line 4, in
subprocess.run("py scheduled_tasks/create_database.py")
File "/Users/vince/anaconda3/envs/st39/lib/python3.9/subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "/Users/vince/anaconda3/envs/st39/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/vince/anaconda3/envs/st39/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'py scheduled_tasks/create_database.py'