# Problem with spawning a python3 process on Windows

**URL:** <https://forum.elixirforum.com/t/problem-with-spawning-a-python3-process-on-windows/46279>\
**Category:** Questions\
**Tags:** erlang, phoenix\
**Created:** [February 25, 2022, 9:00am UTC](https://forum.elixirforum.com/t/problem-with-spawning-a-python3-process-on-windows/46279 "2022-02-25T09:00:17Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![kartheek](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kartheek/32/19143_2.png) [@kartheek](https://forum.elixirforum.com/u/kartheek)\
**Post date:** [February 25, 2022, 12:25pm UTC](https://forum.elixirforum.com/t/problem-with-spawning-a-python3-process-on-windows/46279/16 "2022-02-25T12:25:02Z")

</div>

If I set environment variable and it is invalid path - it will be giving different error

```elixir
iex(1)> :python.start()
{:error, {:invalid_env_var, {'ERLPORT_PYTHON', '/sdf'}, :not_found}}

```

Your stacktrace is different. Are you passing options to :python.start() ?

---

_[View the full topic](https://forum.elixirforum.com/t/problem-with-spawning-a-python3-process-on-windows/46279)._
