Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
227 votes
16 answers
949k views

ModuleNotFoundError: No module named 'sklearn'

I want to import sklearn but there is no module apparently: ModuleNotFoundError: No module named 'sklearn' I am using Anaconda and Python 3.6.1; I have checked everywhere but still can't find ...
Hareez Rana's user avatar
  • 2,283
86 votes
3 answers
83k views

How to install my own python module (package) via conda and watch its changes

I have a file mysql.py, which I use in almost all of my projects. Since I do not want to copy and paste the same file into each of these projects I wrote a module - possibly a package in the future. ...
Michael's user avatar
  • 1,697
54 votes
1 answer
25k views

What does "the following packages will be superseded by a higher priority channel" mean?

I am trying to install fuzzywuzzy onto my Anaconda distribution in 64 bit Linux. When I do this, it tries to change my conda, and conda-env to conda-forge channels. As follows: I search anaconda for ...
Chuck's user avatar
  • 3,774
33 votes
4 answers
75k views

Dependencies and packages conflicts in Anaconda?

I'm using Anaconda 5.1 and Python 3.6 on a Windows 10 machine. I'm having quite a few problems ; I tried to add some useful tools such as lightGBM, tensorflow, keras, bokeh,... to my conda ...
Nathan Furnal's user avatar
24 votes
7 answers
45k views

Installed a package with Anaconda, can't import in Python

Forgive me but I'm new to python. I've installed a package (theano) using conda install theano, and when I type conda list, the package exists However, when I enter the python interpreter by running ...
KDogg's user avatar
  • 445
20 votes
4 answers
57k views

Install Python package: "Package missing in current win-64 channels"

I want to install GSEApy on Anaconda (I use 64bit Windows 10). https://bioconda.github.io/recipes/gseapy/README.html https://anaconda.org/bioconda/gseapy But I get this error: C:\Windows\system32&...
Benni's user avatar
  • 785
14 votes
2 answers
12k views

conda packages with version name of 'custom'

When I using conda search anaconda I found a few custom version packages, shown as follow: Fetching package metadata: .... anaconda 1.6.0 np17py33_0 defaults ...
YaOzI's user avatar
  • 17.1k
14 votes
2 answers
27k views

How to resolve inconsistent package warnings in conda?

Newer versions of Conda provide the user with more detailed information about inconsistent packages casuing conflict with the environment. One such package in my conda env is the _nb_ext_conf which ...
shiv_90's user avatar
  • 1,065
14 votes
4 answers
16k views

Why doesn't a new Conda environment come with packages like numpy?

I am going through the painful process of learning how to manage packages/ different (virtual) environments in Python/Anaconda. I was told that Anaconda is basically a python installation with all the ...
Psychotechnopath's user avatar
14 votes
1 answer
24k views

Is there a way to force conda install to install the packages and its dependencies instead of giving an error

I have a miniconda environment that I am installing packages in. I want to install a package and I understand that there can be some conflicts, however to resolve those conflicts either requires a ...
Cam's user avatar
  • 311
13 votes
10 answers
21k views

Can't use Jupyter Notebook: jsonschema apparently missing

When using an Anaconda environment, I can't start Jupyter to work in a notebook. I can do so without the environment, but I need to be able to use the environment. Here's what I do and the errors I ...
Ben Sandeen's user avatar
  • 1,513
12 votes
1 answer
30k views

How to install multiple packages in conda from a file without creating a new environment?

I took these from yml file of packages that my current environment is missing. How do I just install these within my current environment? channels: - defaults dependencies: - appdirs=1.4.3=...
O.rka's user avatar
  • 30.5k
11 votes
2 answers
6k views

Can I safely delete the files in "/anaconda3/pkgs"?

I found the same python package in two different directories on my MacBook. One is in /anaconda3/pkgs/ and the other is in /anaconda3/lib/python3.7/site-packages. I wonder what the folder /anaconda3/...
Yingxuan Guo's user avatar
11 votes
1 answer
48k views

How to install package in anaconda?

I want to add music package to anaconda interpreter. I'm using ubuntu 14.04 64bit. I downloaded music21-1.9.3.tar.gz from anaconda cloud. I unpacked it to anaconda3/pkgs ext installer....
Július Marko's user avatar
10 votes
1 answer
6k views

Anaconda Python: Delete .tar.gz in pkgs

