Closed seanyen closed 4 years ago
Hi I have a similar problem, i follow the instructions of the wiki http://wiki.ros.org/Installation/Windows but when i put de command "choco upgrade ros-melodic-desktop_full -y --execution-timeout=0" the installation is interrupt with the next error:
You are using pip version 18.1, however version 20.2b1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. ERROR: the following rosdeps failed to install vcpkg: command [vcpkg install sdl2 --triplet x64-windows] failed vcpkg: Failed to detect successful installation of [sdl2] ERROR: rosdepInstall.bat failed. ros-melodic-desktop_full can be automatically uninstalled. Environment Vars (like PATH) have changed. Close/reopen your shell to see the changes (or in powershell/cmd.exe just type
refreshenv`).
The upgrade of ros-melodic-desktop_full was NOT successful.
Error while running 'c:\opt\chocolatey\lib\ros-melodic-desktop_full\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey upgraded 11/12 packages. 1 packages failed. See the log for details (c:\opt\chocolatey\logs\chocolatey.log).
Upgraded:
Failures
I have try to install in two computers but the error is the same, i have trying with the solve 20200409.2.0 but it not change nothing, the file vcpkg.exe is created in the folder "C:\opt\vcpkg" , I have "%SYSTEMROOT%\System32\WindowsPowerShell\v1.0" in path variables, i follow the recomendation of lwoffice commented on 29 Apr, but the result is the same. What i can do it?
vcpkg is the canary in the coalmine. It is the first time that ROS attempts to build in a prompt. If it fails, it means that the environment has not been set up correctly.
Can you do the following: Open the ROS command prompt.
vcpkg install sdl2 --triplet x64-windows
Paste the output?
The result is " "vcpkg" is not recognized as an internal or external command, program, or executable batch file."
@940222JESUS in your shortcut, did you include the setup.bat for the Window? If not, can you run c;\opt\ros\melodic\x64\setup.bat
and retry?
This is the output
Thank you for digging in with us. The English language pack is requirement within vcpkg itself: https://github.com/Microsoft/vcpkg/issues/3842.
https://github.com/microsoft/vcpkg/issues/10401.
I'll update the document on the ros install page.
I installed the English language pack and this is the result, Right now I executed roscore and i think that it's working fine, there are another step that i need to follow or it's over?
If not thank you so much for help me.
@940222JESUS I'm glad we could get you past that. The vxpkg install happens early in the ROS install process, so ROS isn't complete installed.
to complete the install upgrade
choco upgrade ros-melodic-desktop_full -y --execution-timeout=0
This will resume where it left off. Afterward, reopen the ROS prompt. (Make sure that setup.bat is called), then you can check out ROS repos.
Thanks again! Lou
Hi! Please help me get through with this issue. I am installing ROS melodic in windows 10. Thank you.
@Wal1082 It seems that it cannot reach out to the powershell URL. Are you behind a proxy? Are you able to change the network or disable proxy to retry again?
I am not using behind a proxy. I tried on other network and still no luck.
That's kind of odd - why is Powershell x86 being installed? Are you using a 32bit command prompt? or running on a 32bit OS?
@Wal1082 By checking Vcpkg issues, your symptom is very alike to many issues reported in Vcpkg side: https://github.com/microsoft/vcpkg/issues/4729 https://github.com/microsoft/vcpkg/issues/9064
I would recommend to also cross-post your issue in Vcpkg repo and I believe the Vcpkg team has better insight on the network issues.
Thanks for the help. I disabled the firewall and it works but then I Have trouble in installing the rviz. So, I scrap the windows 10 installation, I went through virtualbox which no issue at all.
rgds, Warby
On Jun 10, 2020, at 4:38 PM, Sean Yen notifications@github.com wrote:
@Wal1082 By checking Vcpkg issues, your symptom is very alike to many issues reported in Vcpkg side: microsoft/vcpkg#4729 microsoft/vcpkg#9064
I would recommend to also cross-post your issue in Vcpkg repo and I believe the Vcpkg team has better insight on the network issues.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
I'm closing this bug as it is generally not the root cause of new issues. vcpkg is the first time in the environment where code is built - anything wrong upstream manifests here.
Hello, I am still having issues with the vcpkg, can somebody please advise. Please refer to the error message I am receiving
Chocolatey v0.10.15
Upgrading the following packages:
ros-vcpkg
By upgrading you accept licenses for the packages.
ros-vcpkg is not installed. Installing...
Error retrieving packages from source 'https://roswin.azurewebsites.net/api/v2':
The remote name could not be resolved: 'roswin.azurewebsites.net'
ros-vcpkg not installed. The package was not found with the source(s) listed.
Source(s): 'https://roswin.azurewebsites.net/api/v2;https://chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify --pre
,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.
Chocolatey upgraded 0/1 packages. 1 packages failed. See the log for details (c:\opt\chocolatey\logs\chocolatey.log).
Failures
--pre
,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.
This is a cross-post for the issues reported here:
~We are investigating this issue. For whoever lands here because of hitting this issue, please kindly share your
c:\opt\chocolatey\logs\chocolatey.log
. That would help us better understand what's happening.~~UPDATED: We are working on a release for the fix. Meanwhile, you can use the following workaround while waiting for the new release.~
UPDATED: A version of
20200409.2.0
is released and this problem should be addressed.Workaround:
Following the normal instructions, and when it comes to do
Binary Package Installation
, please do the steps instead: