Questions tagged [anaconda]

Anaconda is an Open Data Science platform powered by Python.

Filter by
Sorted by
Tagged with
0 votes
2 answers
23 views

NameError: name 'librosa' is not defined [closed]

i'm working on Arabic Speech Recognition using Wav2Vec XLSR model. While fine-tuning the model it gives the error shown in the picture below. i can't understand what's the problem with librosa it's ...
user avatar
1 vote
1 answer
77 views

Best practices when creating a virtual environment in Anaconda

I am absolutely confused due to the number of different ways and the abundance of articles explaining how to create a virtual environment in Anaconda. You could use ...
user avatar
  • 1,241
2 votes
0 answers
64 views

Does Anaconda does not yet support Python 3.9.x? [closed]

I have downloaded and installed Python 3.9.7 (the latest version to date) on my Windows. It is installed and working fine using command prompt or VS code. But Anaconda (I use Jupyter NB) still shows ...
user avatar
  • 131
0 votes
0 answers
323 views

Com posso resolver esse erro: TypeError: a bytes-like object is required, not '_io.BufferedReader'

msg: erro: TypeError: a bytes-like object is required, not '_io.BufferedReader' My code: import pickle with open(b'ModelosParaTrader/ModeloEurUsd.pkcls', 'rb') as modelo: lr = pickle.loads(modelo) lr
user avatar
0 votes
0 answers
27 views

Where does RStudio install Keras without Miniconda?

I have an existing Miniconda installation on my computer. On RStudio, I want to install Keras and so I ran the following lines ...
user avatar
1 vote
0 answers
35 views

anaconda change 'base' environment permanently to a different environment 'myenv' to startup at terminal openings [closed]

I would like to cahnge the 'base' install environemnt that inisiates when I start a terminal to an a diferent environment that i have created called 'myenv' anaconda evironment. I want that 'myenv' ...
user avatar
  • 145
0 votes
1 answer
3k views

Reading a json-file from an API, getting "AttributeError: 'Response' object has no attribute 'data' "error

Title says it all. Im trying to read a json file im accessing via an API. But when I try, I get the error: 'AttributeError: 'Response' object has no attribute 'data'...
user avatar
-1 votes
1 answer
111 views

How to block network access for conda/python environments?

How can I configure a virtual data science environment so that data science libraries from NumFocus do not contact external servers without explicit consent? After setting up a custom DNS I observed ...
user avatar
  • 151
-1 votes
1 answer
2k views

ImportError: cannot import name 'cv2' from 'cv2' [closed]

I'm using anaconda and installed OpenCV using conda-forge. conda install -c conda-forge opencv In my notebook I run this line of code ...
user avatar
0 votes
0 answers
28 views

Opencv installation problem

I tried to install opencv using cmake to work with gpu. After installation, I try to confirm installation. So, I open anaconda prompt and python >> then import cv2. However, I got the error of ...
user avatar
  • 1
1 vote
2 answers
85 views

Does Tensorflow has a keras module?

everyone. I am a Geophysicist who has recently started learning Data Science. As part of this process I am going over some example source code included in the book "Machine Learning for the Oil ...
user avatar
  • 13
0 votes
0 answers
2k views

How to update Tensorflow with Anaconda

I installed the packages for Tensorflow and Keras by using the Anaconda Packege installer (I have a separate environment for that). Unfortunately I can't use Tensorflow or Keras. When I use the ...
user avatar
  • 47
1 vote
0 answers
261 views

Tensorflow version conflict between Spyder and Anaconda-Prompt [closed]

I downloaded the TensorFlow version 1.14.0 from Anaconda Prompt. pip install tensorflow==1.14.0 When I check the version of Tensorflow from Spyder it shows like ...
user avatar
  • 83
1 vote
2 answers
94 views

What does a blue empty cell mean [ ] in Anaconda if the cell above is still [*]?

I've been running a machine learning algorithm for two days now, I have a large dataset and a slow machine. I noticed today that the cell below the "fit model" cell turned from green to blue,...
user avatar
  • 13
0 votes
1 answer
125 views

TensorFlow stopped working after installing opencv

I am working on projects that use TensorFlow and Keras and I did the hello-world MNIST project successfully and later I tried to run some other project and TF suddenly stopped working. Now it doesn't ...
user avatar
1 vote
0 answers
133 views

