2017-07-23 5 views
-3
C:\Windows\System32>"C:\Users\Dinesh Kumar\AppData\Local\Programs\Python\Python3 
6-32\python.exe" -m pip install pocketsphinx-0.1.3-cp36-cp36m-win32.whl 
Requirement 'pocketsphinx-0.1.3-cp36-cp36m-win32.whl' looks like a filename, but 
the file does not exist 
Processing c:\windows\system32\pocketsphinx-0.1.3-cp36-cp36m-win32.whl 
Exception: 
Traceback (most recent call last): 
    File "C:\Users\Dinesh Kumar\AppData\Local\Programs\Python\Python36-32\lib\site 
-packages\pip\basecommand.py", line 215, in main 
    status = self.run(options, args) 
    File "C:\Users\Dinesh Kumar\AppData\Local\Programs\Python\Python36-32\lib\site 
-packages\pip\commands\install.py", line 335, in run 
    wb.build(autobuilding=True) 
    File "C:\Users\Dinesh Kumar\AppData\Local\Programs\Python\Python36-32\lib\site 
-packages\pip\wheel.py", line 749, in build 
    self.requirement_set.prepare_files(self.finder) 
    File "C:\Users\Dinesh Kumar\AppData\Local\Programs\Python\Python36-32\lib\site 
-packages\pip\req\req_set.py", line 380, in prepare_files 
    ignore_dependencies=self.ignore_dependencies)) 
    File "C:\Users\Dinesh Kumar\AppData\Local\Programs\Python\Python36-32\lib\site 
-packages\pip\req\req_set.py", line 620, in _prepare_file 
    session=self.session, hashes=hashes) 
    File "C:\Users\Dinesh Kumar\AppData\Local\Programs\Python\Python36-32\lib\site 
-packages\pip\download.py", line 809, in unpack_url 
    unpack_file_url(link, location, download_dir, hashes=hashes) 
    File "C:\Users\Dinesh Kumar\AppData\Local\Programs\Python\Python36-32\lib\site 
-packages\pip\download.py", line 715, in unpack_file_url 
    unpack_file(from_path, location, content_type, link) 
    File "C:\Users\Dinesh Kumar\AppData\Local\Programs\Python\Python36-32\lib\site 
-packages\pip\utils\__init__.py", line 599, in unpack_file 
    flatten=not filename.endswith('.whl') 
    File "C:\Users\Dinesh Kumar\AppData\Local\Programs\Python\Python36-32\lib\site 
-packages\pip\utils\__init__.py", line 482, in unzip_file 
    zipfp = open(filename, 'rb') 
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Windows\\System32\\ 
pocketsphinx-0.1.3-cp36-cp36m-win32.whl' 

Cette erreur est survenue lorsque j'ai tapé ces 2 commandes. J'ai le fichier dans le bon répertoire mais il montre comme le fichier n'existe pas.FileNotFoundError lors de l'installation de pocketsphinx via anaconda

J'ai téléchargé le bon fichier en suivant les commandes suivantes.

"C:\Users\krush\Anaconda3\python.exe" --version 
"C:\Users\krush\Anaconda3\python.exe" -c "importstruct;print(struct.calcsize('P') * 8)" 
+1

python -m pip installer pocketsphinx-0.1 .3-cp36-cp36m-win32.whl –

+0

Notez que les titres de "s'il vous plaît aidez-moi" ne sont pas seulement inutiles, mais ils ont besoin de quelqu'un pour les rendre utiles. Ils créent donc du travail. Veuillez toujours utiliser des titres utiles sur Stack Overflow, et sur tous les autres sites qui nécessitent un titre pour quelque chose. – halfer

Répondre