skip to Main Content

I am facing issue of installing pandas in virtual environment. All steps goes well but when it reaches at "Building wheel for pandas" then it stucks and do not go forward. Kindly guide me what is the issue and appropriate solution will be highly appreciated.

I tried to install different versions of pandas, but no one is successfully installed

2

Answers


  1. Your question is a bit vague. What commands did you try? Can you share more info on this? Screenshots or the output logs of the commands you tried will help

    Login or Signup to reply.
  2. Try these steps:

    # Step 1: Update pip, setuptools, and wheel
    pip install    --upgrade pip setuptools wheel
    
    # Step 2: Create and activate a virtual environment
    python      -m venv myenv
    source myenv/bin/activate  # On Windows, use `myenvScriptsactivate`
    # Step 3: Install pandas from a binary wheel
    pip install pandas    --no-build-isolation
    

    If the above steps fail, try installing using conda if available

    conda install pandas
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search