Category : anaconda

I just migrated my Python environment to a new laptop and am having trouble launching Spider 5. I am using Python 3.7 and have tried to launch via Anaconda Navigator and the command prompt. Here is the error I get: (DS7331) C:UsersBNayd>spyder C:UsersBNaydanaconda3envsDS7331libsite-packagesspyderutilsimage_path_manager.py:46: UserWarning: The icon located in C:UsersBNaydanaconda3envsDS7331libsite-packagesspyderimagesdarkkite.svg is overriding the existing kite f’The ..

Read more

So I am trying to install tensorflow and I am getting an error. My question is not about that persay. I have found a very helpful answer whihc i think will solve my problem here: https://github.com/tensorflow/tensorflow/issues/20690 import tensorflow as tf Traceback (most recent call last): File "C:Usersangusanaconda3libsite-packagesIPythoncoreinteractiveshell.py", line 3437, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File ..

Read more

I have Anaconda with Python 3. I would like to install PyQt6. Through the Anaconda prompt and in the desired environment I tried: pip install PyQt6 However, when I try: from PyQt6.QtWidgets import QApplication, QLabel, QMainWindow I get: ModuleNotFoundError: No module named ‘PyQt6.QtWidgets’; ‘PyQt6’ is not a package I also checked through the Anaconda navigator, ..

Read more

import matplotlib import matplotlib.pyplot as plt import cv2 import sys import numpy as np import os faceCascade = cv2.CascadeClassifier(‘haarcascade_frontalface_default.xml’) eyeCascade= cv2.CascadeClassifier(‘haarcascade_eye.xml’) video_capture = cv2.VideoCapture(cv2.CAP_DSHOW) while True: # Capture frame-by-frame ret, frame = video_capture.read() faces = faceCascade.detectMultiScale(frame) cv2.imshow(‘Video’, frame) if cv2.waitKey(1) & 0xFF == ord(‘q’): break for (x, y, w, h) in faces: cv2.rectangle(frame, (x, y), ..

Read more

I have been trying to install dlib and face_recognition in anaconda and haven’t been able to do so. I did install visual studio and cmake and tried it. Still shows the below error ERROR: Command errored out with exit status 1: command: ‘C:Usersgautaanaconda3python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’C:UsersgautaAppDataLocalTemppip-install-rdfv1j3qdlib_bcbfbd93661e42b88d867f964c16a67bsetup.py’"’"’; __file__=’"’"’C:UsersgautaAppDataLocalTemppip-install-rdfv1j3qdlib_bcbfbd93661e42b88d867f964c16a67bsetup.py’"’"’;f=getattr(tokenize, ‘"’"’open’"’"’, open)(__file__);code=f.read().replace(‘"’"’rn’"’"’, ..

Read more

I have written an app using kivy and have include many other modules in the packages. I use anaconda venv –> python 3.8.8 ; after installing the PyInstaller I change the dir to the package destination and start to package it following the kivy doc : (py38) C:UsersPAUL>cd C:Anacondatensorflow-projectPackageWindows (py38) C:Anacondatensorflow-projectPackageWindows>python -m PyInstaller –name test ..

Read more

When I tried to open the train set titanic problem from kaggle, filename: train.csv, it gives this error everytime, though I think I did input everything correctly (And I don’t understand why it shows "Titanic rain.csv" in the error message instead of "Titanictrain.csv" : Error message: FileNotFoundError: [Errno 2] File E:Machine LearningKaggleTitanic rain.csv does not ..

Read more