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

Install specific Python version #87

Closed
WJ-Huang opened this issue Jan 3, 2022 · 2 comments
Closed

Install specific Python version #87

WJ-Huang opened this issue Jan 3, 2022 · 2 comments

Comments

@WJ-Huang
Copy link

WJ-Huang commented Jan 3, 2022

Hi, thank you for this great package! When I used the package, the package installed Python 3.10.1 by default. However, I want to install Python 3.6 in the environment. Is it possible? I appreciate your help.

@cjdoris
Copy link
Collaborator

cjdoris commented Jan 3, 2022

https://cjdoris.github.io/PythonCall.jl/stable/pythoncall/#python-deps

A CondaPkg.toml file like

[deps]
python = "=3.6"

in your project will restrict the version like you want.

Or CondaPkg.add("python", version="=3.6").

@WJ-Huang
Copy link
Author

WJ-Huang commented Jan 3, 2022

Thank you!

@WJ-Huang WJ-Huang closed this as completed Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants