Skip to content
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

An error occurred in the secure channel support #1303

Closed
11 tasks
fritsderaad opened this issue Mar 19, 2019 · 5 comments
Closed
11 tasks

An error occurred in the secure channel support #1303

fritsderaad opened this issue Mar 19, 2019 · 5 comments

Comments

@fritsderaad
Copy link

Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.

Prerequisite

  • Make sure your problem is not listed in the common build problems.
  • Make sure no duplicated issue has already been reported in the pyenv issues. You should look for closed issues, too.
  • Make sure you are not asking us to help solving your specific issue.
    • GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like Gitter, StackOverflow, etc.
  • Make sure your problem is not derived from packaging (e.g. Homebrew).
    • Please refer to the package documentation for the installation issues, etc.
  • Make sure your problem is not derived from plugins.
    • This repository is maintaining pyenv and the default python-build plugin only. Please refrain from reporting issues of other plugins here.

Description

  • Platform information (e.g. Ubuntu Linux 16.04): Windows 7 professional
  • OS architecture (e.g. amd64): 64 bit
  • pyenv version: 1.1.2
  • Python version: current 3.6.2 32 bit
  • C Compiler information (e.g. gcc 7.3): ?
  • Please attach verbose build log as gist
    • You can turn on verbose debug logging using by setting PYENV_DEBUG=1, e.g. env PYENV_DEBUG=1 pyenv install -v 3.6.4

Hi ,
Installed pyenv 1.1.2 succesfully. Now wanted to create new environment 3.7.2-amd64 but failed. Tried different versions including 32 bit and 3.7.0 but all same failure:
It starts downloading but within a second new line shows up: An error occurred in the secure channel support. Browsed the internet for two hours to find solution, no luck. Did not find anything related to this on you git, so now I'm posting the question. Thanks

@joshfriend
Copy link
Member

Please follow the issue template and provide the items requested

@fritsderaad
Copy link
Author

Sorry, bit of a newby, filled out the template with everything I knew. How do I determine the C Compiler on my Windows 7 pro machine? is that Visual Studio 2017? Tried to put on debugging but on suggested code I got PYENV_DEBUG is not recognized as internal or external command, operable program or batch file

@chrahunt
Copy link
Member

It looks like you're trying to build a native Python on Windows, which I don't believe is supported. We would try to support compiling with Windows Subsystem for Linux as a target. @yyuu can you confirm?

@yyuu
Copy link
Contributor

yyuu commented Mar 24, 2019

pyenv doesn't support Windows natively as it is totally depending on bash and C compiler toolchain for *nix.

However, Windows 10 now supports WSL and it is allowing users to install Linux subsystem into their installation (w/ some limitations especially for daemons). I have already confirmed that pyenv can just work as is on WSL Ubuntu 18.04 image at least. What is necessary to use pyenv on WSL is equivalent to what is necessary on ordinary GNU/Linux, in general. Anyway without pasting full (debug)? output, no one would be able to find out the cause of the issue.

@chrahunt
Copy link
Member

@fritsderaad, to summarize: pyenv is supported on WSL on Windows. You can read about WSL here. For instructions, just follow any instructions you see in the pyenv README or the wiki for "Ubuntu" and you should be OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants