Skip to content

Failed to execute setup.py #100

@evlachos93

Description

@evlachos93

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions