guanquann / Stocksera

Finance application that provides more than 60 different alternative data to retail investors
MIT License
661 stars 107 forks source link

about the py command #48

Closed lixingyi8947 closed 3 months ago

lixingyi8947 commented 1 year ago

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'