Skip to content

Conda package installations fail on new conda installation #5533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ARF1 opened this issue May 1, 2019 · 1 comment
Closed

Conda package installations fail on new conda installation #5533

ARF1 opened this issue May 1, 2019 · 1 comment

Comments

@ARF1
Copy link

ARF1 commented May 1, 2019

Issue Type: Bug

Possibly related to #5503.

Attempting to install an anaconda package from within vscode fails. Executing the same command from the anaconda shell works.

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.




PS Z:\myproj> Z:/Miniconda3/Scripts/activate
PS Z:\myproj> conda activate myenviron
conda : The term 'conda' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, 
verify that the path is correct and try again.
At line:1 char:1
+ conda activate myenviron
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (conda:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
PS Z:\myproj> & Z:/Miniconda3/Scripts/conda.exe install --name myenviron rope
Collecting package metadata: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/noarch/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/noarch/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))


PS Z:\myproj>

Extension version: 2019.4.12954
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:27:14.102Z)
OS version: Windows_NT x64 10.0.17763

System Info
Item Value
CPUs Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz (4 x 2295)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 7.88GB (3.99GB free)
Process Argv
Screen Reader no
VM 0%
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label May 1, 2019
@DonJayamanne
Copy link

When the Anaconda / Miniconda python distribution is installed with an installer of the current version on Windows, the conda is no longer added to the PATH environment variable.

Yes, however we expect users to setup their powershell environment for conda to start working.
The latest version of conda has instructions on how to do this, i believe the command is conda init.

Closing as we expect users to setup their shells for conda to work.
The extension will no longer attempt to resolve this on behalf of the user.

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label May 16, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants