Code Monkey home page Code Monkey logo

Comments (8)

kirankotari avatar kirankotari commented on June 8, 2024

Did you run the "pyenv rehash" from home directory?

from pyenv-win.

gsscoder avatar gsscoder commented on June 8, 2024

First of all let me apologize for replying late.

pyenv rehash immediately solved the problem on Windows 10.

Thank you for your time!

(I still have a problem with pyenv on macOS Catalina, but I know this is not the place to post about it).

from pyenv-win.

kirankotari avatar kirankotari commented on June 8, 2024

What was the error?

from pyenv-win.

gsscoder avatar gsscoder commented on June 8, 2024

In Windows 10 without pyenv rehash (just one time), the selected python simple doesn't start. Shells are unable to launch it (file is not found).

from pyenv-win.

kirankotari avatar kirankotari commented on June 8, 2024

please provide the error you are getting in the command prompt.

from pyenv-win.

gsscoder avatar gsscoder commented on June 8, 2024

No error, the file was just not in PATH environment variable.

I've re-installed pyenv and now he can install and set 3.8.0 as current python. However I've problems installing a 2.7 version.

pyenv simply don't switch the environment. Again, program don't say something is wrong.

At the moment I'm working without it, but I can do another test since I'm interested in getting it working. And eventually share some knowledge for people having same issue...

from pyenv-win.

kirankotari avatar kirankotari commented on June 8, 2024

I believe you need to look at the pyenv features. @gsscoder
To install the command ispyenv install <python-version> i.e. pyenv install 3.8.0
To set a local python for an project pyenv local <python-version> i.e. pyenv local 2.7
Note:- You need to install python 2.7 first and then you can set local as required.

from pyenv-win.

gsscoder avatar gsscoder commented on June 8, 2024

OK,
to be honest I've always tried with pyenv global <python-version>.
But I can try in this way and post here results as soon as possible.

Thank you.

from pyenv-win.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.