-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add Colab and Python version #797
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ powerful web applications. | |
|
||
# Prerequisite | ||
|
||
Before installing Taipy, ensure you have Python (version 3.8 or above) and | ||
Before installing Taipy, ensure you have Python (**between version 3.8 and 3.11**) and | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably not There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ? |
||
[pip](https://pip.pypa.io) installed on your system. If you don't have pip installed, you can | ||
follow these steps to install it: | ||
|
||
|
@@ -27,7 +27,7 @@ follow these steps to install it: | |
Alternatively, if you are using a Conda environment, you can install pip using the following | ||
command: | ||
|
||
``` console | ||
```console | ||
$ conda install pip | ||
``` | ||
|
||
|
@@ -38,12 +38,39 @@ To install Taipy, you have several options depending on your needs and preferenc | |
The preferred method to install Taipy is by using **pip**. Open your terminal or command prompt | ||
and run the following command: | ||
|
||
``` console | ||
```console | ||
$ pip install taipy | ||
``` | ||
|
||
This command will download and install the most recent stable release of Taipy. | ||
|
||
|
||
# Installing Taipy with Colab | ||
|
||
Google Colab is a popular and free Jupyter notebook environment that requires no setup | ||
and runs entirely in the cloud. To install Taipy in Google Colab, follow these simple | ||
steps: | ||
|
||
1. **Open a new Colab notebook**: Visit [Google Colab](https://colab.research.google.com) | ||
and start a new notebook. | ||
|
||
2. **Run the installation command**: In a new cell, enter the following command and run | ||
the cell: | ||
|
||
```python | ||
!pip install --ignore-installed taipy | ||
``` | ||
|
||
This command installs the latest stable release of Taipy in your Colab environment. | ||
|
||
3. **Start building your app**: Follow this | ||
[tip](../knowledge_base/tips/colab_with_ngrok/index.md) to build and run your Taipy web | ||
application directly within the Colab notebook. | ||
|
||
!!! tip | ||
Remember that Google Colab environments are ephemeral. If you disconnect or restart | ||
your Colab session, you will need to reinstall Taipy. | ||
|
||
# Installing Taipy in a Conda Environment | ||
|
||
Conda is an open-source package management system and environment management system that runs on | ||
|
@@ -53,15 +80,15 @@ If you prefer to work within a [Conda](https://docs.conda.io/projects/conda/en/l | |
environment, follow these steps: | ||
|
||
1. Create a new **Conda** environment (replace **env-name** with your desired environment name): | ||
``` console | ||
```console | ||
$ conda create -n env-name | ||
``` | ||
2. Activate the newly created environment: | ||
``` console | ||
$ conda activate env-name | ||
``` | ||
3. Install Taipy within the Conda environment using pip: | ||
``` console | ||
```console | ||
$ pip install taipy | ||
``` | ||
|
||
|
@@ -71,21 +98,21 @@ If you want to work with the latest development version or contribute to the pro | |
install Taipy from the source code. | ||
|
||
- Clone the public repository from GitHub (you'll need Git installed for this method): | ||
``` console | ||
```console | ||
$ git clone git://github.com/avaiga/taipy | ||
``` | ||
|
||
Or, | ||
- Download the tarball directly from GitHub: | ||
``` console | ||
```console | ||
$ curl -OJL https://github.com/avaiga/taipy/tarball/main | ||
``` | ||
|
||
Once you have the source code, navigate to the directory containing the Taipy source code and | ||
run the following command: | ||
|
||
``` console | ||
```console | ||
$ pip install . | ||
``` | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We actually plan to support 3.12 in 3.1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I know about this. We should rechange it when it is out