-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: Add note for building with setuptools #53227
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
Conversation
If pandas is already installed, you have to uninstall it first:: | ||
|
||
pip uninstall pandas | ||
|
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.
I think it is good to add the context for why you should uninstall it.
e.g.
"This is because python setup.py develop
will not uninstall the loader script that meson-python uses to import the extension from the build folder, which may cause errors such as an FileNotFoundError
to be raised."
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.
done
.. note:: | ||
If pandas is already installed, you have to uninstall it first:: | ||
|
||
pip uninstall pandas |
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.
Rather than raw pip, should you use python -m pip uninstall pandas
, which seems to be more consistent with the rest of the page?
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.
done
Thanks @phofl |
* DOC: Add note for building with setuptools * Update doc/source/development/contributing_environment.rst Co-authored-by: Thomas Li <[email protected]> * Update --------- Co-authored-by: Thomas Li <[email protected]>
* DOC: Add note for building with setuptools * Update doc/source/development/contributing_environment.rst Co-authored-by: Thomas Li <[email protected]> * Update --------- Co-authored-by: Thomas Li <[email protected]>
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.