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

[🐛 BUG] Taipy Installation from git not working (with Conda) #1668

Closed
1 of 4 tasks
FlorianJacta opened this issue Aug 14, 2024 · 4 comments
Closed
1 of 4 tasks

[🐛 BUG] Taipy Installation from git not working (with Conda) #1668

FlorianJacta opened this issue Aug 14, 2024 · 4 comments
Assignees
Labels
🖧 Devops Operations, monitoring, maintenance, deployment, packaging 💥Malfunction Addresses an identified problem. 🟥 Priority: Critical Must be addressed as soon as possible

Comments

@FlorianJacta
Copy link
Member

FlorianJacta commented Aug 14, 2024

What went wrong? 🤔

Dependencies are not installed. Taipy is installed but not working.

(enterprise) C:\Users\jacta>conda create -n test_2 python=3.12
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 22.9.0
  latest version: 24.7.1

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: C:\Users\jacta\.conda\envs\test_2

  added / updated specs:
    - python=3.12


The following NEW packages will be INSTALLED:

  bzip2              pkgs/main/win-64::bzip2-1.0.8-h2bbff1b_6 None
  ca-certificates    pkgs/main/win-64::ca-certificates-2024.7.2-haa95532_0 None
  expat              pkgs/main/win-64::expat-2.6.2-hd77b12b_0 None
  libffi             pkgs/main/win-64::libffi-3.4.4-hd77b12b_1 None
  openssl            pkgs/main/win-64::openssl-3.0.14-h827c3e9_0 None
  pip                pkgs/main/win-64::pip-24.2-py312haa95532_0 None
  python             pkgs/main/win-64::python-3.12.4-h14ffc60_1 None
  setuptools         pkgs/main/win-64::setuptools-72.1.0-py312haa95532_0 None
  sqlite             pkgs/main/win-64::sqlite-3.45.3-h2bbff1b_0 None
  tk                 pkgs/main/win-64::tk-8.6.14-h0416ee5_0 None
  tzdata             pkgs/main/noarch::tzdata-2024a-h04d1e81_0 None
  vc                 pkgs/main/win-64::vc-14.40-h2eaa2aa_0 None
  vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.40.33807-h98bb1dd_0 None
  wheel              pkgs/main/win-64::wheel-0.43.0-py312haa95532_0 None
  xz                 pkgs/main/win-64::xz-5.4.6-h8cc25b3_1 None
  zlib               pkgs/main/win-64::zlib-1.2.13-h8cc25b3_1 None


Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate test_2
#
# To deactivate an active environment, use
#
#     $ conda deactivate

Retrieving notices: ...working... done

(enterprise) C:\Users\jacta>conda activate test_2

(test_2) C:\Users\jacta>pip install git+https://github.com/Avaiga/taipy.git
Collecting git+https://github.com/Avaiga/taipy.git
  Cloning https://github.com/Avaiga/taipy.git to c:\users\jacta\appdata\local\temp\pip-req-build-k8et69gr
  Running command git clone --filter=blob:none --quiet https://github.com/Avaiga/taipy.git 'C:\Users\jacta\AppData\Local\Temp\pip-req-build-k8et69gr'
  Resolved https://github.com/Avaiga/taipy.git to commit daa43df6d0e8a2a366d79528f7fb7f2d9e75f701
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: taipy
  Building wheel for taipy (pyproject.toml) ... done
  Created wheel for taipy: filename=taipy-0.0.0-py3-none-any.whl size=624568 sha256=45971b9021519c4a45c9267cbd7d76dc3368bf6c03cc189e85d7083918815866
  Stored in directory: C:\Users\jacta\AppData\Local\Temp\pip-ephem-wheel-cache-akm1sfqr\wheels\e1\cb\e8\40f6e5d02aad088be6c67311339b1fb77c5bf37977c135a095
Successfully built taipy
Installing collected packages: taipy
Successfully installed taipy-0.0.0

(test_2) C:\Users\jacta>pip list
Package    Version
---------- -------
pip        24.2
setuptools 72.1.0
taipy      0.0.0
wheel      0.43.0

Expected Behavior

This should work.

Steps to Reproduce Issue

(enterprise) C:\Users\jacta>conda create -n test_2 python=3.12
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 22.9.0
  latest version: 24.7.1

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: C:\Users\jacta\.conda\envs\test_2

  added / updated specs:
    - python=3.12


