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
46
votes
7 answers

PytestUnknownMarkWarning: Unknown pytest.mark.xxx - is this a typo?

I have a file called test.py with the following code: import pytest @pytest.mark.webtest def test_http_request(): pass class TestClass: def test_method(self): pass pytest -s test.py passed but gave the following warnings: pytest…
Jonathan L
  • 9,552
  • 4
  • 49
  • 38
42
votes
6 answers

Cannot set up a conda environment with python 3.10

I am trying to set up a conda environment with python 3.10 installed. For some reason, no install commands for additional packages are working. For example, if I run conda install pandas, I get the error: PackagesNotFoundError: The following…
K G
  • 1,715
  • 6
  • 21
  • 29
37
votes
9 answers

Anaconda Error - module 'brotli' has no attribute 'error'

I updated anaconda using Anaconda Command Prompt. After update whenever I run any command ex: conda info or conda list I get the below error module 'brotli' has no attribute 'error' I would Really appreciate any help on this! Not sure how it solve…
TigSh
  • 615
  • 1
  • 6
  • 15
26
votes
3 answers

How to specify the architecture or platform for a new conda environment? (Apple Silicon)

Is there a way to specify the architecture/platform when creating a new conda environment? Alternatively, how does conda detect its current architecture/platform when its run? What I'm aiming to do is this: I'm running on an Apple Silicon laptop.…
Bob
  • 1,274
  • 1
  • 13
  • 26
22
votes
4 answers

Conda not recognizing that I have node installed?

I open the terminal. jupyter labextension install @jupyterlab/github An error occured. ValueError: Please install nodejs >=10.0.0 before continuing. nodejs may be installed using conda or directly from the nodejs website. See the log file for…
Her0Her0
  • 486
  • 1
  • 4
  • 12
15
votes
2 answers

Solving environment: failed with current_repodata.json, will retry with next repodata source. Conda Fails to Create a new env

** Conda Fails to Create a new env: stuck at "Executing transaction"** I am working with a MacOS, BigSur 11.6, and have updated conda and mamba conda update --all conda update mamba and, following guidance from a software installation guide I tried…
Diving
  • 784
  • 1
  • 9
  • 17
14
votes
5 answers

ModuleNotFoundError: No module named sklearn

When I run: from sklearn import datasets I get the error: ModuleNotFoundError: No module named 'sklearn' How can I solve this?
Imdadul Haque
  • 1,635
  • 5
  • 23
  • 44
14
votes
3 answers

conda.exe: error while loading shared libraries: libz.so.1

Unable to install Anaconda3-2019.10-Linux-x86_64 in my RHEL machine; Getting the error -> conda.exe: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Operation not permitted. Anaconda or Miniconda version: …
TOI 700 e
  • 197
  • 1
  • 3
  • 18
13
votes
1 answer

After removing Anaconda3 I still get these errors in PowerShell

I'm getting the below error when I open visual studio. What can I do to completely remove the defaults? I already tried reinstalling and uninstalling Anaconda3, all versions of Python and Visual Studio I want to start from scratch without…
11
votes
3 answers

Conda ERROR _sysconfigdata_x86_64_conda_linux_gnu

I have one error: ModuleNotFoundError: No module named '_sysconfigdata_x86_64_conda_linux_gnu' Using comand: pip3 install --editable ./BindingSitesFromFragments
Wenison Marrone
  • 123
  • 1
  • 1
  • 5
10
votes
2 answers

How to move .conda from one folder to another at the moment of creating the environment

I have to connect to a server where my user has access to one small partition from /home/users/user_name where I have a quota of limited space and a bigger partition into /big_partition/users/user After I am logging into that server I will arrive at…
Mircea
  • 1,671
  • 7
  • 25
  • 41
10
votes
4 answers

Anaconda installation get stuck at extract: anaconda-2020.02-py37_0.tar.bz2?

I am new to python. I am installing Anaconda 3 2020.02 (64-bit) on my windows 7 laptop. It get stuck at file name as anaconda-2020.02-py37_tar.bz2 I tried multiple time but it's happening everytime
Datta Diware
  • 602
  • 1
  • 5
  • 16
10
votes
5 answers

Why do I get EnvironmentNotWritableError while installing eli5

I'm new to Python (1 month into Python). Trying to install eli5 to Python. I used conda install -c conda-forge eli5 Got error message EnvironmentNotWritableError: The current user does not have write permissions to the target environment. …
Ang Sheng Jun
  • 131
  • 1
  • 1
  • 7
8
votes
3 answers

Can not import pipeline from transformers

I have installed pytorch with conda and transformers with pip. I can import transformers without a problem but when I try to import pipeline from transformers I get an exception: from transformers import…
user8270077
  • 4,621
  • 17
  • 75
  • 140
7
votes
1 answer

Conflicting Python versions in SageMaker Studio notebook with Python 3.8 kernel

I'm trying to run a SageMaker kernel with Python 3.8 in SageMaker Studio, and the notebook appears to use a separate distribution of Python 3.7. The running app is indicated as tensorflow-2.6-cpu-py38-ubuntu20.04-v1. When I run !python3 -V I get…
1
2 3
46 47