Anaconda

Installing Anaconda on Amazon Elastic Beanstalk

柔情痞子 提交于 2020-05-11 09:28:37
问题 I've added deploy commands to my Elastic Beanstalk deployment which download the Anaconda installer, and install it into /anaconda . Everything goes well, but I cannot seem to correctly modify the PATH of my instance to include /anaconda/bin as suggested by the Anaconda installation page. If I SSH into an instance and manually add it, everything works fine. But this is obviously not the correct approach, as machines will be added automatically by EB. So my question is: how can I use Anaconda

Getting PyCharm to import sklearn

天涯浪子 提交于 2020-05-11 03:59:18
问题 Beginner here. I’m trying to use sklearn in pycharm . When importing sklearn I get an error that reads “Import error: No module named sklearn ” The project interpreter in pycharm is set to 2.7.10 (/anaconda/bin/python.app), which should be the right one. Under default preferenes, project interpreter, I see all of anacondas packages. I've double clicked and installed the packages scikit learn and sklearn . I still receive the “Import error: No module named sklearn” Does anyone know how to

Anaconda Terminal error pywin32_bootstrap

允我心安 提交于 2020-05-10 21:35:11
问题 I got this error in my Anaconda Navigator base Terminal: Traceback (most recent call last): File "C:\Users\myusername\AppData\Local\Continuum\anaconda3\lib\site.py", line 168, in addpackage exec(line) File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'pywin32_bootstrap' Remainder of file ignored How can i fix this? 回答1: I got the same error during pip install , and I solved it by installing build 225 of pywin32 instead of the latest version: pip install pywin32==225

Anaconda Terminal error pywin32_bootstrap

蓝咒 提交于 2020-05-10 21:31:07
问题 I got this error in my Anaconda Navigator base Terminal: Traceback (most recent call last): File "C:\Users\myusername\AppData\Local\Continuum\anaconda3\lib\site.py", line 168, in addpackage exec(line) File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'pywin32_bootstrap' Remainder of file ignored How can i fix this? 回答1: I got the same error during pip install , and I solved it by installing build 225 of pywin32 instead of the latest version: pip install pywin32==225

How to make “conda” installer look for “PyPi” packages

蓝咒 提交于 2020-05-10 06:27:48
问题 I was trying to use conda package manager to install my Python packages. Recently I encountered that many of the packages that I required were not present in the Anaconda.org repository, and I had to pip install them. Ref: github issues Is there a way to add a channel to Anaconda that will enable it to look for All PyPi packages so that I can use "conda" completely instead of switching over to pip every now and then 回答1: According to conda skeleton, you can first run conda skeleton pypi

protobuf深坑-版本冲突-彻底解决

ⅰ亾dé卋堺 提交于 2020-05-09 20:22:36
由于安装了anaconda ,caffe,后面又安装了pytorch,mmdetection,tensorboardX,导致环境中protoc和protobuf相当混乱 后面在编译caffe的时候,已经编辑不过去了。所以折腾了一段时间,终于知道如何彻底解决这个问题了,麻麻在也不用担心我的protobuf的冲突了。 1:一般protobuf安装有3种方式 apt-get install libprotobuf-dev protobuf-compiler[安装在系统] pip install protobuf==3.0.0[安装在python] conda install libprotobuf=3.0.0[安装在anaconda] 2:针对3种分别卸载 sudo apt-get remove libprotobuf-dev sudo apt-get remove protobuf-compiler sudo apt-get remove python-protobuf sudo rm -rf /usr/local/bin/protoc sudo rm -rf /usr/bin/protoc sudo rm -rf /usr/local/include/google sudo rm -rf /usr/local/include/protobuf* sudo rm -rf /usr

Anaconda / Python: Change Anaconda Prompt User Path

霸气de小男生 提交于 2020-05-09 20:19:52
问题 I want to change my Anaconda Prompt User file path. Currently it is as follows: I want it to change to: C:\Users\u354590 How do I do this? The current version of anaconda I have is: Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] 回答1: Go to Start and search for "Anaconda Prompt" - right click this and choose "Open File Location", which will open a folder of shortcuts. Right click the "Anaconda Prompt" shortcut, choose "Properties" and you can adjust

Conda install and update do not work also solving environment get errors

只谈情不闲聊 提交于 2020-05-09 19:37:11
问题 I am using anaconda as below: (base) C:\Users\xxx>conda info active environment : base active env location : C:\Users\xxx\Documents\ANACONDA shell level : 1 user config file : C:\Users\xxx\.condarc populated config files : C:\Users\xxx\.condarc conda version : 4.7.11 conda-build version : 3.18.9 python version : 3.6.9.final.0 virtual packages : base environment : C:\Users\xxx\Documents\ANACONDA (writable) channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs

How to uninstall all unused packages in a conda virtual environment?

大兔子大兔子 提交于 2020-05-09 19:35:20
问题 I have a conda virtual environment with several unused packages installed inside it (either using pip install or conda install ). What is the easiest way to clean it up so that only packages that are actually used by my code remain, and the others are uninstalled? 回答1: conda clean --yes --all will sanitize everything. But take note: if you ever want to do any type of --offline operations, don't use --all ; be more selective. 回答2: The difference between conda clean --yes --all and conda clean

How to uninstall all unused packages in a conda virtual environment?

▼魔方 西西 提交于 2020-05-09 19:35:09
问题 I have a conda virtual environment with several unused packages installed inside it (either using pip install or conda install ). What is the easiest way to clean it up so that only packages that are actually used by my code remain, and the others are uninstalled? 回答1: conda clean --yes --all will sanitize everything. But take note: if you ever want to do any type of --offline operations, don't use --all ; be more selective. 回答2: The difference between conda clean --yes --all and conda clean