Need to install pymysql without using pip [duplicate]












-1















This question already has an answer here:




  • installing python packages without internet and using source code as .tar.gz and .whl

    4 answers




On my job, I need to install pymysql on several secured servers. They do not allow internet access, so I can not use pip. I did download the pymysql egg, but this requires cryprography. So I downloaded the cryptography wheel, but when running pip install on that it tries to get additional data from the web.
I'm using python3.7. Any way to get the whole pymysql package including all dependencies off line?










share|improve this question













marked as duplicate by RvdK, Community Nov 21 '18 at 9:16


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















    -1















    This question already has an answer here:




    • installing python packages without internet and using source code as .tar.gz and .whl

      4 answers




    On my job, I need to install pymysql on several secured servers. They do not allow internet access, so I can not use pip. I did download the pymysql egg, but this requires cryprography. So I downloaded the cryptography wheel, but when running pip install on that it tries to get additional data from the web.
    I'm using python3.7. Any way to get the whole pymysql package including all dependencies off line?










    share|improve this question













    marked as duplicate by RvdK, Community Nov 21 '18 at 9:16


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















      -1












      -1








      -1








      This question already has an answer here:




      • installing python packages without internet and using source code as .tar.gz and .whl

        4 answers




      On my job, I need to install pymysql on several secured servers. They do not allow internet access, so I can not use pip. I did download the pymysql egg, but this requires cryprography. So I downloaded the cryptography wheel, but when running pip install on that it tries to get additional data from the web.
      I'm using python3.7. Any way to get the whole pymysql package including all dependencies off line?










      share|improve this question














      This question already has an answer here:




      • installing python packages without internet and using source code as .tar.gz and .whl

        4 answers




      On my job, I need to install pymysql on several secured servers. They do not allow internet access, so I can not use pip. I did download the pymysql egg, but this requires cryprography. So I downloaded the cryptography wheel, but when running pip install on that it tries to get additional data from the web.
      I'm using python3.7. Any way to get the whole pymysql package including all dependencies off line?





      This question already has an answer here:




      • installing python packages without internet and using source code as .tar.gz and .whl

        4 answers








      python pymysql






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 20 '18 at 15:18









      zappfingerzappfinger

      4727




      4727




      marked as duplicate by RvdK, Community Nov 21 '18 at 9:16


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by RvdK, Community Nov 21 '18 at 9:16


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


























          3 Answers
          3






          active

          oldest

          votes


















          0














          install pipmysql without internet




          To install pmyssql on a system with no internet connectivity, you first download pymssql to a system.
          Follow these steps:



          1) Download the Windows installer for the Python version and processor
          that is compatible with your system from the following website:
          https://pypi.python.org/pypi/pymssql/2.1.1#downloads.



          2) Copy the file to the CA Strong Authentication or CA Risk
          Authentication server.



          3) Run the installer and follow the prompts.







          share|improve this answer























          • Please do not answer with only a link, they should never be the only piece of information in your answer. You should at the very least quote the relevant section as part of your answer.
            – Idlehands
            Nov 20 '18 at 15:23












          • Your answer contains information specific related to the company of your link. The CA server part.
            – RvdK
            Nov 20 '18 at 15:29



















          0














          @zappfinger. I would suggest you download your main package and its dependencies to a local directory. Then use pip install -r requirements.txt to perform your task. For more information read link and have a look at pip help install. You should normally get your work done after carefully consulting all these help.






          share|improve this answer





























            0














            With the wheel's for both pymysql and cryptography in the same folder on your server, try:



            pip install --find-links DIR --no-index pymysql


            --find-links and --no-index will force pip to resolve the dependency only using the files in the directory DIR.



            See:



            https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages



            installing python packages without internet and using source code as .tar.gz and .whl



            And check out: https://pythonhosted.org/Basket/ for a way to put together a "basket" of packages w/ dependencies for this type of situation.






            share|improve this answer























            • I tried you suggestion, but I got the following output: C:UsersrvbemmelenPyMySQL-0.9.2>c:Python37python -m pip install --find-links --no-index pymysql Looking in links: --no-index Requirement already satisfied: pymysql in c:usersrvbemmelenpymysql-0.9.2 (0.9 .2) Collecting cryptography (from pymysql) Url '--no-index' is ignored. It is either a non-existing path or lacks a speci fic scheme. Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))....(some socket error) So it seems it is still trying to get some more, will have look at basket.
              – zappfinger
              Nov 21 '18 at 7:54










            • Ah, --find-links needs to actually included the specified directory, I'll edit to reflect that.
              – Hal Jarrett
              Nov 21 '18 at 15:21


















            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            install pipmysql without internet




            To install pmyssql on a system with no internet connectivity, you first download pymssql to a system.
            Follow these steps:



            1) Download the Windows installer for the Python version and processor
            that is compatible with your system from the following website:
            https://pypi.python.org/pypi/pymssql/2.1.1#downloads.



            2) Copy the file to the CA Strong Authentication or CA Risk
            Authentication server.



            3) Run the installer and follow the prompts.







            share|improve this answer























            • Please do not answer with only a link, they should never be the only piece of information in your answer. You should at the very least quote the relevant section as part of your answer.
              – Idlehands
              Nov 20 '18 at 15:23












            • Your answer contains information specific related to the company of your link. The CA server part.
              – RvdK
              Nov 20 '18 at 15:29
















            0














            install pipmysql without internet




            To install pmyssql on a system with no internet connectivity, you first download pymssql to a system.
            Follow these steps:



            1) Download the Windows installer for the Python version and processor
            that is compatible with your system from the following website:
            https://pypi.python.org/pypi/pymssql/2.1.1#downloads.



            2) Copy the file to the CA Strong Authentication or CA Risk
            Authentication server.



            3) Run the installer and follow the prompts.







            share|improve this answer























            • Please do not answer with only a link, they should never be the only piece of information in your answer. You should at the very least quote the relevant section as part of your answer.
              – Idlehands
              Nov 20 '18 at 15:23












            • Your answer contains information specific related to the company of your link. The CA server part.
              – RvdK
              Nov 20 '18 at 15:29














            0












            0








            0






            install pipmysql without internet




            To install pmyssql on a system with no internet connectivity, you first download pymssql to a system.
            Follow these steps:



            1) Download the Windows installer for the Python version and processor
            that is compatible with your system from the following website:
            https://pypi.python.org/pypi/pymssql/2.1.1#downloads.



            2) Copy the file to the CA Strong Authentication or CA Risk
            Authentication server.



            3) Run the installer and follow the prompts.







            share|improve this answer














            install pipmysql without internet




            To install pmyssql on a system with no internet connectivity, you first download pymssql to a system.
            Follow these steps:



            1) Download the Windows installer for the Python version and processor
            that is compatible with your system from the following website:
            https://pypi.python.org/pypi/pymssql/2.1.1#downloads.



            2) Copy the file to the CA Strong Authentication or CA Risk
            Authentication server.



            3) Run the installer and follow the prompts.








            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 20 '18 at 15:31

























            answered Nov 20 '18 at 15:22









            Elad ShamailovElad Shamailov

            343




            343












            • Please do not answer with only a link, they should never be the only piece of information in your answer. You should at the very least quote the relevant section as part of your answer.
              – Idlehands
              Nov 20 '18 at 15:23












            • Your answer contains information specific related to the company of your link. The CA server part.
              – RvdK
              Nov 20 '18 at 15:29


















            • Please do not answer with only a link, they should never be the only piece of information in your answer. You should at the very least quote the relevant section as part of your answer.
              – Idlehands
              Nov 20 '18 at 15:23












            • Your answer contains information specific related to the company of your link. The CA server part.
              – RvdK
              Nov 20 '18 at 15:29
















            Please do not answer with only a link, they should never be the only piece of information in your answer. You should at the very least quote the relevant section as part of your answer.
            – Idlehands
            Nov 20 '18 at 15:23






            Please do not answer with only a link, they should never be the only piece of information in your answer. You should at the very least quote the relevant section as part of your answer.
            – Idlehands
            Nov 20 '18 at 15:23














            Your answer contains information specific related to the company of your link. The CA server part.
            – RvdK
            Nov 20 '18 at 15:29




            Your answer contains information specific related to the company of your link. The CA server part.
            – RvdK
            Nov 20 '18 at 15:29













            0














            @zappfinger. I would suggest you download your main package and its dependencies to a local directory. Then use pip install -r requirements.txt to perform your task. For more information read link and have a look at pip help install. You should normally get your work done after carefully consulting all these help.






            share|improve this answer


























              0














              @zappfinger. I would suggest you download your main package and its dependencies to a local directory. Then use pip install -r requirements.txt to perform your task. For more information read link and have a look at pip help install. You should normally get your work done after carefully consulting all these help.






              share|improve this answer
























                0












                0








                0






                @zappfinger. I would suggest you download your main package and its dependencies to a local directory. Then use pip install -r requirements.txt to perform your task. For more information read link and have a look at pip help install. You should normally get your work done after carefully consulting all these help.






                share|improve this answer












                @zappfinger. I would suggest you download your main package and its dependencies to a local directory. Then use pip install -r requirements.txt to perform your task. For more information read link and have a look at pip help install. You should normally get your work done after carefully consulting all these help.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 20 '18 at 15:41









                eapetchoeapetcho

                42927




                42927























                    0














                    With the wheel's for both pymysql and cryptography in the same folder on your server, try:



                    pip install --find-links DIR --no-index pymysql


                    --find-links and --no-index will force pip to resolve the dependency only using the files in the directory DIR.



                    See:



                    https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages



                    installing python packages without internet and using source code as .tar.gz and .whl



                    And check out: https://pythonhosted.org/Basket/ for a way to put together a "basket" of packages w/ dependencies for this type of situation.






                    share|improve this answer























                    • I tried you suggestion, but I got the following output: C:UsersrvbemmelenPyMySQL-0.9.2>c:Python37python -m pip install --find-links --no-index pymysql Looking in links: --no-index Requirement already satisfied: pymysql in c:usersrvbemmelenpymysql-0.9.2 (0.9 .2) Collecting cryptography (from pymysql) Url '--no-index' is ignored. It is either a non-existing path or lacks a speci fic scheme. Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))....(some socket error) So it seems it is still trying to get some more, will have look at basket.
                      – zappfinger
                      Nov 21 '18 at 7:54










                    • Ah, --find-links needs to actually included the specified directory, I'll edit to reflect that.
                      – Hal Jarrett
                      Nov 21 '18 at 15:21
















                    0














                    With the wheel's for both pymysql and cryptography in the same folder on your server, try:



                    pip install --find-links DIR --no-index pymysql


                    --find-links and --no-index will force pip to resolve the dependency only using the files in the directory DIR.



                    See:



                    https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages



                    installing python packages without internet and using source code as .tar.gz and .whl



                    And check out: https://pythonhosted.org/Basket/ for a way to put together a "basket" of packages w/ dependencies for this type of situation.






                    share|improve this answer























                    • I tried you suggestion, but I got the following output: C:UsersrvbemmelenPyMySQL-0.9.2>c:Python37python -m pip install --find-links --no-index pymysql Looking in links: --no-index Requirement already satisfied: pymysql in c:usersrvbemmelenpymysql-0.9.2 (0.9 .2) Collecting cryptography (from pymysql) Url '--no-index' is ignored. It is either a non-existing path or lacks a speci fic scheme. Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))....(some socket error) So it seems it is still trying to get some more, will have look at basket.
                      – zappfinger
                      Nov 21 '18 at 7:54










                    • Ah, --find-links needs to actually included the specified directory, I'll edit to reflect that.
                      – Hal Jarrett
                      Nov 21 '18 at 15:21














                    0












                    0








                    0






                    With the wheel's for both pymysql and cryptography in the same folder on your server, try:



                    pip install --find-links DIR --no-index pymysql


                    --find-links and --no-index will force pip to resolve the dependency only using the files in the directory DIR.



                    See:



                    https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages



                    installing python packages without internet and using source code as .tar.gz and .whl



                    And check out: https://pythonhosted.org/Basket/ for a way to put together a "basket" of packages w/ dependencies for this type of situation.






                    share|improve this answer














                    With the wheel's for both pymysql and cryptography in the same folder on your server, try:



                    pip install --find-links DIR --no-index pymysql


                    --find-links and --no-index will force pip to resolve the dependency only using the files in the directory DIR.



                    See:



                    https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages



                    installing python packages without internet and using source code as .tar.gz and .whl



                    And check out: https://pythonhosted.org/Basket/ for a way to put together a "basket" of packages w/ dependencies for this type of situation.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Nov 21 '18 at 15:23

























                    answered Nov 20 '18 at 15:40









                    Hal JarrettHal Jarrett

                    431211




                    431211












                    • I tried you suggestion, but I got the following output: C:UsersrvbemmelenPyMySQL-0.9.2>c:Python37python -m pip install --find-links --no-index pymysql Looking in links: --no-index Requirement already satisfied: pymysql in c:usersrvbemmelenpymysql-0.9.2 (0.9 .2) Collecting cryptography (from pymysql) Url '--no-index' is ignored. It is either a non-existing path or lacks a speci fic scheme. Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))....(some socket error) So it seems it is still trying to get some more, will have look at basket.
                      – zappfinger
                      Nov 21 '18 at 7:54










                    • Ah, --find-links needs to actually included the specified directory, I'll edit to reflect that.
                      – Hal Jarrett
                      Nov 21 '18 at 15:21


















                    • I tried you suggestion, but I got the following output: C:UsersrvbemmelenPyMySQL-0.9.2>c:Python37python -m pip install --find-links --no-index pymysql Looking in links: --no-index Requirement already satisfied: pymysql in c:usersrvbemmelenpymysql-0.9.2 (0.9 .2) Collecting cryptography (from pymysql) Url '--no-index' is ignored. It is either a non-existing path or lacks a speci fic scheme. Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))....(some socket error) So it seems it is still trying to get some more, will have look at basket.
                      – zappfinger
                      Nov 21 '18 at 7:54










                    • Ah, --find-links needs to actually included the specified directory, I'll edit to reflect that.
                      – Hal Jarrett
                      Nov 21 '18 at 15:21
















                    I tried you suggestion, but I got the following output: C:UsersrvbemmelenPyMySQL-0.9.2>c:Python37python -m pip install --find-links --no-index pymysql Looking in links: --no-index Requirement already satisfied: pymysql in c:usersrvbemmelenpymysql-0.9.2 (0.9 .2) Collecting cryptography (from pymysql) Url '--no-index' is ignored. It is either a non-existing path or lacks a speci fic scheme. Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))....(some socket error) So it seems it is still trying to get some more, will have look at basket.
                    – zappfinger
                    Nov 21 '18 at 7:54




                    I tried you suggestion, but I got the following output: C:UsersrvbemmelenPyMySQL-0.9.2>c:Python37python -m pip install --find-links --no-index pymysql Looking in links: --no-index Requirement already satisfied: pymysql in c:usersrvbemmelenpymysql-0.9.2 (0.9 .2) Collecting cryptography (from pymysql) Url '--no-index' is ignored. It is either a non-existing path or lacks a speci fic scheme. Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))....(some socket error) So it seems it is still trying to get some more, will have look at basket.
                    – zappfinger
                    Nov 21 '18 at 7:54












                    Ah, --find-links needs to actually included the specified directory, I'll edit to reflect that.
                    – Hal Jarrett
                    Nov 21 '18 at 15:21




                    Ah, --find-links needs to actually included the specified directory, I'll edit to reflect that.
                    – Hal Jarrett
                    Nov 21 '18 at 15:21



                    Popular posts from this blog

                    Paul Cézanne

                    UIScrollView CustomStickyHeader Resize height generates problems when scroll is too fast

                    Angular material date-picker (MatDatepicker) auto completes the date on focus out