Categories
Development Linux Ubuntu

For any pip install SSL: CERTIFICATE_VERIFY_FAILED error

I am new to Ubuntu. Trying to setup python (for Ansible control system). As part of this setup I need to install xmltodict and markupsafe. I think I’m missing some configuration setup part. Env# Windows 10 with VirtualBox, on which Ubuntu 18.x vbox. pip –version (pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7) $ pip install xmltodict […]

Categories
Development Linux Ubuntu

Tkinter Installation Issue

user@Embedded-10:~/python_programs$ pip install Tkinter Collecting Tkinter Exception: Traceback (most recent call last): File “/usr/lib/python2.7/dist-packages/pip/basecommand.py”, line 215, in main status = self.run(options, args) File “/usr/lib/python2.7/dist-packages/pip/commands/install.py”, line 353, in run wb.build(autobuilding=True) File “/usr/lib/python2.7/dist-packages/pip/wheel.py”, line 749, in build self.requirement_set.prepare_files(self.finder) File “/usr/lib/python2.7/dist-packages/pip/req/req_set.py”, line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File “/usr/lib/python2.7/dist-packages/pip/req/req_set.py”, line 554, in _prepare_file require_hashes File “/usr/lib/python2.7/dist-packages/pip/req/req_install.py”, line 278, in […]

Categories
Development Linux Ubuntu

Tkinter Installation Issue

user@Embedded-10:~/python_programs$ pip install Tkinter Collecting Tkinter Exception: Traceback (most recent call last): File “/usr/lib/python2.7/dist-packages/pip/basecommand.py”, line 215, in main status = self.run(options, args) File “/usr/lib/python2.7/dist-packages/pip/commands/install.py”, line 353, in run wb.build(autobuilding=True) File “/usr/lib/python2.7/dist-packages/pip/wheel.py”, line 749, in build self.requirement_set.prepare_files(self.finder) File “/usr/lib/python2.7/dist-packages/pip/req/req_set.py”, line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File “/usr/lib/python2.7/dist-packages/pip/req/req_set.py”, line 554, in _prepare_file require_hashes File “/usr/lib/python2.7/dist-packages/pip/req/req_install.py”, line 278, in […]

Categories
Development Linux Python Windows

How to fix python3 instalation on linux mint

So I’ve been using linux mint mate for a while, and everything was working fine. So as I got a new notebook, I installed the new version of linux mint (19.2 – Tina) alongside the windows 10. Everything went right, I think. Now, I’m trying to get it ready for use, and it’s not working. […]

Categories
Development

h2o.init() and machine learning

when run h20.init() raise error like this: Checking whether there is an H2O instance running at http://localhost:54321 ….. not found. Attempting to start a local H2O server… ; Java HotSpot(TM) 64-Bit Server VM (build 13+33, mixed mode, sharing) Starting server from d:\python\lib\site-packages\h2o\backend\bin\h2o.jar Ice root: C:\Users\NIEFAN~1\AppData\Local\Temp\tmp4vq2d_7d JVM stdout: C:\Users\NIEFAN~1\AppData\Local\Temp\tmp4vq2d_7d\h2o_Niefangchao_started_from_python.out JVM stderr: C:\Users\NIEFAN~1\AppData\Local\Temp\tmp4vq2d_7d\h2o_Niefangchao_started_from_python.err Traceback (most recent call […]

Categories
Development

how to input updating DataFrame into sql or db in real time

I’ve already implemented what I want logic as DataFrame like the picture underneath this sentence I’m using sqlite3 by doing import in my idle but it doesn’t work since sqlite3 functions I thought its logic probably right but where is the wrong? and how to modify to perform what I want to get data from […]

Categories
Ask

KeyError: “The name ‘image_tensor:0’ refers to a Tensor which does not exist. The operation, ‘image_tensor’, does not exist in the graph.”

when i run this code https://github.com/ShreyAmbesh/Traffic-Rule-Violation-Detection-System: i found this error : Traceback (most recent call last): File “VehicleMoniter.py”, line 278, in <module> image_tensor = tf.get_default_graph().get_tensor_by_name(‘image_tensor:0’) File “C:\Users\Zakaria\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py”, line 3972, in get_tensor_by_name return self.as_graph_element(name, allow_tensor=True, allow_operation=False) File “C:\Users\Zakaria\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py”, line 3796, in as_graph_element return self._as_graph_element_locked(obj, allow_tensor, allow_operation) File “C:\Users\Zakaria\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py”, line 3838, in _as_graph_element_locked “graph.” % (repr(name), repr(op_name))) […]