ROSOnWindows
ROSOnWindows copied to clipboard
🐛 [meta ticket] ROS on Windows installation issues
Hi all, this is a meta ticket for the ROS on Windows installation issue. Feel free to add the issues you running into below and we will take a look soon. Thanks!
This is a meta ticket to link all ROS install\upgrade related issues.
- https://github.com/ms-iot/ROSOnWindows/issues/142
- https://github.com/ms-iot/ROSOnWindows/issues/137
- https://github.com/ms-iot/ROSOnWindows/issues/134
- https://github.com/ms-iot/ROSOnWindows/issues/133
- https://github.com/ms-iot/ROSOnWindows/issues/103
- https://github.com/ms-iot/ROSOnWindows/issues/68
@seanyen Just added https://github.com/ms-iot/ROSOnWindows/issues/153
Hey ya'll, been working on the install for about 3 days and just cant get it! Here's the link to my issue....
https://answers.ros.org/question/352872/failure-install-ros-melodic-desktop_full-ros-catkin-tools-error-while-running-choclateyinstallps1/
@GhengisGohan Thank you for the pointer. Since it wasn't tagged with Windows, we didn't see it.
@ooeygui thanks! Now I know better.
@GhengisGohan Looking at the log file, it looks like a file lock is preventing overwrite. I don't know if that is left over from a previous failed attempt. Perhaps a virus scanner is preventing the install?
Could you attempt to exclude c:\opt from realtime scanning?
@GhengisGohan Thanks for the update on the ROS answers. I see some interesting things in the log, but nothing that should cause this failure. I suspect your visual studio cmd environment is inheriting something from the host.
Could you post the output of set
? (Please xxx out any private information)
@ooeygui As requested... I don't know why I didn't think of it but I'm updating my VS 2019 community with 'choco update visualstudio2019community'. It must have been one of the early VS 2019 that I initial downloaded.
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\XXX\AppData\Roaming
ChocolateyInstall=c:\opt\chocolatey
ChocolateyLastPathUpdate=132344855562799183
CommandPromptType=Native
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=XXX
ComSpec=C:\WINDOWS\system32\cmd.exe
DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\
DriverData=C:\Windows\System32\Drivers\DriverData
ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs
Framework40Version=v4.0
FrameworkDir=C:\Windows\Microsoft.NET\Framework64\
FrameworkDir64=C:\Windows\Microsoft.NET\Framework64\
FrameworkVersion=v4.0.30319
FrameworkVersion64=v4.0.30319
FSHARPINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\FSharp\
HOMEDRIVE=C:
HOMEPATH=\Users\XXX
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\ATLMFC\include;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt
LIB=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\lib\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64;
LIBPATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;
LOCALAPPDATA=C:\Users\XXX\AppData\Local
LOGONSERVER=\\XXX
NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\
NUMBER_OF_PROCESSORS=8
OneDrive=C:\Users\XXX\OneDrive
OneDriveConsumer=C:\Users\XXX\OneDrive
OS=Windows_NT
Path=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\FSharp\;C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;c:\opt\chocolatey\bin;C:\WINDOWS\Windows\System32\WindowsPowerShell\v1.0;c:\opt\chocolatey\lib\ros-catkin-tools\tools\;C:\Program Files\Git\cmd;c:\python37\;C:\Users\XXX\OneDrive\Documents\Anaconda 3;C:\Users\XXX\OneDrive\Documents\Anaconda 3\Scripts';c:\users\XXX\onedrive\documents\anaconda 3\lib\site-packages;C:\Users\XXX\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\XXX\AppData\Local\GitHubDesktop\bin;C:\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Platform=x64
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=8e0a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\SORENF~1\AppData\Local\Temp
TMP=C:\Users\SORENF~1\AppData\Local\Temp
UCRTVersion=10.0.17763.0
UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\
USERDOMAIN=XXX
USERDOMAIN_ROAMINGPROFILE=XXX
USERNAME=XXX
USERPROFILE=C:\Users\XXX
VCIDEInstallDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VC\
VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\
VCToolsInstallDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\
VCToolsRedistDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.20.27508\
VCToolsVersion=14.20.27508
VisualStudioVersion=16.0
VS160COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\
VSCMD_ARG_app_plat=Desktop
VSCMD_ARG_HOST_ARCH=x64
VSCMD_ARG_TGT_ARCH=x64
VSCMD_VER=16.0.3
VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\
VSSDK150INSTALL=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VSSDK
windir=C:\WINDOWS
WindowsLibPath=C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0
WindowsSdkBinPath=C:\Program Files (x86)\Windows Kits\10\bin\
WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\
WindowsSDKLibVersion=10.0.17763.0\
WindowsSdkVerBinPath=C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\
WindowsSDKVersion=10.0.17763.0\
WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\
WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\
__DOTNET_ADD_64BIT=1
__DOTNET_PREFERRED_BITNESS=64
__VSCMD_PREINIT_PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;c:\opt\chocolatey\bin;C:\WINDOWS\Windows\System32\WindowsPowerShell\v1.0;c:\opt\chocolatey\lib\ros-catkin-tools\tools\;C:\Program Files\Git\cmd;c:\python37\;C:\Users\XXX\OneDrive\Documents\Anaconda 3;C:\Users\XXX\OneDrive\Documents\Anaconda 3\Scripts';c:\users\XXX\onedrive\documents\anaconda 3\lib\site-packages;C:\Users\XXX\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\XXX\AppData\Local\GitHubDesktop\bin;C:\System32\WindowsPowerShell\v1.0
It looks like you have both python3 and Anaconda in the system path. I suspect that during a part of the install phase, python3 is getting executed instead of the python2 deployed by our ROS install scripts.
To test this hypothesis, can you remove c:\python37\;C:\Users\XXX\OneDrive\Documents\Anaconda 3
from your path?
@ooeygui took out the recommended paths. Didn't install the ros-catkin-tools. Took out another path (anaconda 3/lib/site-packages), ran the install again, still didn't go. Any more hypotheses?
I uploaded my latest logs here: https://github.com/GhengisGohan/chocolatey_logs
@GhengisGohan
Looking into the Chocolatey.log
, the last debug log from ros-catkin-tools
is Install released ROS catkin tools...
. And the next line of it in the install script is:
pip install -U -r $requirementsFile --disable-pip-version-check --no-cache-dir
I am suspecting it is using the wrong pip
in your environment.
To help me understand your env, can you run the following commands & report the output?
:: show where the python in your system
where python
:: show where the pip in your system
where pip
:: print pip version
pip --version
:: print python paths
python -m site
@seanyen as requested... I did also replace the python paths that your colleague asked me to remove while trouble shooting.
C:\Windows\System32>where python
INFO: Could not find files for the given pattern(s).
C:\Windows\System32>where pip
INFO: Could not find files for the given pattern(s).
C:\Windows\System32>pip --version
'pip' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\System32>python -m site
'python' is not recognized as an internal or external command,
operable program or batch file.
Starting to think that my python and pip installs are completely messed up. I know they are in my C:/user/xxx/onedrive because when installing I didn't want to take up a ton of local memory.
I you check out my log update I ran an upgrade to python (successfully) then tried to install pip using chocolatey and it threw the error
ERROR: Python is not installed. easy_install installation aborted!
The install of easy.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\easy.install\tools\chocolateyInstall.ps1'.
See log for details.
I'm going to look into it. In the meantime, your thoughts? This may seem stupid, python is installed on my computer but apparently not in the right place. Where should it be?
@seanyen After running your previous tests in my regular cmd I got the following.
C:\Users\Soren F Anderson>where python
C:\Python38\python.exe
C:\Users\Soren F Anderson\OneDrive\Documents\Anaconda 3\python.exe
C:\Users\Soren F Anderson>where pip
C:\Python38\Scripts\pip.exe
C:\Users\Soren F Anderson>pip --version
pip 19.2.3 from c:\python38\lib\site-packages\pip (python 3.8)
C:\Users\Soren F Anderson>python -m site
sys.path = [
'C:\\Users\\Soren F Anderson',
'C:\\Python38\\python38.zip',
'C:\\Python38\\DLLs',
'C:\\Python38\\lib',
'C:\\Python38',
'C:\\Python38\\lib\\site-packages',
]
USER_BASE: 'C:\\Users\\Soren F Anderson\\AppData\\Roaming\\Python' (exists)
USER_SITE: 'C:\\Users\\Soren F Anderson\\AppData\\Roaming\\Python\\Python38\\site-packages' (doesn't exist)
ENABLE_USER_SITE: True
I don't see any Python 2.7.
@GhengisGohan Based on the ros-catkin-tools
failure messages, I think you can find a Python installed under c:\opt\python27amd64
. If it exists, can you try to run the following in a clean command prompt?
set "PATH=c:\opt\python27amd64;c:\opt\python27amd64\Scripts;%PATH%"
set "PYTHONHOME=c:\opt\python27amd64"
pip install -U rosdep rosinstall_generator wstool rosinstall --disable-pip-version-check --no-cache-dir
I am trying to synthesize the same commands that the install script does, and try to see what's happened there.
C:\Windows\System32>set "PATH=c:\opt\python27amd64;c:\opt\python27amd64\Scripts;%PATH%"
C:\Windows\System32>set "PYTHONHOME=c:\opt\python27amd64"
C:\Windows\System32>pip install -U -r rosdep rosinstall_generator wstool rosinstall --disable-pip-version-check --no-cache-dir
Traceback (most recent call last):
File "c:\opt\python27amd64\lib\runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\opt\python27amd64\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "c:\opt\python27amd64\Scripts\pip.exe\__main__.py", line 5, in <module>
ImportError: cannot import name `main```
This is what came back.
@GhengisGohan That's some interesting information. Can you do python -m site
on the same command prompt?
Also, I noticed there is a USER_BASE
pointing to C:\\Users\\xxx\\AppData\\Roaming\\Python
. What if you temporarily rename it and retry to pip install ...
again?
This is what I got from "python -m site" in the cmd.
C:\Users\Soren F Anderson>python -m site
sys.path = [
'C:\\Users\\Soren F Anderson',
'C:\\Python38\\python38.zip',
'C:\\Python38\\DLLs',
'C:\\Python38\\lib',
'C:\\Python38',
'C:\\Python38\\lib\\site-packages',
]
USER_BASE: 'C:\\Users\\Soren F Anderson\\AppData\\Roaming\\Python' (exists)
USER_SITE: 'C:\\Users\\Soren F Anderson\\AppData\\Roaming\\Python\\Python38\\site-packages' (doesn't exist)
ENABLE_USER_SITE: True
in the Powershell:
C:\Windows\System32>python -m site
sys.path = [
'C:\\Windows\\System32',
'c:\\opt\\python27amd64\\python27.zip',
'c:\\opt\\python27amd64\\DLLs',
'c:\\opt\\python27amd64\\lib',
'c:\\opt\\python27amd64\\lib\\plat-win',
'c:\\opt\\python27amd64\\lib\\lib-tk',
'c:\\opt\\python27amd64',
'C:\\Users\\Soren F Anderson\\AppData\\Roaming\\Python\\Python27\\site-packages',
'c:\\opt\\python27amd64\\lib\\site-packages',
]
USER_BASE: 'C:\\Users\\Soren F Anderson\\AppData\\Roaming\\Python' (exists)
USER_SITE: 'C:\\Users\\Soren F Anderson\\AppData\\Roaming\\Python\\Python27\\site-packages' (exists)
ENABLE_USER_SITE: True
in the VS Command Prompt:
C:\Windows\System32>python -m site
sys.path = [
'C:\\Windows\\System32',
'C:\\Python38\\python38.zip',
'C:\\Python38\\DLLs',
'C:\\Python38\\lib',
'C:\\Python38',
'C:\\Python38\\lib\\site-packages',
]
USER_BASE: 'C:\\Users\\Soren F Anderson\\AppData\\Roaming\\Python' (exists)
USER_SITE: 'C:\\Users\\Soren F Anderson\\AppData\\Roaming\\Python\\Python38\\site-packages' (doesn't exist)
ENABLE_USER_SITE: True
Can you be more specific about renaming the USER_BASE and then running the pip install?
@GhengisGohan Sorry I was not clear about the instructions. Can you run the following in a clean command prompt:
set "PATH=c:\opt\python27amd64;c:\opt\python27amd64\Scripts;%PATH%"
set "PYTHONHOME=c:\opt\python27amd64"
python -s -m pip install -U rosdep rosinstall_generator wstool rosinstall --disable-pip-version-check --no-cache-dir
This time I added python -s
to explicitly disable the usage of USER_SITE. I am interested in seeing if it is to do with the pip throwing the ImportError
.
morning at @seanyen looks like it didn't like rosdep. do we need to give it a rosdep location? I have the rosdep install and some rosdep_db but no actual .exe if that's what you're trying to call. If we look back in the logs, rosdepInstall.bat fails every time I call for choco upgrade ros-melodic-desktop_full.
C:\Windows\System32>python -s -m pip install -U -r rosdep rosinstall_generator wstool rosinstall --disable-pip-version-check --no-cache-dir
Could not open requirements file: [Errno 2] No such file or directory: 'rosdep'
@GhengisGohan Sorry for the typo there. Can you remove -r
from the command? Like running python -s -m pip install -U rosdep rosinstall_generator wstool rosinstall --disable-pip-version-check --no-cache-dir
.
@seanyen That worked. Tremendous. Correct me I'm wrong but I should be able to go through with the choco ros install now? Looks like ros-catkin-tools and rosdep showed up in my C:\Python38\Scripts\
I ran it again because I closed the prompt without showing the output.
C:\Windows\System32>python -s -m pip install -U rosdep rosinstall_generator wstool rosinstall --disable-pip-version-check --no-cache-dir
Requirement already up-to-date: rosdep in c:\python38\lib\site-packages (0.19.0)
Requirement already up-to-date: rosinstall_generator in c:\python38\lib\site-packages (0.1.19)
Requirement already up-to-date: wstool in c:\python38\lib\site-packages (0.1.17)
Requirement already up-to-date: rosinstall in c:\python38\lib\site-packages (0.7.8)
Requirement already satisfied, skipping upgrade: rospkg>=1.1.10 in c:\python38\lib\site-packages (from rosdep) (1.2.6)
Requirement already satisfied, skipping upgrade: catkin-pkg>=0.4.0 in c:\python38\lib\site-packages (from rosdep) (0.4.20)
Requirement already satisfied, skipping upgrade: PyYAML>=3.1 in c:\python38\lib\site-packages (from rosdep) (5.3.1)
Requirement already satisfied, skipping upgrade: rosdistro>=0.7.5 in c:\python38\lib\site-packages (from rosdep) (0.8.2)
Requirement already satisfied, skipping upgrade: setuptools in c:\python38\lib\site-packages (from rosinstall_generator) (41.2.0)
Requirement already satisfied, skipping upgrade: vcstools>=0.1.38 in c:\python38\lib\site-packages (from wstool) (0.1.42)
Requirement already satisfied, skipping upgrade: distro in c:\python38\lib\site-packages (from rospkg>=1.1.10->rosdep) (1.5.0)
Requirement already satisfied, skipping upgrade: pyparsing in c:\python38\lib\site-packages (from catkin-pkg>=0.4.0->rosdep) (2.4.7)
Requirement already satisfied, skipping upgrade: docutils in c:\python38\lib\site-packages (from catkin-pkg>=0.4.0->rosdep) (0.16)
Requirement already satisfied, skipping upgrade: python-dateutil in c:\python38\lib\site-packages (from catkin-pkg>=0.4.0->rosdep) (2.8.1)
Requirement already satisfied, skipping upgrade: six>=1.5 in c:\python38\lib\site-packages (from python-dateutil->catkin-pkg>=0.4.0->rosdep) (1.15.0)
after running the ros-melodic install I get the two same Errors from before. Failure: rosdepInstall.bat and chocolateyInstall.ps1
I'm so sorry to be a pain for you guys. You've been a tremendous help and I'm going to work a bit this weekend and wait for your advice Tuesday. Cheers,
@seanyen @ooeygui Morning gents, any chance we can pick up where we left off? I was thinking about installing Linux on a SD card and just running ROS on that when I need it.
@GhengisGohan since it looked like that your USER_BASE might have something to interfere with the installation, can you try to remove the c:\opt
and do the following in an opened Visual Studio Command Prompt as Administrator?
set PYTHONNOUSERSITE=1
mkdir c:\opt\chocolatey
set ChocolateyInstall=c:\opt\chocolatey
choco source add -n=ros-win -s="https://roswin.azurewebsites.net/api/v2" --priority=1
choco upgrade ros-melodic-desktop_full -y --execution-timeout=0
Some how - one day... It just happened. I included a -n and -v just for some more debugging and it just forced it's way through.
C:\Windows\System32>choco upgrade ros-melodic-desktop_full -y -v -n --execution-timout=0
Chocolatey v0.10.15
Upgrading the following packages:
ros-melodic-desktop_full
By upgrading you accept licenses for the packages.
ros-melodic-desktop_full is not installed. Installing...
[NuGet] Attempting to resolve dependency 'ros-catkin-tools (≥ 0.0.1.1903221831)'.
[NuGet] Attempting to resolve dependency 'ros-python2 (≥ 2.7.15)'.
[NuGet] Attempting to resolve dependency 'vcredist140 (≥ 14.16.27024.1)'.
[NuGet] Attempting to resolve dependency 'chocolatey-core.extension (≥ 1.3.3)'.
[NuGet] Attempting to resolve dependency 'KB3033929 (≥ 1.0.3)'.
[NuGet] Attempting to resolve dependency 'chocolatey-windowsupdate.extension (≥ 1.0.4)'.
[NuGet] Attempting to resolve dependency 'KB3035131 (≥ 1.0.3)'.
[NuGet] Attempting to resolve dependency 'KB2919355 (≥ 1.0.20160915)'.
[NuGet] Attempting to resolve dependency 'KB2919442 (≥ 1.0.20160915)'.
[NuGet] Attempting to resolve dependency 'kb2999226 (≥ 1.0.20170509)'.
Progress: Downloading ros-melodic-desktop_full 20200501.1... 100%
Progress: Downloading ros-melodic-desktop_full 20200501.1... 100%
[NuGet] Attempting to resolve dependency 'ros-vcpkg (≥ 2018.11.23.1906112226)'.
[NuGet] Attempting to resolve dependency 'vcredist2010 (≥ 10.0.40219.2)'.
[NuGet] Installing 'ros-catkin-tools 0.0.1.1903221831'.
[NuGet] Successfully installed 'ros-catkin-tools 0.0.1.1903221831'.
ros-catkin-tools v0.0.1.1903221831
ros-catkin-tools package files upgrade completed. Performing other installation steps.
The upgrade of ros-catkin-tools was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
[NuGet] Installing 'ros-melodic-desktop_full 20200501.1'.
[NuGet] Successfully installed 'ros-melodic-desktop_full 20200501.1'.
ros-melodic-desktop_full v20200501.1
ros-melodic-desktop_full package files upgrade completed. Performing other installation steps.
The upgrade of ros-melodic-desktop_full was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
Chocolatey upgraded 2/2 packages.
See the log for details (c:\opt\chocolatey\logs\chocolatey.log).
Hello, I am facing issues with installing vcpkg, can you please help me through it? Please find the log attached.
@Aman-Makkar it looks like you are using the older distribution point. Could you modify it using the following:
choco source remove -n=ros-win
choco source add -n=ros-win -s="https://aka.ms/ros/public" --priority=1
this meta-ticket has lasted it's course. If you have any install/setup issues of any version of ROS on Windows distributed through Chocolatey, please open up a new issue.