Questions tagged [anaconda3]

For questions specifically about version 3 of the Anaconda platform. Probably also add the [anaconda] tag to your question.

Anaconda is an Open Data Science platform powered by Python.

See the tag for details about Anaconda and the use of the tags related to it.

700 questions
-1
votes
1 answer

Data input problem #input() not enough values to unpack in Anaconda3

I currently use anaconda3. When I ran the code in anaconda below: n, m = map(int, input('insert : ').split()) I wanted to see the result below n, m = map(int, input('insert : ').split()) Then, I could put some datas next to the 'insert :'…
pineapple
  • 15
  • 3
-1
votes
1 answer

ModuleNotFound error in one jupyter notebook

I am facing this weird issue where I have a jupyter notebook which is giving me ModuleNotFound error on Library but I did not face same issue on other notebook. Path for notebook1 is C:\Users\Avinash…
-1
votes
1 answer

How to solve "AttributeError: 'NoneType' object has no attribute 'to_json'" problem?

I got "AttributeError: 'NoneType' object has no attribute 'to_json'" when I tried to make a function that would give output in JSON file using Jupyter notebook. Here the code: import json def ma2(request): request_json=json.loads(request) …
-1
votes
3 answers

“CSV file does not exist” for a filename in jupyter notebook

i have the following code.and i have the csv file located in the path but when i run the code it just says that the file dosent exist at all.i moved the code to diff locations and changed the path to the new one and i also changed the name of the…
Beryl Amend
  • 131
  • 1
  • 9
-1
votes
1 answer

python console - one instance does not recognise packages

I have been working on adding AWS data into Power BI using Python. I have the script that ingests it and it is working. My problem is that Power BI gives me an error. I troubleshoot the error and found something I reckon is the source of it. Just…
Kalenji
  • 401
  • 2
  • 19
  • 42
-1
votes
1 answer

JupyterLab not updates in Anaconda Navigator GUI

Goal Updating Jupiter Lab to it's newest/2.1.5/2.xyz version and have that updated version in my Anaconda Navigator GUI Setup macOS 10.12 Anaconda Navigator 1.9.12 (Updated to in the 1st step) Tried Solutions Updated Anaconda successfully to…
sogu
  • 2,738
  • 5
  • 31
  • 90
-1
votes
2 answers

Tabular Format not visible in Jupiter notebook

[The current Image of the csv file when I use panda to read it] I was compelled to delete a few files from the Anaconda folder in my laptop and now when I used anaconda Jupyter notebook to work on a ML problem and used panda to display and read the…
-1
votes
1 answer

No module named 'xmltodict'

I'm trying to convert an XML to JSON using 'xmltodict' My code: import xmltodict import json with open('ELT.xml') as inFh: with open('ELT.json','w') as outFh: json.dump(xmltodict.parse(inFh.read()), outFh) The error: import…
Kyle Marvin
  • 29
  • 1
  • 3
-2
votes
3 answers

The difference in appearance on Jupyter Notebook

I have just used Jupyter for the first time. I installed it through Anaconda and managed to change the Jupyter notebook theme to avoid using the default white theme. However, there was a slight difference between the appearance of my Jupyter and the…
-2
votes
1 answer

error identification (IndentationError: expected an indented block)

x= int (input("Enter a number : ")) if x>1: for f in range (2,x): if (x%f)==0: print (x, "is not a prime number ") print (f,"times",x//f,"is",x) break else : print (x, "is a prime number ") else: print (x,"is not a prime ") it says if…
-2
votes
1 answer

Import error when calling "import tensorflow" in conda environment

I am trying to import TensorFlow using my Conda environment. I received the ImportError message below. I tried to solve it by creating a new environment, installing TensorFlow 2, and trying with this new environment, but the error still…
Saja
  • 1
  • 1
-2
votes
1 answer

Uninstalled Anaconda now Powershell is Showing Error Everytime I Open It

I uninstalled Anaconda3 following all the steps of the official documentation, but now whenever I open PowerShell or Terminal I get this prompt- How do I remove it? It's really annoying.
-2
votes
3 answers

How can i write a function to create a list of indexes of selected characters in a string

I've been given a string and I need to create a function of a list containing the indexes of the spaces between the words.
-2
votes
1 answer

Unable to import linear regression from sklearn module

I am trying to import linear regression library from sklearn module using the syntax below with Jupyter notebook: from sklearn.linear_model import LinearRegression But I am getting the error below: ModuleNotFoundError: No module named…
-2
votes
1 answer

sum the elements of 2 NumPy arrays

import numpy as np n1=np.array([10,20,30,40,50,60]) n2=np.array([50,60,70,80]) np.sum([n1,n2]) ValueError Traceback (most recent call last) in 3…
1 2 3
46
47