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

Failed to execute setup.py #100

Open
evlachos93 opened this issue Mar 13, 2024 · 0 comments
Open

Failed to execute setup.py #100

evlachos93 opened this issue Mar 13, 2024 · 0 comments

Comments

@evlachos93
Copy link

During setup, the command "python setup.py" yields the following error

Poetry is already installed.
Creating .env file...
Traceback (most recent call last):
  File "C:\Users\evang\Desktop\conda-envs\stock-ai-trader\GPTeam\setup.py", line 60, in <module>
    subprocess.run(["cp", ".env.example", ".env"], check=True)
  File "C:\Users\evang\.conda\envs\stock-ai-trader-env\Lib\subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\evang\.conda\envs\stock-ai-trader-env\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\evang\.conda\envs\stock-ai-trader-env\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified

I am using windows 10.

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