The following NEW packages will be INSTALLED:

  bzip2              pkgs/main/win-64::bzip2-1.0.8-h2bbff1b_6 None
  ca-certificates    pkgs/main/win-64::ca-certificates-2024.7.2-haa95532_0 None
  expat              pkgs/main/win-64::expat-2.6.2-hd77b12b_0 None
  libffi             pkgs/main/win-64::libffi-3.4.4-hd77b12b_1 None
  openssl            pkgs/main/win-64::openssl-3.0.14-h827c3e9_0 None
  pip                pkgs/main/win-64::pip-24.2-py312haa95532_0 None
  python             pkgs/main/win-64::python-3.12.4-h14ffc60_1 None
  setuptools         pkgs/main/win-64::setuptools-72.1.0-py312haa95532_0 None
  sqlite             pkgs/main/win-64::sqlite-3.45.3-h2bbff1b_0 None
  tk                 pkgs/main/win-64::tk-8.6.14-h0416ee5_0 None
  tzdata             pkgs/main/noarch::tzdata-2024a-h04d1e81_0 None
  vc                 pkgs/main/win-64::vc-14.40-h2eaa2aa_0 None
  vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.40.33807-h98bb1dd_0 None
  wheel              pkgs/main/win-64::wheel-0.43.0-py312haa95532_0 None
  xz                 pkgs/main/win-64::xz-5.4.6-h8cc25b3_1 None
  zlib               pkgs/main/win-64::zlib-1.2.13-h8cc25b3_1 None


Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate test_2
#
# To deactivate an active environment, use
#
#     $ conda deactivate

Retrieving notices: ...working... done

(enterprise) C:\Users\jacta>conda activate test_2

(test_2) C:\Users\jacta>pip install git+https://github.com/Avaiga/taipy.git
Collecting git+https://github.com/Avaiga/taipy.git
  Cloning https://github.com/Avaiga/taipy.git to c:\users\jacta\appdata\local\temp\pip-req-build-k8et69gr
  Running command git clone --filter=blob:none --quiet https://github.com/Avaiga/taipy.git 'C:\Users\jacta\AppData\Local\Temp\pip-req-build-k8et69gr'
  Resolved https://github.com/Avaiga/taipy.git to commit daa43df6d0e8a2a366d79528f7fb7f2d9e75f701
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: taipy
  Building wheel for taipy (pyproject.toml) ... done
  Created wheel for taipy: filename=taipy-0.0.0-py3-none-any.whl size=624568 sha256=45971b9021519c4a45c9267cbd7d76dc3368bf6c03cc189e85d7083918815866
  Stored in directory: C:\Users\jacta\AppData\Local\Temp\pip-ephem-wheel-cache-akm1sfqr\wheels\e1\cb\e8\40f6e5d02aad088be6c67311339b1fb77c5bf37977c135a095
Successfully built taipy
Installing collected packages: taipy
Successfully installed taipy-0.0.0

(test_2) C:\Users\jacta>pip list
Package    Version
---------- -------
pip        24.2
setuptools 72.1.0
taipy      0.0.0
wheel      0.43.0

Runtime Environment

Windows 11

OS

Windows

Version of Taipy

Develop 8/14/24

Acceptance Criteria

  • Ensure new code is unit tested, and check code coverage is at least 90%.
  • Create related issue in taipy-doc for documentation and Release Notes.

Code of Conduct

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)
@FlorianJacta FlorianJacta added 🟥 Priority: Critical Must be addressed as soon as possible 🖧 Devops Operations, monitoring, maintenance, deployment, packaging 💥Malfunction Addresses an identified problem. labels Aug 14, 2024
@FredLL-Avaiga FredLL-Avaiga changed the title [🐛 BUG] Taipy Installation not working (with Conda) [🐛 BUG] Taipy Installation from git not working (with Conda) Aug 14, 2024
@dinhlongviolin1
Copy link
Member

Might be due to a move to pyproject.toml from setup.py. @joaoandre @toan-quach

@joaoandre-avaiga
Copy link
Collaborator

It is because of the move to pyproject.toml. I have a PR open to fix the issue, it should be ok by tomorrow.

@jrobinAV
Copy link
Member

@FlorianJacta This should be ok now. Can you check again and close the issue if it is solved? Thx.

@FlorianJacta
Copy link
Member Author

Now working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖧 Devops Operations, monitoring, maintenance, deployment, packaging 💥Malfunction Addresses an identified problem. 🟥 Priority: Critical Must be addressed as soon as possible
Projects
None yet
Development

No branches or pull requests

4 participants