How to organize 3rd-party libraries for Python?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I am new in Python. I want to install many 3rd-party libraries (I think they are also called packages?) like, for example, "AstroPy". But I am not sure where the new source code will be stored (I mean, the new ".py" text files that will be downloaded and will contain the Python functions of "AstroPy").
I would like to keep track of all the libraries that I will install. Is there any way to do that for Python?
I used to use IDL and when I want to install a library, I am used to simply download all the text files containing the IDL scripts and then store them in a folder like "/IDL/libraries". That way, I could easily see what I had and also easily uninstall them.
python programming source-code
add a comment |Â
up vote
2
down vote
favorite
I am new in Python. I want to install many 3rd-party libraries (I think they are also called packages?) like, for example, "AstroPy". But I am not sure where the new source code will be stored (I mean, the new ".py" text files that will be downloaded and will contain the Python functions of "AstroPy").
I would like to keep track of all the libraries that I will install. Is there any way to do that for Python?
I used to use IDL and when I want to install a library, I am used to simply download all the text files containing the IDL scripts and then store them in a folder like "/IDL/libraries". That way, I could easily see what I had and also easily uninstall them.
python programming source-code
Why not usepip
, the package manager for Python? It should already be installed along with recent versions of Python, but if not, you can install it as per pip.pypa.io/en/stable/installing
â Munir
Jan 30 at 23:04
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am new in Python. I want to install many 3rd-party libraries (I think they are also called packages?) like, for example, "AstroPy". But I am not sure where the new source code will be stored (I mean, the new ".py" text files that will be downloaded and will contain the Python functions of "AstroPy").
I would like to keep track of all the libraries that I will install. Is there any way to do that for Python?
I used to use IDL and when I want to install a library, I am used to simply download all the text files containing the IDL scripts and then store them in a folder like "/IDL/libraries". That way, I could easily see what I had and also easily uninstall them.
python programming source-code
I am new in Python. I want to install many 3rd-party libraries (I think they are also called packages?) like, for example, "AstroPy". But I am not sure where the new source code will be stored (I mean, the new ".py" text files that will be downloaded and will contain the Python functions of "AstroPy").
I would like to keep track of all the libraries that I will install. Is there any way to do that for Python?
I used to use IDL and when I want to install a library, I am used to simply download all the text files containing the IDL scripts and then store them in a folder like "/IDL/libraries". That way, I could easily see what I had and also easily uninstall them.
python programming source-code
asked Jan 30 at 22:01
Stefano
1112
1112
Why not usepip
, the package manager for Python? It should already be installed along with recent versions of Python, but if not, you can install it as per pip.pypa.io/en/stable/installing
â Munir
Jan 30 at 23:04
add a comment |Â
Why not usepip
, the package manager for Python? It should already be installed along with recent versions of Python, but if not, you can install it as per pip.pypa.io/en/stable/installing
â Munir
Jan 30 at 23:04
Why not use
pip
, the package manager for Python? It should already be installed along with recent versions of Python, but if not, you can install it as per pip.pypa.io/en/stable/installingâ Munir
Jan 30 at 23:04
Why not use
pip
, the package manager for Python? It should already be installed along with recent versions of Python, but if not, you can install it as per pip.pypa.io/en/stable/installingâ Munir
Jan 30 at 23:04
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
You can find the location of global site-packages (dist-packages that may have been installed via easy_install
or pip
, a Python package manager) by running:
python -m site
If the package was installed using pip
, you can find the location of a specific package (for example, name
) by running:
pip show name
Finally, per-user (local) site-packages can be found by running:
python -m site --user-site
You can find slightly more information about dist-packages versus site-packages on the Debian wiki page for Python.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You can find the location of global site-packages (dist-packages that may have been installed via easy_install
or pip
, a Python package manager) by running:
python -m site
If the package was installed using pip
, you can find the location of a specific package (for example, name
) by running:
pip show name
Finally, per-user (local) site-packages can be found by running:
python -m site --user-site
You can find slightly more information about dist-packages versus site-packages on the Debian wiki page for Python.
add a comment |Â
up vote
1
down vote
You can find the location of global site-packages (dist-packages that may have been installed via easy_install
or pip
, a Python package manager) by running:
python -m site
If the package was installed using pip
, you can find the location of a specific package (for example, name
) by running:
pip show name
Finally, per-user (local) site-packages can be found by running:
python -m site --user-site
You can find slightly more information about dist-packages versus site-packages on the Debian wiki page for Python.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You can find the location of global site-packages (dist-packages that may have been installed via easy_install
or pip
, a Python package manager) by running:
python -m site
If the package was installed using pip
, you can find the location of a specific package (for example, name
) by running:
pip show name
Finally, per-user (local) site-packages can be found by running:
python -m site --user-site
You can find slightly more information about dist-packages versus site-packages on the Debian wiki page for Python.
You can find the location of global site-packages (dist-packages that may have been installed via easy_install
or pip
, a Python package manager) by running:
python -m site
If the package was installed using pip
, you can find the location of a specific package (for example, name
) by running:
pip show name
Finally, per-user (local) site-packages can be found by running:
python -m site --user-site
You can find slightly more information about dist-packages versus site-packages on the Debian wiki page for Python.
answered Jan 30 at 23:33
aliceinpalth
760116
760116
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f420812%2fhow-to-organize-3rd-party-libraries-for-python%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Why not use
pip
, the package manager for Python? It should already be installed along with recent versions of Python, but if not, you can install it as per pip.pypa.io/en/stable/installingâ Munir
Jan 30 at 23:04