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

FileNotFoundError: [WinError 2] The system cannot find the file specified #12

Open
jmp75 opened this issue Jan 7, 2019 · 0 comments
Open

Comments

@jmp75
Copy link

jmp75 commented Jan 7, 2019

In an exploratory phase, bumped in an issue on Windows+anaconda. Will try on a Linux box later but I thought I'd report this.

conda activate uchronia
conda install -c conda-forge xtensor-python
pip install cookiecutter

conda --version: conda 4.5.11 and

(uchronia) c:\src\tmp>conda list | grep "xten"
xtensor                   0.19.1            h1ad3211_1000    conda-forge
xtensor-python            0.22.0            h80bff14_1000    conda-forge

(uchronia) c:\src\tmp>conda list | grep "cook"
cookiecutter              1.6.0                     <pip>

(uchronia) c:\src\tmp>python --version
Python 3.6.7 :: Anaconda, Inc.
cookiecutter https://github.com/QuantStack/xtensor-python-cookiecutter.git
Traceback (most recent call last):                                                                                                                                 
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\runpy.py", line 193, in _run_module_as_main                                            
    "__main__", mod_spec)                                                                                                                                          
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\runpy.py", line 85, in _run_code                                                       
    exec(code, run_globals)                                                                                                                                        
  File "C:\Users\xxxxxx\AppData\Local\Continuum\anaconda3\envs\uchronia\Scripts\cookiecutter.exe\__main__.py", line 9, in <module>                                 
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\site-packages\click\core.py", line 764, in __call__                                    
    return self.main(*args, **kwargs)                                                                                                                              
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\site-packages\click\core.py", line 717, in main                                        
    rv = self.invoke(ctx)                                                                                                                                          
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\site-packages\click\core.py", line 956, in invoke                                      
    return ctx.invoke(self.callback, **ctx.params)                                                                                                                 
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\site-packages\click\core.py", line 555, in invoke                                      
    return callback(*args, **kwargs)                                                                                                                               
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\site-packages\cookiecutter\cli.py", line 120, in main                                  
    password=os.environ.get('COOKIECUTTER_REPO_PASSWORD')                                                                                                          
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\site-packages\cookiecutter\main.py", line 63, in cookiecutter                          
    password=password                                                                                                                                              
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\site-packages\cookiecutter\repository.py", line 103, in determine_repo_dir             
    no_input=no_input,                                                                                                                                             
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\site-packages\cookiecutter\vcs.py", line 99, in clone                                  
    stderr=subprocess.STDOUT,                                                                                                                                      
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\subprocess.py", line 336, in check_output                                              
    **kwargs).stdout                                                                                                                                               
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\subprocess.py", line 403, in run                                                       
    with Popen(*popenargs, **kwargs) as process:                                                                                                                   
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\subprocess.py", line 709, in __init__                                                  
    restore_signals, start_new_session)                                                                                                                            
  File "c:\users\xxxxxx\appdata\local\continuum\anaconda3\envs\uchronia\lib\subprocess.py", line 997, in _execute_child                                            
    startupinfo)                                                                                                                                                   
FileNotFoundError: [WinError 2] The system cannot find the file specified  
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