Scoop package is not getting installed despite multiple restart - Windows 7
Closed this issue · 7 comments
When I am running bootstrap.sh in windows 7, It is asking to restart terminal twice to use scoop. I restarted terminal multiple times, it doesn't work and showing the same message whenever I run "bootstrap.sh". I even restarted my windows a couple of times, but no luck.
Its working fine for other OS (Win 10, Mac and Linux)
@ranjit-exalt How do we know that Scoop is not installed? The message above indicates success. Have you tried to run Iris after running the bootstrap script?
@mwobensmith There is no scoop folder present in windows 7. So I understood no scoop installed. For my Windows 10 machine, I can see scoop folder here C:\Users\user_name\scoop.
I am unable to activate the virtual environment so iris won't run. Attaching screenshot for your reference:
My Windows 7 machine is currently down, so I am not able to test this myself. However, what can we do to get scoop installed on your system without using the bootstrap script?
Lines 19 and 20 of bootstrap/win_bootstrap.sh
are supposed to install scoop. Let's try to run these manually:
powershell -Command "Set-ExecutionPolicy RemoteSigned -scope CurrentUser"
powershell -Command "iex (new-object net.webclient).downloadstring('https://get.scoop.sh')"
Then, see if the scoop folder has been created. If this does not work, we can use the steps from their web site.
@mwobensmith : I tried to run lines 19 and 20 manually but no luck. So as suggested, I followed steps given at scoop.sh website. It worked. After scoop creation, I repeated "sh bootstrap.sh". It installed everything other than pip3.7. I was getting this error:
There is an open ticket ( #626 ) for the same issue so I followed the solution given there. This suggests modifying bootstrap/win_bootstrap.sh as python 3.8 was getting installed with the command "scoop install python" hence pip3.7 wasn't working. So after modifying changes as per (#628 ) pull request, I reinstalled scoop (uninstall -> install again). Python 3.7.5 got installed but pip issue was still there with a new error message:
I removed everything (scoop and iris_firefox) and repeated the process but no luck. Please help.
@ranjit-exalt What version of Windows 7 are you on? Have you upgraded to SP1? Can you perform a Windows Update to make sure that you're on the latest versions of all system software?
What version of Powershell are you running? You can find out by typing this:
powershell -Command "(Get-Host).Version"
More things to try:
python --version
python3 --version
python37 --version
pip --version
scoop --version
Issue resolved. Marking it closed.
The recommended steps to deal such issue:
- Create scoop by running Lines 19 and 20 of bootstrap/win_bootstrap.sh
powershell -Command "Set-ExecutionPolicy RemoteSigned -scope CurrentUser"
powershell -Command "iex (new-object net.webclient).downloadstring('https://get.scoop.sh')" - Once scoop folder created, run bootstrap.sh
- If python or pipenv issue is occurring, remove scoop "scoop uninstall scoop", delete scoop folder (if it is still there). install scoop once again.
- If any issue with pipenv issue is happening despite python and pip installed successfully, check the path variable. Make sure the following paths are there:
C:\Users<username>\scoop\apps\python37\current\scripts;
C:\Users<username>\scoop\apps\python37\current - Make sure you are pointing to the dev branch while installing scoop and creating a virtual environment. Else you may face issues like python or pip installation issue, mozlog version mismatch, etc.