Categories
Mastering Development

ValueError: Variable

I’m trying to implement a prediction of low birth rate using nengo and tensorflow with a SNN model.\ But, I got the following Value error (in Anaconda): Traceback (most recent call last): File "C:\Users\USER\NengoPRJ\nengo_lowbirth.py", line 95, in <module> sim.fit(train_data, {out_p: train_labels}, epochs=epochs) File "C:\ProgramData\Anaconda3\envs\tf210\lib\site-packages\nengo\utils\magic.py", line 181, in __call__ return self.wrapper(self.__wrapped__, self.instance, args, kwargs) File "C:\ProgramData\Anaconda3\envs\tf210\lib\site-packages\nengo_dl\simulator.py", […]

Categories
Linux Mastering Development Ubuntu

Applications missing after “fsck”

I had an error on booting which left [initramfs] on the screen, after checking using another computer I ran the fsck as recommended, itallowed me to use the recovery mode on rebooting. However the Sofware updater, and others from the System menu will not run. I can update from the CLI. I read it might […]

Categories
Mastering Development

Not able to use tensorflow and keras library in visual studio code

I am building a deep learning app, for that I need to import tensorflow and keras libraries in VSC but unfortunately, I couldn’t import it though I have installed tensorflow successfully. Also I have checked the package in virtual environment(pip list), it is there. I have tried almost everything but i haven’t found the solution. […]

Categories
Linux Mastering Development Ubuntu

Traceback (most recent call last)…. In Wifite2 , Help me pls

I download and fix all the errors that the wifite gave me but now when I run it it gives me this error [!] Conflicting processes: NetworkManager (PID 478), wpa_supplicant (PID 910) [!] If you have problems: kill -9 PID or re-run wifite with –kill [+] Checking airmon-ng… [!] airmon-ng did not find any wireless […]

Categories
User Help

Python import error on startup of Autodocktools

I am trying to start Autodocktools from the command line on Ubuntu 18.04.4 which gives the following error: Run ADT from /usr/lib/python2.7/dist-packages/AutoDockTools Traceback (most recent call last): File “/usr/lib/python2.7/dist-packages/AutoDockTools/__init__.py”, line 429, in runADT from Pmv.moleculeViewer import MoleculeViewer File “/usr/lib/python2.7/dist-packages/Pmv/moleculeViewer.py”, line 19, in <module> from DejaVu.Geom import Geom File “/usr/lib/python2.7/dist-packages/DejaVu/__init__.py”, line 201, in <module> from Viewer […]

Categories
Linux Mastering Development Ubuntu

airmon-ng / airodump-ng is not detecting any wireless devices

I am using ubuntu in vmware and for using airmon-ng, I already download it from terminal. But when I run it it says root@DESKTOP-SIVJTCS:/home/show# airmon-ng PHY Interface Driver Chipset so it doesnt show any interfaces name then when i run ifconfig and finding my interface name i run on terminal it says root@DESKTOP-SIVJTCS:/home/show# airmon-ng start […]

Categories
Mastering Development

run_until_complete fails even after loop has been stopped

Im trying to write a SIGTERM-handler that will have my run_forever()-loop Stop accepting new tasks. Complete running tasks. Shutdown. Here is a learning-demo I wrote: import asyncio import signal import logging logging.basicConfig(level=logging.INFO, format=’%(asctime)s %(levelname)s [%(name)s]: %(message)s’, datefmt=’%H:%M:%S’) _log = logging.getLogger(__name__) class Looper: def __init__(self, loop): self._loop = loop self._shutdown = False signal.signal(signal.SIGINT, self._exit) signal.signal(signal.SIGTERM, self._exit) […]

Categories
Mastering Development

how to build python with node-gyp?

I’ve seen the official tutorial as well as this one showing how to build python from source and edit it with visual studio etc., but how do I build it with node-gyp to use it as a native application in node? For example, in the tutorial, they tell you to download the source code, and […]

Categories
Mastering Development

Import TensorFlow not working ‘could not find dll ‘

When I installed TensorFlow using pip. It worked but when I run the code: import tensorflow as tf It showed me the error Traceback (most recent call last): File “c:\Users\User\Desktop\sanu\A programming\python\Python Progams\comparing\balance.py”, line 9, in <module> import tensorflow as tf File “C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\__init__.py”, line 101, in <module> from tensorflow_core import * File “C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\__init__.py”, line 40, in […]

Categories
Mastering Development

import tensorflow not working ‘could not find dll ‘

when i installed tensorflow using pip. It worked but when I run the code import tensorflow as tf It showed me the error Traceback (most recent call last): File “c:\Users\User\Desktop\sanu\A programming\python\Python Progams\comparing\balance.py”, line 9, in <module> import tensorflow as tf File “C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\__init__.py”, line 101, in <module> from tensorflow_core import * File “C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\__init__.py”, line 40, in […]