# Prodigy installation error - setup file not found

**URL:** <https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990>\
**Category:** Uncategorized\
**Tags:** install, solved, windows\
**Created:** [September 9, 2019, 10:19am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990 "2019-09-09T10:19:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhargavi](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Bhargavi](https://support.prodi.gy/u/Bhargavi)\
**Post date:** [September 9, 2019, 10:19am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/1 "2019-09-09T10:19:57Z")

</div>

processing c:\users\bhargavi.eruva\downloads\prodigy-1.8.3-cp35.cp36.cp37-cp35m.cp36m.cp37m-win\_amd64.zip  
ERROR: Command errored out with exit status 1:  
command: 'c:\apps\anaconda\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\BHARGA~1.ERU\AppData\Local\Temp\pip-req-build-ojc23c6u\setup.py'"'"'; **file** ='"'"'C:\Users\BHARGA~1.ERU\AppData\Local\Temp\pip-req-build-ojc23c6u\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)( **file** );code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, **file** , '"'"'exec'"'"'))' egg\_info --egg-base pip-egg-info  
cwd: C:\Users\BHARGA~1.ERU\AppData\Local\Temp\pip-req-build-ojc23c6u  
Complete output (5 lines):  
Traceback (most recent call last):  
File "", line 1, in   
File "c:\apps\anaconda\lib\tokenize.py", line 447, in open  
buffer = \_builtin\_open(filename, 'rb')  
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\BHARGA~1.ERU\AppData\Local\Temp\pip-req-build-ojc23c6u\setup.py'  
----------------------------------------  
ERROR: Command errored out with exit status 1: python setup.py egg\_info Check the logs for full command output.

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [September 9, 2019, 10:44am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/2 "2019-09-09T10:44:24Z")

</div>

Hi! This looks more like a problem with pip and conda and their interaction when using virtual environments. When it builds the wheel, it's looking in the wrong location for a `setup.py`.

This thread describes a very similar problem and it was solved by adding `--no-cache-dir` to `pip install`:

> <https://github.com/tensorflow/probability/issues/31>
>
> I'm having trouble installing tfp using pip from Anaconda - perhaps this isn't supported? I ran the command pip install --user...

---

<div class="post-metadata">

**Author:** ![Bhargavi](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Bhargavi](https://support.prodi.gy/u/Bhargavi)\
**Post date:** [September 9, 2019, 10:56am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/3 "2019-09-09T10:56:58Z")

</div>

It still does not work for me and throws me the same error

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [September 9, 2019, 11:06am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/4 "2019-09-09T11:06:41Z")

</div>

Can you try a fresh non-conda environment?

---

<div class="post-metadata">

**Author:** ![Bhargavi](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Bhargavi](https://support.prodi.gy/u/Bhargavi)\
**Post date:** [September 9, 2019, 11:11am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/5 "2019-09-09T11:11:06Z")

</div>

```python
[C:\Apps>pip install C:\Users\bhargavi.eruva\Downloads\prodigy-1.8.3-cp35.cp36.cp37-cp35m.cp36m.cp37m-win_amd64.zip --no-cache-dir
Processing c:\users\bhargavi.eruva\downloads\prodigy-1.8.3-cp35.cp36.cp37-cp35m.cp36m.cp37m-win_amd64.zip
    ERROR: Command errored out with exit status 1:
     command: 'c:\apps\anaconda\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\BHARGA~1.ERU\\AppData\\Local\\Temp\\pip-req-build-8sbnuw6i\\setup.py'"'"'; __file__ ='"'"'C:\\Users\\BHARGA~1.ERU\\AppData\\Local\\Temp\\pip-req-build-8sbnuw6i\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)( __file__ );code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__ , '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
         cwd: C:\Users\BHARGA~1.ERU\AppData\Local\Temp\pip-req-build-8sbnuw6i\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\apps\anaconda\lib\tokenize.py", line 447, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\BHARGA~1.ERU\\AppData\\Local\\Temp\\pip-req-build-8sbnuw6i\\setup.py'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

```

Struck with same error again

---

<div class="post-metadata">

**Author:** ![honnibal](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/honnibal/32/35_2.png) [@honnibal](https://support.prodi.gy/u/honnibal)\
**Post date:** [September 9, 2019, 11:18am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/6 "2019-09-09T11:18:52Z")

</div>

Are you able to pip install other packages? Nothing in the error looks like it's coming from Prodigy --- it seems purely a matter of your environment.

The traceback shows that you're still executing `pip` from Anaconda. I'm sorry that this is hard, but it's a general Python thing (and honestly, I think it's Anaconda's fault for introducing a whole second system that breaks everything...).

If you create a new virtual environment, you should be able to execute `pip` from within it explicitly, for instance by running `my-env/scripts/pip.exe`. This should ensure that you're running the right version of pip.

---

<div class="post-metadata">

**Author:** ![Bhargavi](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Bhargavi](https://support.prodi.gy/u/Bhargavi)\
**Post date:** [September 9, 2019, 11:21am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/7 "2019-09-09T11:21:45Z")

</div>

yes, I am able to install other packages through pip. Do you suggest creating a new environment ?

---

<div class="post-metadata">

**Author:** ![honnibal](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/honnibal/32/35_2.png) [@honnibal](https://support.prodi.gy/u/honnibal)\
**Post date:** [September 9, 2019, 11:22am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/8 "2019-09-09T11:22:39Z")

</div>

That's what Ines recommended above, yes. In theory it shouldn't be necessary but it would help debug the problem.

---

<div class="post-metadata">

**Author:** ![honnibal](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/honnibal/32/35_2.png) [@honnibal](https://support.prodi.gy/u/honnibal)\
**Post date:** [September 9, 2019, 11:24am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/9 "2019-09-09T11:24:28Z")

</div>

Actually maybe this is simpler. Could you do `pip --version`? You might just need `pip install --upgrade pip`

---

<div class="post-metadata">

**Author:** ![Bhargavi](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Bhargavi](https://support.prodi.gy/u/Bhargavi)\
**Post date:** [September 9, 2019, 11:27am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/10 "2019-09-09T11:27:53Z")

</div>

It is 19.2.3

---

<div class="post-metadata">

**Author:** ![honnibal](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/honnibal/32/35_2.png) [@honnibal](https://support.prodi.gy/u/honnibal)\
**Post date:** [September 9, 2019, 11:32am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/11 "2019-09-09T11:32:24Z")

</div>

Other issues suggest it may be the version of setuptools? [https://github.com/palantir/python-language-server/issues/370](https://github.com/palantir/python-language-server/issues/370)

---

<div class="post-metadata">

**Author:** ![Bhargavi](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Bhargavi](https://support.prodi.gy/u/Bhargavi)\
**Post date:** [September 9, 2019, 11:34am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/12 "2019-09-09T11:34:09Z")

</div>

I have checked that link and updated both pip and setuptools. However, no luck

---

<div class="post-metadata">

**Author:** ![honnibal](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/honnibal/32/35_2.png) [@honnibal](https://support.prodi.gy/u/honnibal)\
**Post date:** [September 9, 2019, 11:37am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/13 "2019-09-09T11:37:18Z")

</div>

I don't suppose you have a local directory named `prodigy/` in your path?

---

<div class="post-metadata">

**Author:** ![Bhargavi](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Bhargavi](https://support.prodi.gy/u/Bhargavi)\
**Post date:** [September 9, 2019, 11:37am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/14 "2019-09-09T11:37:50Z")

</div>

yes I do not have it

---

<div class="post-metadata">

**Author:** ![Bhargavi](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Bhargavi](https://support.prodi.gy/u/Bhargavi)\
**Post date:** [September 9, 2019, 11:43am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/16 "2019-09-09T11:43:42Z")

</div>

Is there anything I can try out?

---

<div class="post-metadata">

**Author:** ![honnibal](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/honnibal/32/35_2.png) [@honnibal](https://support.prodi.gy/u/honnibal)\
**Post date:** [September 9, 2019, 11:46am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/17 "2019-09-09T11:46:50Z")

</div>

I've been looking around. Can you try just making a fresh virtual environment and installing from scratch? I don't know what's happened with your environment to make the error, there are lots of ways Python environments can get into bad states, especially because of the two installation systems.

---

<div class="post-metadata">

**Author:** ![Bhargavi](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Bhargavi](https://support.prodi.gy/u/Bhargavi)\
**Post date:** [September 9, 2019, 11:48am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/18 "2019-09-09T11:48:05Z")

</div>

Sure. will try doing that. Just one clarification, you want me to create this virtual environment not through anaconda right ?

---

<div class="post-metadata">

**Author:** ![honnibal](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/honnibal/32/35_2.png) [@honnibal](https://support.prodi.gy/u/honnibal)\
**Post date:** [September 9, 2019, 11:50am UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/19 "2019-09-09T11:50:58Z")

</div>

If that's your only viable Python installation, then I guess, yes do that. If it's easy for you to use a normal Python virtualenv with something like:

```python
python3 -m venv pgy-env
pgy-env\Scripts\pip.exe install C:\Users\bhargavi.eruva\Downloads\prodigy-1.8.3-cp35.cp36.cp37-cp35m.cp36m.cp37m-win_amd64.zip

```

That would be better.

---

<div class="post-metadata">

**Author:** ![Bhargavi](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Bhargavi](https://support.prodi.gy/u/Bhargavi)\
**Post date:** [September 9, 2019, 12:18pm UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/20 "2019-09-09T12:18:00Z")

</div>

I dont have access to create non conda virtual environments. Do you thing another environment through anconda will work?

---

<div class="post-metadata">

**Author:** ![honnibal](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/honnibal/32/35_2.png) [@honnibal](https://support.prodi.gy/u/honnibal)\
**Post date:** [September 9, 2019, 12:18pm UTC](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990/21 "2019-09-09T12:18:57Z")

</div>

It might, give it a try.

[Next page](https://support.prodi.gy/t/prodigy-installation-error-setup-file-not-found/1990.md?page=2)
