Pip dist: archivebox setup failed due to "[WinError 2] The system cannot find the file specified" on Win10
See original GitHub issueE:\archivebox>archivebox setup
[i] [2021-07-22 01:40:22] ArchiveBox v0.6.2: archivebox setup
> E:\archivebox
[+] Installing enabled ArchiveBox dependencies automatically...
Installing YOUTUBEDL_BINARY automatically using pip...
2021.02.10 is already installed youtube-dl
Installing CHROME_BINARY automatically using playwright...
Installing SINGLEFILE_BINARY, READABILITY_BINARY, MERCURY_BINARY automatically using npm...
[X] Failed to install npm packages: [WinError 2] The system cannot find the file specified
Hint: Try deleting E:\archivebox/node_modules and running it again
(It says " Hint: Try deleting E:\archivebox/node_modules and running it again" but there is not node_modules
subdir.)
So does archivebox init --setup
.
I should have all the environments:
E:\archivebox>npm --version
7.20.0
E:\archivebox>node --version
v15.4.0
E:\archivebox>python --version
Python 3.9.1
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Python venv env Fails - [WinError 2] The system cannot find ...
I was facing the same problem. I found out that this is caused by renaming a copy python.exe executable to python3.exe. I did...
Read more >FileNotFoundError: [WinError 2] The system cannot find the file ...
Hello, i had used this app to build a miniGame called Sonar Treasure Hunt. But it has some error there: So, how to...
Read more >[WinError 2] The system cannot find the file specified Python ...
However, when I installed it on my laptop I get this error: [WinError 2] The system cannot find the file specified
Read more >Bug #1247936 “windows pip install error “The system can not ...
Running setup.py egg_info for package python-novaclient ... error: The system cannot find the file specified.
Read more >could not install packages due to an oserror: [winerror 2] the ...
error : could not install packages due to an oserror: [winerror 2] the system cannot find the file specified: 'c:\\python310\\scripts\\normalizer.exe' ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just noticed you don’t have CHROME enabled, which means Singlefile work work anyway (it needs Chrome). Readability and Mercury may be able to work using the wget output, but you also don’t have wget installed so all three are pointless. Without either wget or Chrome, ArchiveBox is really not doing much, most of the extractors will fail.
I highly highly recommend running ArchiveBox in docker instead, running it directly on Windows without Docker/WSL/WSL2 is really not supported as you’ll run into all kinds of dependency problems such as what you encountered here.
I’m going to close this as
wontfix
because I don’t want to set a precedent of supporting ArchiveBox directly on Windows, or I will open pandoras box and have far too many support tickets given its lackluster compatibility right now. Docker on Windows is the only Windows install method I’m willing to provide support for.Sorry for the hassle, but I promise in the long run you will have fewer issues and a more secure setup running it in Docker vs without.
I installed the mercury-parser again globally this time and it is recognized. But with no luck on the rest.