Cuda Runtime Error cudaErrorNoDevice: no CUDA-capable device is detected

I am using Chainer, Cupy for CUDA 8.0 . I am trying to train machine learning model using python3.5 script, but I got this error: cupy.cuda.runtime.CUDARuntimeError: cudaErrorNoDevice: no...

Module 'tensorflow' has no attribute 'contrib'

I am trying to train my own custom object detector using Tensorflow Object-Detection-API I installed the tensorflow using "pip install tensorflow" in my google compute engine. Then I followed all...

"AssertionError: Torch not compiled with CUDA enabled" in spite upgrading to CUDA version

I figured out this is a popular question, but still I couldn't find a solution for that. I'm trying to run a simple repo Here which uses PyTorch. Although I just upgraded my Pytorch to the latest...

HDF5 library version error - HDF5 ver 1.10.4

I'm trying to import some packages with spyder (OS x64), Anaconda and pyton 3.x The error is pretty famous in the internet. The solution proposed is to match the version of the library 1.10.5 with...

ubuntu, python, ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

I am running some sample code to test out the installation of Tensorflow for running on a GPU. Python works fine and I can import Tensorflow without any errors. However, when I try to load a...

ERROR: You must give at least one requirement to install -- when running: pip install --upgrade --no-binary hdbscan

I am trying to install hdbscan in my PC which runs Windows 10 and has installed Python 3.6. My first attempt failed: (base) C:\WINDOWS\system32>pip install hdbscan --user Collecting hdbscan ...

Intel OpenVINO: Error Verifying Installation

I'm new to Intel OpenVINO, I've downloaded the Installer and Followed their Installation Guide:...

Where to find this directory '/tmp/contents773511482/deps/0/python/bin for deploying flask python app in cloud foundry?

Where can i find this '/tmp/contents773511482/deps/0/python/bin which tells me to add path following while deploying app in cloud foundry. Is location incorrect for those ? [ERR] The script...

ImportError: cannot import name 'rcParams' from 'matplotlib'

I have tried to uninstall and reinstall matplotlib in my tf-gpu enviornment I made but I keep getting this error: ImportError: cannot import name 'rcParams' from 'matplotlib' This is the entire...

django.db.utils.InterfaceError: (0, '') when using django model

I have django.db.utils.InterfaceError: (0, '') error on django. I googled around and found this error is related with django mysql connection. What I have done is just like this , from...

Deploy python app to Heroku "Slug Size too large"

I'm trying to deploy a Streamlit app written in python to Heroku. My whole directory is 4.73 MB, where 4.68 MB is my ML model. My requirements.txt looks like...

error while use '' pip install torch-geometric '' ,ERROR: Failed building wheel for llvmlite

error while use '' pip install torch-geometric '' ,ERROR: Failed building wheel for llvmlite Dependence: windows VS studio 2017 python 3.5.2 tensorboard 1.8.0 absl-py ...

AttributeError: module 'tensorflow' has no attribute 'compat' when loading tf.compat.v1.train.SessionRunHook

I can see that this question has been asked before here tensorflow-has-no-attribute-compat but the answer given was to Microsoft Visual C++ 2015-2019 Redistributable (x64) It did not work for the...

Tensorflow cannot find DLL, but DLL directory is in PATH

I am running a Python file inside a virtualenv. This Python file imports keras, which imports tensorflow. Running the file gives this error: (mnist)...

module 'tensorflow' has no attribute 'Session' cannot resolve

Please please please help me out here! I cannot resolve it! so... my python version is Python 3.5.6 and Anaconda version is Conda 4.8.3. I am working with Jupyter Notebook. I am working in...

I want to understand why this particular tensor flow warning is coming up...?

I think so that this could be affected both due to some intricacies in tensorflow-gpu package and tensorflow package package that's why I am getting this... I am just trying to train a normal...

Graph ops missing from the python registry

I am trying to run the example code from bertseq2seq/roberta24_bbc: import tensorflow.compat.v1 as tf import tensorflow_hub as hub import sentencepiece text_generator = hub.Module( ...

Trouble installing turbodbc

I am attempting to install turbodbc on my Ubuntu 20.10 machine. My specs are as follows: pip 20.2.4, Python 3.8.5 , gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0 I have attempted the solutions provided in...

Pipenv fails locking when installing TensorFlow 2.4.1

2021-02-06: I ended up with installing TensorFlow using pip. The original question is shown below. As I mentioned in the title, pipenv fails to lock when installing TensorFlow (ver. 2.4.1). I...

Im trying to build mediapipe on my jetson nano

So Im trying to build a mediapipe whl file for my jetson nano by following this guide https://github.com/jiuqiant/mediapipe_python_aarch64 I am successful on building it with my raspberry pi 4. By...

Error while Installing Packages from requirements.txt in python 3.9

when i run pip install -r requirements.txt i get ERROR: Could not find a version that satisfies the requirement cffi==1.14.0 (from versions: 0.1, 0.2, 0.2.1, 0.3, 0.4, 0.4.1, 0.4.2, 0.5, 0.6,...

tensorflow dependencies continuously gives me errors in colab during installation of deepspeech environment

when I run the following command on Google Colab !pip3 install --upgrade pip==20.0.2 wheel==0.34.2 setuptools==46.1.3 !pip3 install --upgrade --force-reinstall -e . Got an error ERROR: pip's...

AttributeError: module 'tensorflow_core.compat.v2' has no attribute '__internal__' (Worked a week ago?)

Image: Error Message and Script I am working on Google Colab and do not have much experience with Python. The image above has code that is from https://github.com/smousavi05/EQTransformer The...

Cannot import installed packages in Jupyter Notebook using Miniforge Conda Environment on M1 Mac

I have a M1 Mac (Apple Silicon, ARM) and I followed the instructions given by Apple here to install Miniforge, create a conda environment called tf_env and install Tensorflow on it. I wanted to...

(Solved) Error "Numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject."

I got this error file while following this tutorial: https://www.youtube.com/watch?v=yqkISICHH-U So far I have created a training dataset to feed into Tensorflow. I am using transfer learning on...

ImportError: Could not find the DLL(s) 'msvcp140.dll or msvcp140_1.dll'. Even when the files are located in the %PATH% directory

I receive the following error when importing tensorflow (base) PS C:\Users\Rostyslav\GIt\GNN-GCP> python run_model.py --train --save Traceback (most recent call last): File "run_model.py", line...

Tensorflow Object Detection Api M1 Macbook Conflict Error

Machine: MacBook Air M1 2020 OS: macOs BigSur 11.4 Python version of venv: Python 3.8.6 Tensorflow version: ATF Apple Tensorflow 0.1a3 Pip version: 21.2.4 I have installed Tensorflow from...

Python: matplotlib.pyplot.show() is not showing the plot

import matplotlib.pyplot as plt plt.plot([1,2,3]) plt.show() input("Press enter to continue...") If I run the script above within VS Code, or even within command prompt, the plot canvas only...

Getting DLL error when running tensorflow/keras program on python gpu 3.8

I am trying to run my simple AI program but I keep getting this DLL error: ImportError: Could not find the DLL(s) 'msvcp140_1.dll'. TensorFlow requires that these DLLs be installed in a...

pycharm error happening at random time: Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

I am working with pycharm community on a tensorflow model with keras backend, sometimes this error appears in a random time, specially after I call pyplot and close the window: Exception ignored...