conda

Problems with updating anaconda and installing new packages

匿名 (未验证) 提交于 2019-12-03 08:36:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to install seaborn on anaconda on Ubuntu-Linux. conda install -c anaconda seaborn=0.7.1 I am getting the following error message: Fetching package metadata .../home/moritz/Python/anaconda3/lib/python3.5/site-packages/requests/packages/urllib3/connection.py:337: SubjectAltNameWarning: Certificate for conda.anaconda.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

Importing SciPy or scikit-image, “from scipy.linalg import _fblas: Import Error: DLL failed”

匿名 (未验证) 提交于 2019-12-03 08:36:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm importing: from scipy import misc, io But I get these errors: Traceback (most recent call last): File "C:\work_asaaki\code\generateProposals.py", line 20, in <module> from scipy import misc, io File "C:\Python27\lib\site-packages\scipy\misc\__init__.py", line 47, in <module> from scipy.special import comb, factorial, factorial2, factorialk File "C:\Python27\lib\site-packages\scipy\special\__init__.py", line 548, in <module> from .basic import * File "C:\Python27\lib\site-packages\scipy\special\basic.py", line 17, in <module> from .

anaconda/conda - install a specific package version

匿名 (未验证) 提交于 2019-12-03 08:35:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to install the 'rope' package in my current active environment using conda. Currently, the following 'rope' versions are available: (data_downloader)user@user-ThinkPad ~/code/data_downloader $ conda search rope Using Anaconda Cloud api site https://api.anaconda.org Fetching package metadata: .... cached-property 1.2.0 py27_0 defaults 1.2.0 py34_0 defaults 1.2.0 py35_0 defaults 1.3.0 py27_0 defaults 1.3.0 py34_0 defaults 1.3.0 py35_0 defaults rope 0.9.4 py26_0 defaults 0.9.4 py27_0 defaults 0.9.4 py33_0 defaults 0.9.4 py34_0 defaults 0

How to add package to conda environment without pip?

放肆的年华 提交于 2019-12-03 08:33:49
问题 How can I add a package to an existing conda environment? If it is a python package I can use pip install <package> , but what if pip does not work? Is it sufficient to activate the environment and use conda install <package> ? 回答1: You've answered your own question. In fact you really want to do conda install ... instead of using pip if you can. You can install a conda package also without activating the environment. Just use conda install -n <env_name> <package> or conda install -p <path/to

Explanation of different conda channels

房东的猫 提交于 2019-12-03 08:29:40
问题 What are the major conda channels, and what are their focuses? I can't seem to find any documentation on what major channels are available and when to choose one over the other. What is the relationship to the "default" channel? How does one decide what order to put them in? In general, I use anaconda conda_forge r bioconda defaults But I've been running into some problems with my environment breaking. 回答1: anaconda conda-forge r bioconda These are all channels from which packages can be

How do I upgrade to Python 3.6 with conda?

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm new to Conda package management and I want to get the latest version of Python to use f-strings in my code. Currently my version is ( python -V ): Python 3.5 . 2 :: Anaconda 4.2 . 0 ( x86_64 ) How would I upgrade to Python 3.6? 回答1: Anaconda has not updated python internally to 3.6. a) Method 1 If you wanted to update you will type conda update python To update anaconda type conda update anaconda If you want to upgrade between major python version like 3.5 to 3.6, you'll have to do conda install python==$pythonversion$ b)

Library not loaded: @rpath/libopenblasp-r0.2.19.dylib

匿名 (未验证) 提交于 2019-12-03 07:50:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How should I fix this? Monas-MacBook-Pro:02_02 mona$ python Python 3.6.1 |Anaconda custom (x86_64)| (default, May 11 2017, 13:04:09) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen(/Users/mona/anaconda/lib/python3.6/site-packages/cv2.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libopenblasp-r0.2.19.dylib Referenced from: /Users/mona/anaconda

How to install Selenium in a conda environment?

馋奶兔 提交于 2019-12-03 06:57:56
I'm trying to install Selenium in a conda environment in Windows 10 with conda install --name myenv selenium but this returns the error PackageNotFoundError: Package missing in current win-64 channels: - selenium How can I complete this package installation? Conda uses different channels to search for packages. You need find the package which supports Win 64 You can do that by going to below link https://anaconda.org/search?q=selenium&sort=ndownloads&sort_order=-1&reverse=true And you will find that this is most downloaded one https://anaconda.org/conda-forge/selenium So execute below conda

Schedule a Python script via batch on windows (using Anaconda)

徘徊边缘 提交于 2019-12-03 06:54:31
I have a script that i run every day and want to make a schedule for it, i have already tried a batch file with: start C:\Users\name\Miniconda3\python.exe C:\script.py And im able to run some basic python commands in it, the problem is that my actual script uses some libraries that were installed with Anaconda, and im unable to use them in the script since Anaconda will not load. Im working on windows and can't find a way to start Anaconda and run my script there automatically every day. I'd recommend creating an Anaconda environment with the packages you need, then using the python from that

Jupyter conda tab 'An error occurred while retrieving package information.'

大兔子大兔子 提交于 2019-12-03 06:53:23
问题 In my root environment I run $ jupyter notebook and in the browser, click on the 'Conda' tab. This always used to list my conda environments and the packages in them. Now I'm greeted by the following error. I recently created and deleted some conda environments, maybe that is relevant. The only console output is [W 10:30:20.948 NotebookApp] 404 GET /environments?_=1476811818902 (::1) 13.19ms referer=http://localhost:8888/tree [W 10:30:20.951 NotebookApp] 404 GET /packages/available?_