conda

Why does conda try to update packages with --no-update-dependencies?

醉酒当歌 提交于 2021-02-06 14:51:06
问题 Often when I try to install a new package, conda wants to update other packages as well, even though I have added the --no-update-dependencies switch. The updates seem to be "unnecessary" - like most of the time only the last part of the version number has changed. Today I wanted to install the mpld3 package and conda wants to update my python package from version 3.4.4-2 to 3.4.4-4, even though I have added the --no-update-dependencies switch. How can I make conda install the mpld3 package

How can I use conda to install pydotplus

戏子无情 提交于 2021-02-06 11:38:21
问题 I execute the code following on my machine( Win10, python 2.7, Anaconda&Spyder) and meet ImportError: No module named pydotplus . import networkx as nx from networkx.drawing.nx_pydot import write_dot G = nx.DiGraph([(1,2),(2,3),(3,2)]) write_dot(G,'file.dot') It clearly that I should install pydotplus package. I try to conda install pydotplus directly but says Error: Package missing in current win-64 channels . Then, I google it but find there is no information about how to install it on

How can I use conda to install pydotplus

[亡魂溺海] 提交于 2021-02-06 11:37:23
问题 I execute the code following on my machine( Win10, python 2.7, Anaconda&Spyder) and meet ImportError: No module named pydotplus . import networkx as nx from networkx.drawing.nx_pydot import write_dot G = nx.DiGraph([(1,2),(2,3),(3,2)]) write_dot(G,'file.dot') It clearly that I should install pydotplus package. I try to conda install pydotplus directly but says Error: Package missing in current win-64 channels . Then, I google it but find there is no information about how to install it on

How can I use conda to install pydotplus

↘锁芯ラ 提交于 2021-02-06 11:36:26
问题 I execute the code following on my machine( Win10, python 2.7, Anaconda&Spyder) and meet ImportError: No module named pydotplus . import networkx as nx from networkx.drawing.nx_pydot import write_dot G = nx.DiGraph([(1,2),(2,3),(3,2)]) write_dot(G,'file.dot') It clearly that I should install pydotplus package. I try to conda install pydotplus directly but says Error: Package missing in current win-64 channels . Then, I google it but find there is no information about how to install it on

PyICU in python 3 error : ImportError: libicui18n.so.58

落爺英雄遲暮 提交于 2021-02-05 09:32:29
问题 As I'm doing a project for non-english (Sinhala) language I need to sort the words in unicode. So I followed answer in this question and installed PyICU in a conda environment which I have already installed tensorflow and NLTK. Now in python console (in Pycharm) when use import icu and execute the code I'm getting this error. Traceback (most recent call last): File "/home/pankaja/PycharmProjects/teamspark/testing/sinhalasort.py", line 1, in <module> import icu File "/home/pankaja/anaconda3

Python and pip versions are different and potentially causing problem

≯℡__Kan透↙ 提交于 2021-02-05 09:28:56
问题 I have both 3.6 and 3.8 python versions installed in my drive and I am using Anaconda for virtual environment with Python 3.6. When I say in cmd prompt: >python -V Python 3.6.10 :: Anaconda, Inc. However when I look for pip versions it shows >pip3 -V pip 20.1.1 from c:\python38\lib\site-packages\pip (python 3.8) I'm thinking this the cause of the problem when I use pip install -e . while my virtual environment is active: ERROR: Could not find a version that satisfies the requirement torch==1

gfortran linking c libraries with conda

喜你入骨 提交于 2021-02-05 08:28:08
问题 I am trying to compile a C++/Fortran program using conda on an Ubuntu 18.04 server where I do not have superuser rights. I am able to compile correctly the program with the same source code on my Ubuntu 18.04 PC (using conda too), but on the server I get a bunch of errors. At the moment, I am stuck with a "library not found - undefined reference" error: gfortran -o glm -Wl,--export-dynamic obj/glm_globals.o obj/glm_util.o obj/glm_csv.o obj/glm_mobl.o obj/glm_mixu.o obj/glm_wqual.o obj/glm

Unable to install perl modules via cpanm in conda environments

﹥>﹥吖頭↗ 提交于 2021-02-05 07:25:07
问题 I'm trying to install perl modules via cpanm inside conda environment with perl installed. The conda environment was build with following definition: name: perl_env channels: - bioconda - conda-forge - defaults dependencies: - perl=5.26 - perl-app-cpanminus - perl-local-lib - gcc_impl_linux-64 - gxx_linux-64 - openmpi=4.1.0 The environment results with the following packages installed: # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 1_gnu conda-forge

conda install -n base --revision 1 doesn't clean up pypi packages

别来无恙 提交于 2021-02-05 07:16:39
问题 I attempted cleaning up my base (mini)conda environment by installing revision 1 of the base environment. $ conda install -n base --revision 1 For reference, here is what revision 1 means in my case. $ conda list -n base --revisions 2019-10-24 14:29:57 (rev 0) +asn1crypto-1.2.0 +ca-certificates-2019.10.16 +certifi-2019.9.11 +cffi-1.13.0 +chardet-3.0.4 +conda-4.7.12 +conda-package-handling-1.6.0 +cryptography-2.8 +idna-2.8 +libcxx-4.0.1 +libcxxabi-4.0.1 +libedit-3.1.20181209 +libffi-3.2.1

conda update InvalidSpecError

无人久伴 提交于 2021-02-04 14:15:12
问题 I am trying to update a conda environment: conda update --all but get the following Fetching package metadata ............. InvalidSpecError: Invalid spec: =20190808 output of conda list is as follows: alabaster 0.7.10 py36h174008c_0 anaconda custom py36ha4fed55_0 anaconda-client 1.6.14 py36_0 anaconda-navigator 1.6.4 py36_0 anaconda-project 0.8.2 py36h9ee5d53_0 apipkg 1.5 <pip> appnope 0.1.0 py36hf537a9a_0 appnope 0.1.0 <pip> appscript 1.0.1 py36h9e71e49_1 arrow-cpp 0.8.0 py36_4 conda-forge