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

Python version selection on Mac? #157

Open
TyceHerrman opened this issue Nov 21, 2021 · 1 comment
Open

Python version selection on Mac? #157

TyceHerrman opened this issue Nov 21, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@TyceHerrman
Copy link

I'm a little fuzzy on how pyflow is getting python versions, which is maybe the real root of my question, but in trying to create a new pyflow project (pyflow new projname), specifying a python version when prompted doesn't seem to work as expected. pyflow new projname prompts selection of a python version for project and reports the default as [3.9.6]. Entering a different version (I've tried 3.9.5 and 3.9.8) results in a new pyflow project being created, but when I check the python version in the project folder with python --version, the result is always 3.9.6. At this point, the .toml file also always has py_version = "3.9". After creating the new pyflow project following the steps above, if I try pyflow switch for the first time in the project, I get the following:

Switched to Python version 3.9.5 
Found multiple compatible Python versions. Please enter the number associated with the one you'd like to use:
1: python3.9: 3.9.6
2: python3: 3.9.6
3: python: 3.9.6

After selecting any option, the .toml file updates to py_version="3.9.5" and python --version continues to return 3.9.6.

I see in the issues and readme there's some issues with using pyflow on Macs - not sure if my issue is a specific Mac problem, a more general problem, or simply a misunderstanding of how pyflow Python version selection works.

@David-OConnor David-OConnor added the bug Something isn't working label Nov 26, 2021
@David-OConnor
Copy link
Owner

This sounds like a bug. The mac compatibility problems are mainly due to not having a good way to install it, since you need a mac AFAIK to build it. I'm curious if this problem manifests only on mac, or more broadly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants