Anaconda

How did my anaconda change to use Python 2.7?

烈酒焚心 提交于 2021-01-29 08:08:35
问题 I installed Anaconda for Python 3.7, and I created an environment tf to install lots of library, including iPython. After I logged into iPython terminal, I can see that it is using Python 3.6. I have been using environment for a while. However, today after I use conda install pil to install a library, i can see that a lot of libraries are updated. After the installation, when I logged into iPython again, it shows that "Python 2.7.15" in the same environment tf . How can I switch back to use

ImportError with python-pptx

左心房为你撑大大i 提交于 2021-01-29 06:07:04
问题 I faced with problem when I installed python-pptx with conda on cleaned environment: conda install -c conda-forge python-pptx. After install was successfully finished I tried to import pptx module and got following error: >>> import pptx Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\SazonovEO\AppData\Local\Continuum\anaconda3\envs\new\lib\site-p ackages\pptx\__init__.py", line 13, in <module> from pptx.api import Presentation # noqa File "C:\Users

Getting crontab on MAC to run anaconda installed python script (module not found)

自闭症网瘾萝莉.ら 提交于 2021-01-29 05:42:35
问题 I am trying to set up crontab for a script written in python which is intalled via Anaconda. The simple .py runs (it just loads a module for a demo) and can be run in terminal with python a.py . The problem is getting crontab the path for python and imported modules. I have been trying to set the PATH and PYTHONPATh to the python directory and also where pandas is located. I think this is a env issue but have no idea what that means. Any ideas? The crontab is: SHELL=/bin/sh PYTHONPATH=/Users

anaconda-navigator does not start

别等时光非礼了梦想. 提交于 2021-01-29 05:04:23
问题 I installed anaconda 4.8.3 on a openSuSE Leap 15.2 (KDE Plasma), but when I try to start anaconda-navigator , I get: No protocol specified qt.qpa.screen: QXcbConnection: Could not connect to display :0 Could not connect to any X display. Any ideas what went wrong? 回答1: A system update fixed it. Can't say, which one exactly. 来源: https://stackoverflow.com/questions/62755233/anaconda-navigator-does-not-start

Package not found error while installing CuSpatial or CuDf library

让人想犯罪 __ 提交于 2021-01-29 03:00:48
问题 So, to calculate Hausdorff Distance in a short time I found a CuSpatial library or cudf library. But while trying to install it through the Anaconda Promt conda install -c rapidsai-nightly cuspatial i get the following: PackagesNotFoundError: The following packages are not available from current channels: cuspatial Current channels: https://conda.anaconda.org/rapidsai-nightly/win-64 https://conda.anaconda.org/rapidsai-nightly/noarch https://conda.anaconda.org/conda-forge/win-64 https://conda

Could not build gem5 on a machine with anaconda: “lto1: fatal error: bytecode stream”

久未见 提交于 2021-01-29 02:39:50
问题 When I tried to build gem5 with command scons build/X86/gem5.opt -j12 , I received an error message saying lto1: fatal error: bytecode stream in file '/home/beihai/anaconda3/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a' generated with LTO version 6.0 instead of the expected 8.1 I think it might be the problem of wrong gcc version. But I do not know how to fix it. My system is Kubuntu 20.04 By running gcc -v , I got the global gcc version gcc version 9.3.0 By running /home/beihai

Could not build gem5 on a machine with anaconda: “lto1: fatal error: bytecode stream”

对着背影说爱祢 提交于 2021-01-29 02:33:17
问题 When I tried to build gem5 with command scons build/X86/gem5.opt -j12 , I received an error message saying lto1: fatal error: bytecode stream in file '/home/beihai/anaconda3/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a' generated with LTO version 6.0 instead of the expected 8.1 I think it might be the problem of wrong gcc version. But I do not know how to fix it. My system is Kubuntu 20.04 By running gcc -v , I got the global gcc version gcc version 9.3.0 By running /home/beihai

Mas OS Big Sur update - Python3 / conda / pip not found

僤鯓⒐⒋嵵緔 提交于 2021-01-28 23:03:51
问题 Sorry if this is a stupid question. I use python/jupyter a lot and it's stopped working after updating from Mac OS High Sierra to Big Sur. I'm trying to figure out why, but I'm not great with command line stuff. The problem. When I try python3 , pip -v , conda , etc. it says "command not found". python still seems to run, but it's 2.7 and I know I had 3 (I probably had a few versions from untidy file systems). I want to avoid reinstalling all my packages and things again, because I know it's

Mas OS Big Sur update - Python3 / conda / pip not found

风格不统一 提交于 2021-01-28 22:44:02
问题 Sorry if this is a stupid question. I use python/jupyter a lot and it's stopped working after updating from Mac OS High Sierra to Big Sur. I'm trying to figure out why, but I'm not great with command line stuff. The problem. When I try python3 , pip -v , conda , etc. it says "command not found". python still seems to run, but it's 2.7 and I know I had 3 (I probably had a few versions from untidy file systems). I want to avoid reinstalling all my packages and things again, because I know it's

Failing to update Anaconda Spyder

旧城冷巷雨未停 提交于 2021-01-28 20:22:56
问题 I recently downloaded Anaconda, mainly since I want to work with Spyder. Today when running Spyder I was told that there is a new update: Spyder 4.0.1 is available! Please use your package manager to update Spyder or go to our Releases page to download this new version. If you are not sure how to proceed to update Spyder please refer to our Installation instructions. I was not sure how to priceed to updatae, so I clicked the "Installation" link, where it tells me that to update Spyder, all I