Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

after a fresh install using pip install apache-airflow, any attempts to run airflow end with a python import error: Traceback (most recent call last): File "/Users/*/env/bin/airflow", line 26, in <module> from airflow.bin.cli import CLIFactory File "/Users/*/env/lib/python3.7/site-packages/airflow/bin/cli.py", line 70, in <module> from airflow.www.app import (cached_app, ...

  • 0

The build of Sphinx docs on read-the-docs fails with the following error (complete log below): ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' (/home/docs/checkouts/readthedocs.org/user_builds/cascade-python/envs/latest/lib/python3.7/site-packages/pip/_internal/index/__init__.py) Did I do something wrong or is this a bug in read-the-docs? A local build of Sphinx docs runs fine. Complete ...

  • 0

I’ve been working on a Flask app for a few weeks. I finished it today and went to deploy it… and now it won’t launch. I haven’t added or removed any code so assume something has changed in the deployment process? Anyway, ...

  • 0

I have recently installed Docker Toolbox on my Windows 10 machine. However, whenever I run docker-compose up I get the following error message: File "site-packagesdockertransportnpipesocket.py", line 49, in connect pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specified.') docker-compose returned -1Note that I have C:Python27 and C:Python27Scripts in both ...

  • 0

I am getting TypeError: unhashable type: ‘slice’ when executing the below code for encoding categorical data in Python. Can anyone please help? # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd# Importing the dataset dataset = pd.read_csv('50_Startups.csv') y=dataset.iloc[:, 4] X=dataset.iloc[:, 0:4]# Encoding ...

  • 0

I am trying to use pytesseract in Python but I always end up with the following error: raise TesseractNotFoundError() pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your pathHowever, pytesseract and Tesseract are installed on my system. Example ...

  • 0

I am working in a virtual environment. I am able to import and work in pandas without any error but when I am trying to import pandas_datareader import pandas as pd import numpy as np import matplotlib.pyplot as plt import datetime as dt from matplotlib import ...

  • 0

Please help me with this error I have installed the tensorflow module on my server and below is it’s information [email protected]:~$ pip show tensorflow Name: tensorflow Version: 1.0.0 Summary: TensorFlow helps the tensors flow Home-page: http://tensorflow.org/ Author: Google Inc. Author-email: [email protected] License: Apache 2.0 Location: /home/other/15IT60R19/anaconda2/lib/python2.7/site-packages Requires: mock, numpy, protobuf, wheel, ...

  • 0

I am trying to read a .xlsx with pandas, but get the follwing error: data = pd.read_excel(low_memory=False, io="DataAnalysis1/temp1.xlsx").fillna(value=0)Traceback (most recent call last): File "/Users/Vineeth/PycharmProjects/DataAnalysis1/try1.py", line 9, in <module> data = pd.read_excel(low_memory=False, io="DataAnalysis1/temp1.xlsx").fillna(value=0) File "/Users/Vineeth/venv/lib/python2.7/site-packages/pandas/util/_decorators.py", line 118, in ...

close