bang kok pas install mysql client keterangnya mysqlclient-1.3.13-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform padahal wheel udah ke install
bang tanya.. ada error gini pass runserver setelah konfigurasi database di setting.py System check identified no issues (0 silenced). Unhandled exception in thread started by Traceback (most recent call last): File "C:\dev\django\Env\lib\site-packages\django\utils\autoreload.py", line 228, in wrapper fn(*args, **kwargs) File "C:\dev\django\Env\lib\site-packages\django\core\management\commands unserver.py", line 127, in inner_run self.check_migrations() File "C:\dev\django\Env\lib\site-packages\django\core\management\base.py", line 422, in check_migrations executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS]) File "C:\dev\django\Env\lib\site-packages\django\db\migrations\executor.py", line 20, in __init__ self.loader = MigrationLoader(self.connection) File "C:\dev\django\Env\lib\site-packages\django\db\migrations\loader.py", line 52, in __init__ self.build_graph() File "C:\dev\django\Env\lib\site-packages\django\db\migrations\loader.py", line 210, in build_graph self.applied_migrations = recorder.applied_migrations() File "C:\dev\django\Env\lib\site-packages\django\db\migrations ecorder.py", line 65, in applied_migrations self.ensure_schema() File "C:\dev\django\Env\lib\site-packages\django\db\migrations ecorder.py", line 52, in ensure_schema if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()): File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 254, in cursor return self._cursor() File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 229, in _cursor self.ensure_connection() File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 213, in ensure_connection self.connect() File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 189, in connect self.connection = self.get_new_connection(conn_params) File "C:\dev\django\Env\lib\site-packages\django\db\backends\mysql\base.py", line 276, in get_new_connection conn.encoders[SafeBytes] = conn.encoders[bytes] KeyError: gimana bang ?
bang sy sdh download sesuai versi python tp error saat install ket " Could not find a version that satisfies the requirement mysqlclient-1.3.13-cp36-cp36m-win32 (from versions: ) No matching distribution found for mysqlclient-1.3.13-cp36-cp36m-win32" mhn bantuan bang.... makasih
bang pukis, kok pas pip install mysqlclient ada warning "this file is not a supported wheel on this platform". padahal python di pc udah ver 3.6 dan windows 64x. mohon pencerahannya bang
Bang ini kenapa yah? Saya udah tambahin path (C:\xampp\mysql\bin) di environment variables. Pas saya ketik mysql lewat cmd yang muncul: ERROR 1045 (28000): Access denied for user 'Andro Arta'@'localhost' (using password: NO) Thanks!
bang, ini saya ada error seperti : System check identified no issues (0 silenced). Unhandled exception in thread started by Traceback (most recent call last): File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\utils\autoreload.py", line 228, in wrapper fn(*args, **kwargs) File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\core\management\commands unserver.py", line 127, in inner_run self.check_migrations() File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\core\management\base.py", line 422, in check_migrations executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS]) File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations\executor.py", line 20, in __init__ self.loader = MigrationLoader(self.connection) File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations\loader.py", line 52, in __init__ self.build_graph() File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations\loader.py", line 210, in build_graph self.applied_migrations = recorder.applied_migrations() File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations ecorder.py", line 65, in applied_migrations self.ensure_schema() File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations ecorder.py", line 52, in ensure_schema if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()): File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 254, in cursor return self._cursor() File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 229, in _cursor self.ensure_connection() File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 213, in ensure_connection self.connect() File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 189, in connect self.connection = self.get_new_connection(conn_params) File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\mysql\base.py", line 276, in get_new_connection conn.encoders[SafeBytes] = conn.encoders[bytes] KeyError: untuk pip list nya : Package Version ----------- ------- Django 1.11.18 mysqlclient 1.4.1 pip 19.0.1 pytz 2018.9 setuptools 40.6.2 wheel 0.32.3 settingsnya : DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'dJango_db', 'USER': 'root', 'PASSWORD': '', 'HOST': 'localhost', 'PORT': '3306', } } mysql connector dan mysqlclient yang 32 bit saya install bang, dan versi python nya 3.7.2, kira kira apa masalahnya ya bang ? mohon bantuannya
Attempting to start MySQL app... Status change detected: running Status change detected: stopped Error: MySQL shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues If you need more help, copy and post this entire log window on the forums Bang kok punya saya mysqlnya error pas jalanin xampp control panel
thanks but i have a problem. my python version: 3.7.2. i have this error: mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform. i have already wheel installed
make sure your python 32 -bit or 64-bit, check this site--> discuss.pytorch.org/t/cannot-install-due-to-not-a-supported-wheel-on-this-platform-on-windows/17689/5
Even I do not understand your language, but man... that helped me a lot, amazing and thanks!
I did not understand a single word that you spoke, but it worked. Many thanks.
Hahaha no worries bro, I am Indonesian thou. Thanks for watching :)
qweren juga nih bule
TERIMA KASIH BOSS!
INI SANGAT MEMBANTU!
ANDA JENIUS!!!
baru sempet lanjut belajar django nih bang
bang kok pas install mysql client keterangnya mysqlclient-1.3.13-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform padahal wheel udah ke install
sama saya menggunakan 3.7
mungkin python mu 32-bit bro
coba cek di cmd .. ketik "python" nnti keluar semua informasi ttg python yg ada di kompi agan
pake yg 32 bro
Bedanya dngn yg non xampp apa bang
kalo mau koneksi ke db yang sudah ada gimana ya?
karena table udah ada jadi kalo migrate malah 2 kali kerja.
mohon pencerahannya hehe
maaf apa harus mysql connector c ?,
kalau misal menggunakan yang connector j atau yang lain bagaimana?
bang tanya.. ada error gini pass runserver setelah konfigurasi database di setting.py
System check identified no issues (0 silenced).
Unhandled exception in thread started by
Traceback (most recent call last):
File "C:\dev\django\Env\lib\site-packages\django\utils\autoreload.py", line 228, in wrapper
fn(*args, **kwargs)
File "C:\dev\django\Env\lib\site-packages\django\core\management\commands
unserver.py", line 127, in inner_run
self.check_migrations()
File "C:\dev\django\Env\lib\site-packages\django\core\management\base.py", line 422, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "C:\dev\django\Env\lib\site-packages\django\db\migrations\executor.py", line 20, in __init__
self.loader = MigrationLoader(self.connection)
File "C:\dev\django\Env\lib\site-packages\django\db\migrations\loader.py", line 52, in __init__
self.build_graph()
File "C:\dev\django\Env\lib\site-packages\django\db\migrations\loader.py", line 210, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "C:\dev\django\Env\lib\site-packages\django\db\migrations
ecorder.py", line 65, in applied_migrations
self.ensure_schema()
File "C:\dev\django\Env\lib\site-packages\django\db\migrations
ecorder.py", line 52, in ensure_schema
if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):
File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 254, in cursor
return self._cursor()
File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 229, in _cursor
self.ensure_connection()
File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 213, in ensure_connection
self.connect()
File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 189, in connect
self.connection = self.get_new_connection(conn_params)
File "C:\dev\django\Env\lib\site-packages\django\db\backends\mysql\base.py", line 276, in get_new_connection
conn.encoders[SafeBytes] = conn.encoders[bytes]
KeyError:
gimana bang ?
bang sy sdh download sesuai versi python tp error saat install ket " Could not find a version that satisfies the requirement mysqlclient-1.3.13-cp36-cp36m-win32 (from versions: )
No matching distribution found for mysqlclient-1.3.13-cp36-cp36m-win32" mhn bantuan bang.... makasih
Bedanya dengan yang tidak make XAMP apa ya?
apakah cuman tampilan web-based buat sisfo databasenya saja?
kak, bagaimana cara menggunakan database yang sudah di buat di Mysql?
bang pukis, kok pas pip install mysqlclient ada warning "this file is not a supported wheel on this platform". padahal python di pc udah ver 3.6 dan windows 64x. mohon pencerahannya bang
Coba install dulu wheel nya pakai pip install wheel
coba pake ini bang "pip install mysql-python" , soalnya sy punya problem yg sama, dan sy pake cara ini, alhamdulillah lancar
Kang Pukis, yg kita download dan install xampp 32bit atau 64bit ? Atau mana saja bisa ?
Bang ini kenapa yah?
Saya udah tambahin path (C:\xampp\mysql\bin) di environment variables. Pas saya ketik mysql lewat cmd yang muncul:
ERROR 1045 (28000): Access denied for user 'Andro Arta'@'localhost' (using password: NO)
Thanks!
sama bang , kita harus login dulu , mysql -u -p
bang, ini saya ada error seperti :
System check identified no issues (0 silenced).
Unhandled exception in thread started by
Traceback (most recent call last):
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\utils\autoreload.py", line 228, in wrapper
fn(*args, **kwargs)
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\core\management\commands
unserver.py", line 127, in inner_run
self.check_migrations()
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\core\management\base.py", line 422, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations\executor.py", line 20, in __init__
self.loader = MigrationLoader(self.connection)
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations\loader.py", line 52, in __init__
self.build_graph()
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations\loader.py", line 210, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations
ecorder.py", line 65, in applied_migrations
self.ensure_schema()
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations
ecorder.py", line 52, in ensure_schema
if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 254, in cursor
return self._cursor()
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 229, in _cursor
self.ensure_connection()
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 213, in ensure_connection
self.connect()
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 189, in connect
self.connection = self.get_new_connection(conn_params)
File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\mysql\base.py", line 276, in get_new_connection
conn.encoders[SafeBytes] = conn.encoders[bytes]
KeyError:
untuk pip list nya :
Package Version
----------- -------
Django 1.11.18
mysqlclient 1.4.1
pip 19.0.1
pytz 2018.9
setuptools 40.6.2
wheel 0.32.3
settingsnya :
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'dJango_db',
'USER': 'root',
'PASSWORD': '',
'HOST': 'localhost',
'PORT': '3306',
}
}
mysql connector dan mysqlclient yang 32 bit saya install bang, dan versi python nya 3.7.2, kira kira apa masalahnya ya bang ?
mohon bantuannya
Mysql connector C nya kok saya gada yaa?:/
Bg pukis, setup ini berlaku juga nggak kalau kita pakai flask???
Bang setelah tak koneksikan ke mysql
Malah error waktu di run
Pesan nya
System check identified no issues
itu no issues berarti normal bro
Attempting to start MySQL app...
Status change detected: running
Status change detected: stopped
Error: MySQL shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums
Bang kok punya saya mysqlnya error pas jalanin xampp control panel
thanks but i have a problem. my python version: 3.7.2.
i have this error: mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.
i have already wheel installed
make sure your python 32 -bit or 64-bit,
check this site--> discuss.pytorch.org/t/cannot-install-due-to-not-a-supported-wheel-on-this-platform-on-windows/17689/5
You have to use the other one: multiprocess‑0.70.7‑cp37‑cp37m‑win32.whl
Not the amd one.
@@etbelo2522 thanks broo !!!
tabel di databsenya cuma ada migration doang kak,, gimaana ya?
hehe udah bisa kak,, ternyata kelewat di migrate nya
Done.
Mas, bisa tuk telegram jg?
thanks, it solved my problem "mysql.h" not found
sure, no worries bro..., and Im sorry the tutorial is in bahasa not in english...:)
Well done 👌 thanks a lot
Awesome !!! Thanks a lot. helped me a lot.
No worries bro
Cheers mate
Não seria rodar apenas:
pip install --only-binary :all: mysqlclient
I am sorry, I dont understand bro, could you comment in english? 😅
@@KelasTerbuka wkwkwkw