Would it be a problem to delete *.tar.gz files in C:\Users\username\AppData\Local\conda\pkgs? I also see subdirectories of Python of the same Python package, but in different versions (e.g., pandas-0....
Bruno's user avatar
  • 1,399
10 votes
2 answers
4k views

Conda environment: Print licenses of installed packages

is there an easy way to print the license of each package in a conda environment? conda list nicely lists all packages, however there is no option to get information about the license. On Anaconda ...
Michael's user avatar
  • 1,697
8 votes
3 answers
14k views

Conda's solving environment takes forever

I am using conda since one year, since several weeks, whenever I want to install a package using conda install -c anaconda <package_name>, for any package, it is just stuck at the Solving ...
TOP1's user avatar
  • 123
8 votes
2 answers
10k views

How to avoid clang: No such file or directory error

I am trying to install RPostgreSQL into my R instance. I downloaded R with Anaconda, I also downloaded homebrew. When I run, install.packages('RPostgreSQL') I get an error message that reads -- ...
Sebastian's user avatar
  • 967
8 votes
2 answers
24k views

How to remove a module using Anaconda in Python

I have a package called 'Prody' which is installed under anaconda directories: $ python Python 2.7.8 |Anaconda 2.0.1 (x86_64)| (default, Jul 2 2014, 15:36:00) [GCC 4.2.1 (Apple Inc. build 5577)] ...
pdubois's user avatar
  • 7,740
8 votes
1 answer
6k views

Error processing line 1 of distutils-precedence.pth (no module named '_distutils_hack')

I'm on Windows 10 and working in a git-bash terminal with anaconda environment. When I open a new terminal, I'm immediately presented with: Error processing line 1 of C:\Users\e360769\AppData\Local\...
kevkev9957's user avatar
7 votes
2 answers
59k views

How to uninstall Python and all packages

I wish to uninstall Python 2.7 and all packages connected to it. I initially installed Python from the official website and I installed all packages using the pip install command. Would uninstalling ...
Senyokbalgul's user avatar
  • 1,072
7 votes
1 answer
7k views

How to add a proper 'meta.yaml' recipe file for creating a conda-forge package distribution? Particularly `test` section in recipe file?

I'm trying to have conda-forge host a python package I've created which is already on PyPI: https://pypi.org/project/ludoSim-jaib1/ I've read the conda-forge documentation on contributing packages ...
jaib1's user avatar
  • 337
7 votes
1 answer
12k views

"Resolve Package Not Found" error in anaconda

I installed anaconda in Windows and then I wanted to add this code conda env create -f robotreviewer_env_local.yml but I got this error ResolvePackageNotFound - spacy=0.101.0 - ...
adelehasadi's user avatar
6 votes
1 answer
7k views

Conda create from requirements.txt not finding packages

What I try conda create --name ml --file ./requirements.txt I created the requirements.txt file with conda list -e > requirements.txt on another computer in the past. requirements.txt: https://...
pinguiny's user avatar
5 votes
1 answer
63k views

Spyder - python - install external packages

I have just started to use python (within Windows, 64bit) - and I have a basic question on how to install external packages within the anaconda / spyder environment. I understand that for most ...
user1885116's user avatar
  • 1,787
5 votes
1 answer
4k views

can't specify pip dependency in conda meta.yaml file

I have the following meta.yaml file in order to build a conda package: package: name: dsutils version: 1.0 source: git_rev: cat_files_bq_utils git_url: https://**********.git requirements: ...
sweeeeeet's user avatar
  • 1,819
5 votes
1 answer
2k views

Build a conda package relying on an apt library

I am building a scientific python project that relies on a python package (scikits.sparse) providing a binding to a C/Fortran library (libsuitesparse-dev) that can be installed through apt-get or yum ...
chiffa's user avatar
  • 2,068
4 votes
4 answers
2k views

Why doesn't Python come pre-built with required libraries like pandas, numpy etc [closed]

What is the reason packages are distributed separately? Why do we have separate 'add-on' packages like pandas, numpy? Since these modules seem so important, why are these not part of Python itself? ...
Dhiraj's user avatar
  • 3,582
4 votes
2 answers
6k views

I can't use the packages that come with anaconda with pycharm

conda list lists everything. pycharm is using the conda virtual environment. why isn't any of the packages listed?
user avatar
4 votes
1 answer
2k views

Anaconda: how to install packages not in Anaconda Directory?

Partially related to this question [now removed from SO] but now focus solely on installing packages in Anaconda that does not exist in Anaconda directory here. An example could be the COIN-OR CLP ...
hhh's user avatar
  • 52.1k
4 votes
1 answer
1k views

Is the integrity of the Conda packages verified?

When installing a package using conda install <some package> or conda install -c <some channel> <some package>, does the conda binary verify the integrity of the downloaded package ...
Incömplete's user avatar
4 votes
1 answer
7k views

Anaconda install packages without connection

I am trying to install packages for anaconda offline I am behind a company network, i have no possibilities to use conda install or pip install, I also cant create and custom environment. I have ...
Eric Stralsund's user avatar
4 votes
2 answers
3k views

How to upgrade when conda-forge installs an old version

pandas-profiling (appears to be) a delightful little package that improves on the pd.DataFrame.describe() method. I decided to install it using conda, and, as per the documentation, I input conda ...
Yehuda's user avatar
  • 1,893
4 votes
1 answer
2k views

How to avoid anaconda from installing files/packages in C drive?

If you are using anaconda, then you probably noticed that when installing python packages, it took away the disks in C drive even if you installed anaconda in D drive. (I have tried the clean ect. of ...
ShoutOutAndCalculate's user avatar
4 votes
1 answer
2k views

Conda doesn't find existent binstar package

I'm trying to install the hdf5storage package for my Python 3 installation on a 64-Bit Windows 8 machine using Anaconda. Just to make sure that everything was up to date, I did a C:\Users\Baeuerle>...
Joerg's user avatar
  • 874
4 votes
1 answer
2k views

How can I clean up my anaconda base environment? (e.g., I don't need astropy, statsmodels, and ~400 other packages)

How can I just uninstall all of the non-essential packages and reinstall what I need? By essential, I'm referring to just enough to run command line conda software so I can build my base environment ...
O.rka's user avatar
  • 30.5k
4 votes
0 answers
2k views

Does conda install a separate copy of the package each time I conda install in a different environment?

I have heard some pretty good reviews of Anaconda, and have decided to start using miniconda3. I am mostly concerned with storage space when it comes to the use of virtual environments. I notice that ...
Tian's user avatar
  • 940
4 votes
0 answers
956 views

Anaconda python: Pinning channel and not package version

Every time I use conda install -c some_channel to install a Python package, conda tries to update other packages from some_channel. From example, here I'm trying to install hdbscan from conda-forge, ...
N. CHATURV3DI's user avatar
4 votes
1 answer
986 views

cannot install any packages in PyCharm

I was trying to install python packages in PyCharm. But I cannot see any Latest version as below: I used pip to install some packages and it is not working and showing: (base) C:\>pip install auto-...
Alice jinx's user avatar
3 votes
1 answer
8k views

Anaconda - How can I update all packages of another environment?

I have Anaconda (of Python 3.5)/ conda update --all command updates all the packages of default Python 3.5 I also have installed another environment of Python 2.7. The above command updates only ...
user67275's user avatar
  • 2,080
3 votes
2 answers
4k views

PyBrain in Anaconda - ImportError: No module named 'structure'

I'm looking for a way to use numpy, scipy and pybrain in python. If I try to install those I get the error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat). I have installed ...
Lucas's user avatar
  • 165
3 votes
2 answers
13k views

How do I install Matplotlib 3.4.1 in Anaconda?

I want to use a package only available in version 3.4.1. When I do conda list then I see my matplotlib version is 3.2.2. I've tried conda.install matplotlib=3.4.1 but that return a PackagesNotFound ...
DavidD003's user avatar
  • 131
3 votes
1 answer
2k views

not able to import pandoc,getting FileNotFoundError

I have installed pandoc package in the anaconda with the use of pip install pandoc but I is throwing below error . FileNotFoundError: [Errno 2] No such file or directory: '/root/anaconda3/envs/test/...
Jay's user avatar
  • 306
3 votes
2 answers
18k views

Install Python package located on Github

I'm trying to follow this tutorial. First step would be to install DeCaf. I'm farely new to Python and so far I've only installed packages via easy_install, pip or Windows binaries. How do I go about ...
ADJ's user avatar
  • 5,112
3 votes
1 answer
1k views

Genia Tagger file not found error in Anaconda/NLTK

I need to perform text pre-processing tasks such as sentence splitting, tokenization and tagging using NLTK. I want to use GENIA tagger for tagging. I am using Anaconda version 3.10 and installed ...
Dakshila Kamalsooriya's user avatar
3 votes
1 answer
5k views

How to modify / edit an installed anaconda package

I have some issues with a published package and wish to edit the code myself (may generate a pull request later to contribute). I am quite confused about how to do this since it seems there is a lack ...
Ethan's user avatar
  • 171
3 votes
1 answer
778 views

Updating a package in a virtual environment with conda

I am trying to update the package flopy, within a virtual environment called flopyenv using the Anaconda Prompt command line. First, I activate the virtual environment using conda activate flopyenv. ...
happycampr's user avatar
3 votes
2 answers
19k views

Python error: OSError: [WinError 193] %1 is not a valid Win32 application

After using Anaconda Navigator to update some packages (numpy, matplotlib, ...) and Spyder; my code using these packages no longer works and gives error on import. I tried to reverse the update to a ...
wilmert's user avatar
  • 85
3 votes
1 answer
8k views

conda: "specifications were found to be in conflict"; package install fails

I was using conda to install a package called stomel (conda install stomel). I did add the correct channel to .condarc. The error showed that The following specifications were found to be in ...
fengdongyuxi's user avatar
3 votes
1 answer
95 views

Anaconda - I have set up an environment, how do I use it?

I have set up an environment in anaconda and installed additional packages in it (mainly pybrain). How can I access the environment's modules and packages? Can those be imported from a python script? ...
Lucas's user avatar
  • 165

1
2 3 4 5