Using if statement as a model in orange

I am seeking to evaluate logistic regression against a rule-based (nested if-else statements) classification in Orange. The steps I've taken to investigate this are as follows: I could not identify ...
user avatar
12 votes
5 answers
29k views

Anconda R version - How to upgrade to 4.0 and later

I use R through the anaconda navigator, which manages all my package installations. I need to use qgraph for a project, which is dependent on mnormt library, which in turn needs RStudio verion >4.0 ...
user avatar
5 votes
2 answers
14k views

How to setup and run Conda on Google Colab

I am interested in using Google Colab for data modeling. How do I install conda, create an environment and run python in a notebook? I did some searching and found some helpful hints, but had several ...
user avatar
  • 1,769
2 votes
1 answer
887 views

Google Colab conda packages permanently installation

I want to install some conda packages on Google Colab. Installation done successfully, but it wont detect it when we restart the new Colab session. I followed the link "#https://stackoverflow.com/...
user avatar
  • 1,204
1 vote
0 answers
89 views

Shall I install anaconda, with Python3 and R already installed?

On my Ubuntu 18.04, I have Python 3 and R installed. I am about to study some data science and just found https://www.anaconda.com/distribution/. anaconda comes with Python and R and some packages. ...
user avatar
  • 151
3 votes
1 answer
6k views

No module named "" error when loading the pickle file

I created a model and I saved it in a pickle file using the Algorithm SVR(Support Vector Regression) ...
user avatar
2 votes
0 answers
73 views

Using an unmerged branch from StatsModels for Anaconda

I am interested in using a statistical test from StatsModels, one that is not available in the default Anaconda StatsModels folder on my drive. See this blog, which as some point mentions, almost ...
user avatar
1 vote
0 answers
89 views

PermissionError for conda env update

I got a very strange error when run conda env create -f environment.yml. Due to proprietary information, I cannot share the content of environemnt.yml, except that ...
user avatar
  • 111
2 votes
2 answers
329 views

how to see decision tree when running in anaconda?

In Jupyter displaying the DT is done as follows: # Display in jupyter notebook from IPython.display import Image Image(filename = 'tree.png') How to see DT ...
user avatar
  • 1,516
1 vote
1 answer
225 views

Install using Anaconda not working

I tried installing PyFerret on my Macbook through the terminal. I got into my user directory with the terminal and gave it the following commands from this website https://anaconda.org/conda-forge/...
user avatar
  • 121
1 vote
1 answer
1k views

Spacy v2.0.1 custom NER: How to improve training of existing model

I implemented custom NER with bellow trained data first time and it gives me good prediction with Name and PrdName. I mentioned code bellow. ...
user avatar
0 votes
1 answer
55 views

Basic sympy problem in anaconda

I have enabled sympy on Anaconda to use it to solve basic linear equations, but whenever I try to type something up it gives me an error when defining the variables: ...
user avatar
1 vote
1 answer
366 views

Python uses conda-base tensorflow-gpu instead of conda environment installation

I want to create a virtual environment using anaconda for python 3 in which I can use a specific version of tensorflow-gpu. My base conda python is 3.6.8 and the base conda tensorflow-gpu version is ...
user avatar
  • 23
1 vote
1 answer
807 views

How to install boruta in conda?

I want to install boruta in my anaconda environment, but if I execute conda install boruta It displays: ...
user avatar
  • 371
2 votes
1 answer
216 views

normal conda install vs forge install

In order to install some libraries, we just use: conda install pandas While in other cases we use: ...
user avatar
  • 141
1 vote
2 answers
13k views

ValueError: pos_label=1 is not a valid label: array(['N', 'Y'], dtype='<U1')

X = train_encoded_df.iloc[:, 1: ] y = train_encoded_df["Loan_Status"] print("Precision:",metrics.precision_score(y_test, y_pred)) My training data contains the ...
user avatar
0 votes
2 answers
188 views

Installing skmca python package

I can't figure out how to install the python package named skmca ( MCA for sickit-learn ) : https://github.com/TomAugspurger/skmca There is no pip or conda command available. Thanks for your help.
user avatar
2 votes
1 answer
596 views

Manual install vs conda install tensorflow-gpu

