Questions tagged [anaconda]

1

votes
0

answer
9

Views

python 'environments have crashed'

I'm just getting started with using universe in python to learn how to make a game bot. I'm using a demo code to start with. However I get the same error after I run the code on PyCharm. import gym import universe env = gym.make('flashgames.DuskDrive-v0') env.configure(remotes='vnc://localhost:5900+...
Daniel dos Santos
1

votes
1

answer
229

Views

Creating and using a custom Anaconda environment on Azure DSVM

I want to use a specific Python environment with specific libraries (Keras, TensorFlow) on an Azure Linux data science virtual machine (DSVM) to move some of my local work to the cloud. I created the environment in the terminal using Keras v2.1.6. Also, I can see the environment in the Jupyter envir...
Matt
1

votes
1

answer
1.1k

Views

How to install cython an Anaconda 64 bits with Windows 10?

It's all in the title, does someone have a step by step method to install cython and run it on Anaconda 64 bits on Windows 10? I search for 4 hours and there are a lot of tutorials... For things that I wasn't able to get or do on windows 10. I try to follow all those methods and more but in vain for...
pdzx
1

votes
2

answer
396

Views

ImportError: cannot import name 'constants'

I need to import the constants library but it is not working... import spacy import pandas import textacy import pandas as pd from pandas import Series from . import constants Erreur: ImportError Traceback (most recent call last) in () 4 import pandas as pd 5 from panda...
marin
1

votes
2

answer
150

Views

Anaconda3 issues installing Tensorflow

I am trying to install Tensorflow on Windows 10 using Anaconda3. I get the following error message after every attempt. 'Command 'python setup.py egg_info' failed with error code 3221226505 in C:\Users\user\AppData\Local\Temp\pip-install- 8j_eg21o\termcolor\' I Create a new Anaconda Container and...
Quentin
1

votes
1

answer
38

Views

Not permanently saving env

Using the commands: RNAVIEW=/Users/Phu/Desktop/Bioinformatics/RNAVIEW; export RNAVIEW export PATH=/Users/Phu/Desktop/Bioinformatics/RNAVIEW/bin:$PATH >> ~/.bash_profile Every time I reboot my terminal, I have to keep using these commands if I want to use one of my executable file which is really ann...
Phu Nguyen
3

votes
2

answer
218

Views

How to remove (base) from terminal prompt after updating conda

After updating miniconda3, whenever I open a terminal it shows '(base)' in front of my username and host. In this answer post https://askubuntu.com/a/1113206/315699 it was suggested to use conda config --set changeps1 False To remove it. But that would remove the indication for any conda environment...
Homero Esmeraldo
0

votes
0

answer
2

Views

rpy2-“Unable to locate R.dll at xxxxx”

I want to use R in python. I install rpy2 by conda install -c r rpy2. But when I import robjects, there is a wrong Unable to locate R.dll at 'C:\Program Files\R\R-3.5.1\bin\x64\R.dll'. in my computer, R was installed in D:\R\R-3.5.1 I tied to add D:\R\R-3.5.3,D:\R\R-3.5.3\bin andD:\R\R-3.5.3\bin\x64...
K.Lee
0

votes
2

answer
22

Views

Custom conda sub channel

Trying to setup remote repository for https://anaconda.org/MOSEK/mosek but that URL is not playing nice and unable to find what the conda manager would redirect to when connecting to sub channels by default. What's the remote URL to add for these custom / sub channels from Anaconda?
Nicholas Tripp
1

votes
3

answer
4.7k

Views

How to install 3. Party library into anaconda if it is not in conda list

I have a general problem about module importation. Thank you very much. The situation is the following: I have a python compressed package *.tar.gz This package can not be found in conda list if I uncompressed it and use 'python setup.py install' package do would be installed into system python nam...
Hello lad
0

votes
0

answer
3

Views

can't activate anaconda venv that do exist

I'm building a website with Django. I built a Django virtual environment with anaconda. A few days ago I have updated the anaconda and after that, I have a problem with activating a virtual environment When I trying to activate a virtual environment with source activate django, the terminal respond...
Chanwoo Ahn
0

votes
0

answer
3

Views

Error Importing Pyro after source install for Anaconda release of Python

I downloaded Pyro using source install instructions here under the Install from source link because I was always told not to use pip when installing to an Anaconda installation. When I try import pyro I get the attribute error below which does not make sense import pyro Traceback (most recent call...
Brian Wiley
1

votes
2

answer
2.7k

Views

google api (sheets) Request had insufficient authentication scopes

i want to read an write data from a sheet, reading works fine but writing doesn't. i use all the scopes mentioned in the documentation: https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append data_writer(1,1,1) code: from __future__ import print_function from apiclient....
extreme4all
1

votes
2

answer
3.3k

Views

How to choose your conda environment in Jupyter Notebook

I installed Anaconda 5.3 with Python 3.7 (root environment). After that I created a new environment (py36) using Python 3.6 I activated the new environment with activate py36 conda env list shows that the environement is active. But when I start Jupyter Notebook (from the Anaconda prompt with jupy...
Rene
1

votes
3

answer
6.7k

Views

How to downgrade Python from 3.7 to 3.5 in Anaconda [closed]

I've been trying to downgrade the version of Python in Anaconda as it doesn't support TensorFlow and I get the following error(s): screenshot of the error
Anonymous
1

votes
1

answer
813

Views

How update/remove conda-forge channel from Anaconda?

I want to install Orange3 through conda. So I type in Anaconda Prompt conda config --add channels confa-forge After that I try to install Orange3 conda install orange3 But the Anaconda prompt show this error message CondaHTTPEErroR: HTTP 404 NOT FOUND for url So I realize that I write confa-forge i...
Vinicius
1

votes
1

answer
98

Views

Anaconda always installs Python 3.7

My Ubuntu system is on python 2.7.15 conda install -c anaconda flask Anaconda always installs python 3.5 with Flask and other packages. How can I not install python 3.7 and leave python 2.7.15 as is when installing anaconda packages?
HoosierCoder
0

votes
0

answer
7

Views

Containerizing my app developed w/ Anaconda, using Docker

My first question here, so I am sorry if I did not follow a community guideline or if this is the wrong place to post. I am a rookie developer (still a student), and I created some geospatial analytics applications using the Anaconda distribution of Python, and they are pretty heavy on certain depen...
Sujay
1

votes
0

answer
75

Views

PyQt4 not found, despite file existing on the backend folder.

I am trying to run a code to get an interactive GUI. However, I get the following error while trying to use %matplotlib qt: So, I tried using %matplotlib qt5 and the problem still persists. I've checked the backends folder. I seem to have both backend_qt4agg and backend_qt5agg. I am using Conda 4....
hegdep
1

votes
1

answer
340

Views

Can't import python module using a conda environment in Snakemake rule

I created a Conda environment with python 3.5, in order to run Snakemake workflows. I'm using separate Conda environments in Snakemake rules. I would like to run one of them using python2 libs, however here I can't seem to import a specific module. This is my rule's environment: channels: - conda-f...
rioualen
1

votes
2

answer
1.8k

Views

Security Issues with Anaconda?

There has been some back and forth between myself and the IT department of a company I recently began working regarding the installation of Python / Anaconda suite on my work PC. The IT department is making claims of security risks (with Anaconda) but I suspect it’s more of a matter of them not w...
lewisj
1

votes
1

answer
453

Views

install PerformanceAnalytics on R version 3.4.2 (2017-09-28)

I tried to install PerformanceAnalytics on R version 3.4.2 (2017-09-28), and I get a series of error messages. The most meaningful seemed to be that PerformanceAnalytics was not compatible with my version of R (which is the most up to date one). Then it came up with: make: *** [momentF.o] Error 1 ER...
user8369515
1

votes
0

answer
61

Views

Why does write reject xlrd output on Anaconda command prompt?

I am working on a Windows computer. A script extracts data (numbers and strings) from an Excel spreadsheet, manipulates it, and outputs it using write. It worked fine until I started applying it to something with Unicode characters, at which point I got UnicodeEncodeError: 'charmap' codec can't enco...
SMK
1

votes
1

answer
888

Views

changing anaconda folder path

I recently have installed anaconda in my Ubuntu machine.By mistake,i shifted the anaconda folder from my home directory to inside another folder.Now when i tried to use anaconda command in the terminal it showed the error-'command not found'. Again i shifted my anaconda folder to it's by default hom...
Anonymous
1

votes
0

answer
347

Views

Source activation for anaconda python environments no longer working (Mac)

The source activate command in conda is suddenly no longer working for me. When I type source activate py3 in my Mac terminal, I get this error -bash: _conda_activate: command not found. I recently created a new conda environment for TabPy (Tableau python server); I'm not sure if that changed anythi...
Kristie
1

votes
0

answer
61

Views

Python threads and scipy.interpolate.interp2d

I have this class that creates random 2d maps. The following code does nothing except creating the map since I've stripped it down to isolate the bug: import numpy as np from scipy.interpolate import interp2d class CRelevanceMap: def __init__(self): self.relmap = self._create_map(4, 6) def _create_m...
Claudio
1

votes
0

answer
91

Views

Jupyter fails to start Python 3 kernel after a conda environment was removed

I just removed a conda created environment (nltk) and now my iPython kernel is stuck on the removed conda environment. Every time, I launch jupter notebook, the kernel fails to start and pops up with this error: FileNotFoundError: [Errno 2] No such file or directory: '/Users/mysterio/anaconda3/envs/...
Mysterio
1

votes
0

answer
102

Views

Anaconda after update: Command propmpt responding very slowly and IPython not loading

I ran the conda update --all command, but unfortunately something went wrong with the update process and windows crashed. Now if I try to redo the update the terminal is responding very slowly, to the point where installing the update is impossible. Even worse I ran conda update ipython, which also...
Tony
1

votes
1

answer
353

Views

Python - ModuleNotFound error using Anaconda

I am trying to run this program: #!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from io import open from multiprocessing import Pool import buildingspy....
Ricardo de Castro
1

votes
4

answer
344

Views

Issue Closing Then Reopening Anaconda Prompt After Installation

I just installed Anaconda for Python 2.7 on my laptop running 64 bit windows 8. Once I finish installing Anaconda I go to open the Anaconda prompt and then I run conda update --all. This runs seemingly fine. When it's done running I close the prompt by hitting the close button in the upper right cor...
User112358
1

votes
0

answer
1.1k

Views

Spyder launching

Hi I'm new to Anaconda and Spyder and I'm having some problems when running spyder. Firstly, when I write 'spyder' in Terminal, while it starts it gives me this code: [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0 [warn] kq_init: detected broken kqueue; not using.: Undefined...
1

votes
0

answer
1.1k

Views

installed keras and tensorflow but getting error

i am getting the this importerror even i have installed all the necessary modules like keras , tensorflow etc, i am not able to resolve it even working in conda environment. ImportError: No module named python.training #Imports import os from random import shuffle #Keras imports from keras.preproc...
Amit kumar
1

votes
0

answer
410

Views

Sublime Text 3 and Anaconda / SublimeCodeIntel Autocompletion

I just switched over from PyCharm to ST3 for Python development. I've installed Anaconda for autocompletion (and I've also tried SublimeCodeIntel). Here is the issue that I have having. If I type in the following import numpy as np both packages suggest 'numpy' after the 'as' and, if I am not payin...
Rustana
1

votes
0

answer
264

Views

PyInstaller issue with creating working executable

I've created a Windows 64-bit desktop app and it works when I run it from Spyder (part of Anaconda) and I'm using pyinstaller 3.3.1 (using the terminal within Anaconda) to create an EXE, the CLI code I'm using is: pyinstaller --clean -w -F -i 'C:\Users\User\Python_program\icon.ico' program.pyw I go...
hsc1000
1

votes
1

answer
396

Views

Installing tensorflow using pip within anaconda fails

I have a fresh Anaconda install (Python 3.6) and am trying to install tensorflow via pip (as described here) on Mac OS X High Sierra. Specifically, I've run: pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.4.1-py3-none-any.whl Output is the fol...
Jason McEwen
1

votes
0

answer
183

Views

Cannot find spyder after anaconda installation.

I installed anaconda on my laptop (windows 10) and the sypder IDE was automatically installed with the Anaconda distribution. Everything seems to work fine. However, I tried installing Anaconda on a different pc (windows 7), and I cannot find spyder. Wasn't it supposed to come with the Anaconda dist...
Artus
1

votes
1

answer
316

Views

ImportError: scipy/spatial/ckdtree.so

I'm using Anaconda2 v5.0.1 on LinuxMint 17.3 Rosa. When I tried to import scipy.stats I got this error: ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/dolf/anaconda2/lib/python2.7/site-packages/scipy/sparse/_sparsetools.so Then I tried this...
rudolfbyker
1

votes
1

answer
176

Views

Download full anaconda distribution in a new environment

I am using the Anaconda python 2.x distribution. I wanted to have python 3 installed, keeping python 2. I used the conda environment feature: conda create --name py3 python=3 That worked great, and I am able to switch between the two seamlessly. The problem is that on my python3 install I don't have...
graham
1

votes
0

answer
254

Views

Install tensorflow on Windows in a virtual environment using anaconda

I installed tensorflow on windows with anaconda following the tutorial in the official website. But when I'm trying to import tensorflow on python, I have this error : (tensorflow1) C:\Users\bromy>python Python 3.5.4 |Anaconda, Inc.| (default, Nov 8 2017, 14:34:30) [MSC v.1900 64 bit (AMD64)] on w...
Matthieu Veron
1

votes
1

answer
874

Views

Jupyter Notebook not working in browser

I downloaded Anaconda and attempted to run Jupyter Notebook right away but the browser tab displays This page isn't working, localhost is currently unable to handle this request. HTTP ERROR 500. I've looked all over online for answers but haven't found any solutions that have worked, so I re-downlo...
Sia

View additional questions