Python virtual environment working for pandas - Set up #2

Closed
opened 2023-03-20 16:47:23 +01:00 by Karenzz · 2 comments

I have created an isolated environment with >pip install pandas, and should another commend be needed here to further build and install pandas? There tends to be confusion between "pip install" and "setup.py".

I have created an isolated environment with >pip install pandas, and should another commend be needed here to further build and install pandas? There tends to be confusion between "pip install" and "setup.py".
Author

Another problem occurs in forking the pandas repository. I create a fork of pandas repository in my GitHub and I want to start gitpod by first entering $ "python -m pytest pandas" to check whether my workspace is ready. However, an error reposts and my question is whether it is caused because I haven't successfully built my workplace or connected with pandas?

Another problem occurs in forking the pandas repository. I create a fork of pandas repository in my GitHub and I want to start gitpod by first entering $ "python -m pytest pandas" to check whether my workspace is ready. However, an error reposts and my question is whether it is caused because I haven't successfully built my workplace or connected with pandas?
Owner

What we got to work was:

  1. Checking out a fork of pandas instead of the pandas distribution on the python package repository.

  2. Installing a Visual C++ compiler.

  3. Selecting the 64-bit compiler using the $ENV:VS170COMNTOOLS\Launch-VsDevShell.ps1 -arch amd64 script.

  4. Following the instructions here:

https://pandas.pydata.org/pandas-docs/stable/development/contributing_environment.html#step-3-build-and-install-pandas

Then, re-running the install command every time the local copy of the pandas repository is modified will update the virtual environment with the modified copy so scripts can be run against it.

What we got to work was: 1. Checking out a fork of pandas instead of the pandas distribution on the python package repository. 2. Installing a Visual C++ compiler. 3. Selecting the 64-bit compiler using the `$ENV:VS170COMNTOOLS\Launch-VsDevShell.ps1 -arch amd64` script. 4. Following the instructions here: https://pandas.pydata.org/pandas-docs/stable/development/contributing_environment.html#step-3-build-and-install-pandas Then, re-running the install command every time the local copy of the pandas repository is modified will update the virtual environment with the modified copy so scripts can be run against it.
j closed this issue 2023-03-23 04:37:32 +01:00
Sign in to join this conversation.
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: j/Issues#2