Anaconda

subprocess.call() gives “The system cannot find the path specified.” while the file exists and can run that truly

不打扰是莪最后的温柔 提交于 2021-01-28 19:10:14
问题 why running import subprocess # I'm going to run another python script in anaconda script like this: #subprocess.call("C:\\ProgramData\\Anaconda3\\Scripts\\activate.bat && python C:\test.py") # but for simplifying the sample for here I've deleted the second part # (in the case you didn't install python in the default path, you can replace v_activate_address with the correct address on your computer to see the result) v_activate_address = "C:\\ProgramData\\Anaconda3\\Scripts\\activate.bat"

lxml installed with conda: “ImportError: DLL load failed: The specified procedure could not be found”

给你一囗甜甜゛ 提交于 2021-01-28 18:56:00
问题 I am using anaconda on windows 10 with the lastest version of conda 4.5.12 . I am creating a very simple test env to try to install lxml with python 3.6.6 . Here my environment.yml file: channels: - defaults dependencies: - python=3.6.6 - lxml Then I create an env using conda: conda env create -f environment_test.yml -n test26 Here the list of packages after the installation: (test26) C:>conda list # packages in environment at C:\Program Files\Anaconda3\envs\test26: # # Name Version Build

ImportError: libGL.so.1: cannot open shared object file: No such file or directory while importing OCC

强颜欢笑 提交于 2021-01-28 14:26:05
问题 I have a Django application which it's deployed to Amazon Elastic Beanstalk(Python 3.7 running on 64bit Amazon Linux 2/3.0.3) . I have installed anaconda and pythonocc-core package by creating a 10_anaconda.config file in .ebextensions folder. 10_anaconda.config; commands: 00_download_conda: command: 'wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh' 01_install_conda: command: 'bash Anaconda3-2020.02-Linux-x86_64.sh -b -f -p /anaconda' 02_conda_install_pythonocc:

Can't install Spyder through Anaconda Navigator

北慕城南 提交于 2021-01-28 14:22:28
问题 I cannot install Spyder through Anaconda Navigator. I am a complete beginner when it comes to Python and I have no idea what's going wrong. I have to create a new environment and open a project there. What I did so far is: through Anaconda Navigator (1.9.7) I created a new environment (with Python 3.6). Then, for this specific environment I try to install Spyder. I click the 'install' button, a progress bar appears and then nothing happens. I tried the same steps on friend's laptop and when I

Can't install Spyder through Anaconda Navigator

风格不统一 提交于 2021-01-28 14:20:49
问题 I cannot install Spyder through Anaconda Navigator. I am a complete beginner when it comes to Python and I have no idea what's going wrong. I have to create a new environment and open a project there. What I did so far is: through Anaconda Navigator (1.9.7) I created a new environment (with Python 3.6). Then, for this specific environment I try to install Spyder. I click the 'install' button, a progress bar appears and then nothing happens. I tried the same steps on friend's laptop and when I

ImportError: libGL.so.1: cannot open shared object file: No such file or directory while importing OCC

雨燕双飞 提交于 2021-01-28 14:18:58
问题 I have a Django application which it's deployed to Amazon Elastic Beanstalk(Python 3.7 running on 64bit Amazon Linux 2/3.0.3) . I have installed anaconda and pythonocc-core package by creating a 10_anaconda.config file in .ebextensions folder. 10_anaconda.config; commands: 00_download_conda: command: 'wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh' 01_install_conda: command: 'bash Anaconda3-2020.02-Linux-x86_64.sh -b -f -p /anaconda' 02_conda_install_pythonocc:

Robot Framework - Selenium Library Import Issue on Ride (Python 3.7)

拟墨画扇 提交于 2021-01-28 13:30:10
问题 I had some troubles to install selenium library at first, after I went trough some websites, I installed the library using the command pip install -U selenium on prompt command, however, after importing the library to Ride, the name appears in red as photos below shows I looked into Lib (Ananconda3) folder to check if there was any folder related to Selenium and I found it out there, therefore, I dont understand why Ride is not importing it properly Any help will be highly appreciate (ps. I

Trouble installing OpenAI's gym

安稳与你 提交于 2021-01-28 09:01:09
问题 I would like to install the entire Open AI gym package. After (I am on a mac) brew install cmake , sudo pip install gym[all] gives me the following error I am using anaconda 4.3.22. I am not in a conda virtual environment. which python outputs /anaconda/bin/python . The interpreter that anaconda uses is python 3.6.1. Just running sudo pip gym (which must be the minimal version) ran fine. Thanks for the help. 回答1: I have successfully installed gym on my mac laptop, and brew install swig will

How to constrain package versions in conda?

我的梦境 提交于 2021-01-28 09:01:01
问题 I'm working in a conda environment with a bunch of packages preinstalled (conda list has 360 packages, a lot of ML tools and some bioconda). I sometimes need to add a package; however, I find that conda install newpackage is often extremely slow (hours or days spent at "Solving environment"), and if it ever finishes, it often suggests updates to packages I really don't want to touch. I'd like to pin the current versions of some of the core packages (python, numpy, scipy, etc) so that

Why are there multiple install commands on Anaconda Cloud?

假如想象 提交于 2021-01-28 07:30:56
问题 When searching a package in Anaconda Cloud, there are often multiple commands one could use to install a package. For example, conda install -c conda-forge xxx conda install -c conda-forge/label/gcc7 xxx conda install -c conda-forge/label/cf201901 xxx What's the difference between them? 回答1: Labels Channel maintainers have an option to add labels to their package builds. Anaconda Cloud suggests using labels as a tool for organizing the development cycle. What the labels mean is totally up to