Asking mainly for Ubuntu 16.04/18.04. What's the difference between installing CUDA and cuDNN together with tensorflow-gpu in conda (conda install tensorflow-gpu), ...
user avatar
  • 123
0 votes
1 answer
226 views

Azure Data Studio opens Jupyter Notebook / Lab HTML

When I start Jupyter Lab or Notebook from the terminal, Azure Data Studio opens the auto-redirect HTML file instead of Firefox. Is there a way to correct this behavior? I'm experiencing this issue ...
user avatar
  • 218
1 vote
1 answer
1k views

Difference between AWS amazonei_tensorflow and tensorflow conda environments

In AWS SageMaker there are several Conda environments available based on different ML frameworks: conda info -e I would like to know the difference between a <...
user avatar
  • 177
0 votes
1 answer
78 views

what if conda has no package? [closed]

I just installed tensorflow environment with conda. but problem is conda does not have some packagefor example 'fastai' pip3 only has this package as you know pip install and conda install has ...
user avatar
  • 483
4 votes
3 answers
4k views

What is the lightest browser to launch a jupyter notebook?

Currently I am using Firefox as default browser, I have no issue to naviguate with it, but I have a little limited memory (8GB, 6.8 available) and Firefox takes a lot of RAM for nothing big, the more ...
user avatar
  • 213
2 votes
1 answer
21k views

ImportError: DLL load failed: The specified module could not be found [closed]

Getting a error when trying to import tensorflow library for tensorflow gpu help ...
user avatar
1 vote
0 answers
593 views

Spyder and virtual environments

I am approaching the use of python, i was wondering if it is correct to install Spyder in the 'root' environment and then point to other environments when coding on a project. Is it correct or it is ...
user avatar
  • 531
1 vote
1 answer
112 views

anaconda navigator not start direct without source command

when i run following command source ~/anaconda3/bin/activate root it is work fine. I don't want to run this command every time. give me any solution.
user avatar
1 vote
2 answers
536 views

problems with installing tensorflow using anaconda [closed]

I am trying to use anaconda 4.5.12 to install tensorflow on an Ubuntu 18.04.1 LTS system with python 3.7.1 and pycharm 2018.3.3. I issue the following terminal command: ...
user avatar
1 vote
2 answers
338 views

error while running lasso.py

The following is the error code generated while running lasso.py. Can anybody help in fixing the same. Here is the code: ...
user avatar
  • 11
0 votes
1 answer
109 views

Mixed effect random forest model for Python Windows

Does anybody know if there is a Mixed effect random forest model for Python Windows? The merf package https://anaconda.org/search?q=merf+ seems to only be available on a linux environment? thanks!
user avatar
  • 163
11 votes
2 answers
19k views

Conda Verification Failed

I was trying to install jupyter package for anaconda in my current environment but constantly getting the following error. Preparing transaction: done Verifying transaction: failed ...
user avatar
  • 267
0 votes
1 answer
47 views

Cannot install package: dlx [closed]

I'm new to anaconda. How can I install the dlx package (https://pypi.org/project/dlx/) in anaconda? I found it here: (https://anaconda.org/auto/dlx). ...
user avatar
  • 101
1 vote
1 answer
63 views

packages installed after activating conda environment

I want to know after creating and activating a conda environment in terminal. Say venv: ...
user avatar
  • 113
3 votes
3 answers
4k views

Problem using Anaconda

I have installed Anaconda, but every time I open Terminal I have to go give the command: export PATH=~/anaconda3/bin:$PATH How can I fix this issue?
user avatar
24 votes
10 answers
122k views

GraphViz not working when imported inside PydotPlus (`GraphViz's executables not found`)

I've been trying to make these packages work for quite some time now but with no success. Basically the error is: GraphViz's Executables not found EDIT: I had ...
user avatar
1 vote
1 answer
2k views

Scripting code for class imbalance in Biolabs Orange

I'm trying to manipulate some data in Biolabs Orange, using the built in Python Script widget and information at Biolabs Orange tutorial on scripting. However, I'm struggling with taking the results ...
user avatar
  • 131
44 votes
5 answers
95k views

Opening a 20GB file for analysis with pandas

I am currently trying to open a file with pandas and python for machine learning purposes it would be ideal for me to have them all in a DataFrame. Now The file is 18GB large and my RAM is 32 GB but I ...
user avatar