Hi!
If you don't have internet you will have to download the package from another computer where you have internet from the original repository (https://pypi.org/project/mysqlclient/#files) and move them with a USB or whatever you want to the offline computer.
And manually install the package. Some sources have a README file or any kind of instructions and others have a regular installation process. Normally you just go into the sources folder and type python setup.py install but you can follow those steps here: https://docs.python.org/2/install/ and read a bit more about it.
cheers,
El vie., 23 ago. 2019 a las 11:56, Amit Samanta (<amitsamanta46@gmail.com>) escribió:
Hi,--I am facing issue while downloading mysql clientHere i am using linux server and i do not have internet connectionAlso downloaded all the packages from https://www.pypi.orgWe have created user,password and database for django in a different mysql server 5.6Things i have done:First of all i do not have internet connection in linux server where i have installed djangoi am using python 3.6.8django 1.11dependencies -> pytz->sqlparsethen i started the server and it started.installed python3-devel and mysql-devel from rhel repoThen installed through pip3 install mysql-connector-python.whldependencies -> protobuf >=3.0.0->six >=1.9from setting.pyI configured the databasestried to runserverERROR:mysqldb consoleNow found no mysql clientthought install mysql client 5.6 from os level but no luckgot mysql client 1.4.4 in pypi but all in windows osgoogled and search many site but everywhere it is "pip install mysql client" but no internet.Please help! As now the goal is change django from sqllite3 to mysql.Thanks and RegardsAmit Samanta
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bb37fac6-f9a7-4c1b-b563-a7557222b6a4%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF6hzDOw282GC67M3S2U20CKXmNCdJn6703AVUrHDgm5eyV98A%40mail.gmail.com.
No comments:
Post a Comment