Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about the py command #48

Open
lixingyi8947 opened this issue Jul 30, 2023 · 0 comments
Open

about the py command #48

lixingyi8947 opened this issue Jul 30, 2023 · 0 comments

Comments

@lixingyi8947
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant