"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...

Why do I receive 'RecursionError: maximum recursion depth exceeded' when compiling with py2app?

I am trying to turn my python program into a stand-alone app on my Mac (10.14.6) using the latest version of py2app. Every time I do, I receive a many errors saying that files could not be...

No module named 'matplotlib.artist'

I faced with this error No module named 'matplotlib.artist' here is the complete error: --------------------------------------------------------------------------- ModuleNotFoundError ...

Keras callback on_epoch_end throws error (Nonetype has no len())

I'm training a lot of neural networks using hyperopt at the moment. Sometimes it runs perfectly through, sometimes not and I don't understand why. It refers to the validation data, but that's...

Problem using mermaid.cli in Sphinx on Windows

I have a simple Sphinx project where I'd like to be able to render my Mermaid charts as png. To do so, I have installed the mermaid.cli via yarn, but I've not managed to get it to work. My...

error H13 on heroku on an dash application

import requests from bs4 import BeautifulSoup import pandas as pd import dash import dash_core_components as dcc import dash_html_components as html import...

How do I install the most recent Tensorflow (here: 2.2) on Windows when conda does not yet support it?

I have conda 4.8.3 and Python 3.7.4 on Windows 8.1. I have tf 2.0.0 installed in a conda environment. How do I upgrade to 2.2.x? Or, how do I just install 2.2.x in a conda environment? Edit 1: pip...

ModuleNotFoundError: No module named 'flake8'

here is the part of the files that are important for this question: . ├── .env ├── tox.ini ├── requirements-dev.txt └── tests/ ├── test_blocking.py └──...

virtualenv: pre-installed with packages on creating virtual environment

I created a virtual environment using command virtualenv env on my terminal. On using pip freeze > requirements.txt after activating the virtual environment, I was a bunch of packages...

Why does `conda list cudnn` have no output after `conda install pytorch torchvision cudatoolkit=10.2 -c pytorch` installation

*Please feel free to vote "Reopen" at the bottom of this question. The reason is that I have marked this as a duplicate although the answers there are not clear enough for this question.* As soon...

Jupyter Notebook not importing Geopandas

I try to import Geopandas on my Jupyter Notebook but it says that there is no module named geopandas. However, when I run !pip list it appears in the list so it must be installed in the...

Anaconda, unable to install last version of asammdf

I installed recently Anaconda and need to use asammdf. Standard was 5.8.0 installed, I need 5.21.0. Running the installer from https://anaconda.org/conda-forge/asammdf did not update the...

conda install -n base --revision 1 doesn't clean up pypi packages

I attempted cleaning up my base (mini)conda environment by installing revision 1 of the base environment. $ conda install -n base --revision 1 For reference, here is what revision 1 means in my...

Why do I get O365 module not found error?

I wanted to get Outlook calendar data but the module is not recognized, constantly giving the following error: ModuleNotFoundError: No module named 'O365' Right from the first line (from O365...

Error in importing module in make html in Sphinx Documentation

When I type make html, I got error about auto-summary failed to import the python module. sphinx-build -b html -d build/doctrees source build/html Running Sphinx v3.2.1 making output...

Import rasterio failed. Reason: image not found

I'm going to use rasterio in python. I downloaded rasterio via conda install -c conda-forge rasterio But I cannot import it due to the following import error. I've read some related questions and...

Importing the numpy C-extensions failed for embedded Python code

I seem to have a problem importing numpy only when trying to run my C++ code with embedded Python. The following code is just a dummy code that captures the problem. Python: from __future__ import...

Importing stix2, ModuleNotFoundError: No module named 'six.moves.collections_abc'

I have issues importing the stix2 library regardless of the code I have written. Following https://github.com/oasis-open/cti-python-stix2, I followed the installations instructions and...

Stable Baselines: DQN Not performing properly?

I have problem in using DQN for a diagonal line and sin wave as price fluctuation. When the price goes up, there will be a reward and it is colored as green in the chart. When the price goes down...

Removing and reinstalling Python-Sphinx on Windows

I am trying to use Python (3.8) and Sphinx (3.3.1) to build a documentation in HTML. However, the sphinx-build command gives me the following error: C:\Users\Me\Dropbox\Kuchen>sphinx-build -b html...

I have a ModuleNotFoundError: No module named 'Crypto'

Please need help When I try to run myfile.py it says, ModuleNotFoundError: No module named 'Crypto' ,but I already have the path for 'conda' and 'anaconda3' in my environment variables, I also...

It seems that scikit-learn has not been built correctly

I have been using Jupyter Notebook for my machine learning project. Before scikit-learn was working fine but eventually I installed pip install imblearn and pip install -U imbalanced-learn after...

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...

Invalid requirement

I converted the requirements of my project into a txt file with the method below. pip freeze > requirements.txt And I tried to load the generated txt file with the code below to test it, but I...

pip getting killed in Docker

I am building a Docker container based on python:3.7-slim-stretch (same problem also happens on python:3.7-slim-stretch), and it is getting Killed on pip install --no-cache-dir --verbose...

Updating packages in conda

I have a problem with updating packages in conda. The list of my installed packages is: # # Name Version Build Channel _anaconda_depends 2020.07 ...

This version of ChromeDriver only supports Chrome version 87 Current browser version is 90.0.4430.93

ChromeDriver is giving an error about its version being too low: This version of ChromeDriver only supports Chrome version 87 Current browser version is 90.0.4430.93. I've updated pip's packages...

NameError: name '_mysql' is not defined -- On airflow start in MacOSX

There are numbers of articles on the titled question but none of them worked for me. The detailed error is as follows: Traceback (most recent call last): File...

Docstrings are not included in Read the Docs Sphinx build

I built a Sphinx documentation and the build works well locally. My docstrings appear as shown below. When moving to readthedoc.io, I added a specific requirement file under docs/requirement.txt...