-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'
這是我輸入這兩個命令時的錯誤。我有正確的目錄中的文件,但它顯示像文件不存在。通過anaconda安裝pocketsphinx時FileNotFoundError
我已經根據以下命令下載了正確的文件。
"C:\Users\krush\Anaconda3\python.exe" --version
"C:\Users\krush\Anaconda3\python.exe" -c "importstruct;print(struct.calcsize('P') * 8)"
蟒-m PIP安裝pocketsphinx-0.1 .3-cp36-cp36m-win32.whl –
請注意,「請幫助我」的標題不僅沒有用處,而且需要有人幫助他們。因此他們創造了工作。請務必在Stack Overflow上使用有用的標題,並在任何需要標題的網站上使用有用的標題。 – halfer