Anaconda

python stopped working on anaconda prompt startup

落花浮王杯 提交于 2020-01-05 04:27:23
问题 Recently i have installed anaconda 64 bit python 3 version on my laptop. when i started anaconda prompt, it shows error of "Python has stopped working" This is error in prompt, Fatal Python error: Py_Initialize: unable to load the file system codec File "C:\Python27\Lib\encodings\__init__.py", line 123 raise CodecRegistryError,\ SyntaxError: invalid syntax I have done enough search but couldn't find anything. Please help me resolve this error. thank you. 回答1: This error seems to usually be

Python: Python.h file missing

别等时光非礼了梦想. 提交于 2020-01-05 04:00:52
问题 I am using Ubuntu 16.04. I am trying to install Murmurhash python library but it is throwing error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 . I looked on Internet and it is says that this error is due to missing python header files. So i did sudo apt-get install python-dev but still the error is there. Is the error because i have Anaconda installed or what ? Can somebody help me as in how to rectify this error. Error is as follow : running install running build running build

How do you make Python console script entry points work when installed package uses a conda virtual environment?

旧时模样 提交于 2020-01-05 03:51:33
问题 Problem - Shifting from non-virtual to a conda virtual environment causes console script entry points to be unrecognized. Background - I recently tried to get religion about using virtual environments for my Python projects. I decided to do this after update to macOS Catalina caused all of my PyCharm projects to show invalid interpreter errors. I thought "What could go wrong throwing one big mess on top of another?" Two days later I could finally run a script again - the worst brick wall I've

How to use anaconda packages for python 3.7 on windows 10?

吃可爱长大的小学妹 提交于 2020-01-04 15:28:48
问题 Im on windows 10 Pro 64 bit version. I download Anaconda3-2019.03-Windows-x86_64.exe from this page: https://www.anaconda.com/distribution/ I double click the exe and follow the steps - I install it system wide at C:\ProgramData\Anaconda3. I launch the anaconda prompt. I create a virtualenv with conda create --name pythone37 python=3.7. I do conda install numpy (for instance) Then I get : Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type

Installing Python modules with Anaconda or Canopy

家住魔仙堡 提交于 2020-01-04 14:06:33
问题 I have played around with Python a little but never have I had to install my own packages. I am currently trying to write a program that reads in 'tiff' files so I'm trying to install the 'libtiff' package and I'm having a nightmare! First, I was using the Anaconda distribution and the phrase 'conda install libtiff' which would tell me the install was successful. However then I was never able to find libtiff in the Spyder IDE or ipython console. Having used Canopy in the past, I uninstalled

PyQt QML error console missing

倾然丶 夕夏残阳落幕 提交于 2020-01-04 04:09:26
问题 The title says pretty much everything. Lets say I have this simple application: main.py >>> import sys from PyQt5.QtCore import QUrl from PyQt5.QtWidgets import QApplication from PyQt5.QtQuick import QQuickView # Main Function if __name__ == '__main__': # Create main app myApp = QApplication(sys.argv) # Create a label and set its properties appLabel = QQuickView() appLabel.setSource(QUrl('main.qml')) # Show the Label appLabel.show() # Execute the Application and Exit myApp.exec_() sys.exit()

After upgrading to Numpy 1.8.2, ImportError: cannot import name multiarray

こ雲淡風輕ζ 提交于 2020-01-03 21:01:56
问题 I just upgraded to Numpy 1.8.2 on my 64-bit Windows machine using Anaconda's Spyder. I used the command: conda update numpy It installed it. Before that I had numpy 1.7.1, and I also have a 32-bit version of anaconda spyder in another path, but I 've taken it out of the system PATH variable. Now the issue is that as soon as I try to run any code, I get an error that ends in: from . import multiarray ImportError: cannot import name multiarray One of the first imports in ___init___.py for numpy

Anaconda libstdc++.so.6: version `GLIBCXX_3.4.20' not found

不羁的心 提交于 2020-01-03 18:53:10
问题 I am using anaconda for python and I face this problem I tried a lot to solve this error, but still not solved. I used the following commands so far sudo apt-get install libstdc++6 sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade conda install libgcc in this link a solution provided but I still don't know how to do that 回答1: I solved this by conda install libgcc=5.2.0 回答2: I meet the same problem, which is when I run

python包安装bug总结

血红的双手。 提交于 2020-01-03 16:42:13
安装ahocorasick(pyahocorasick)的一些总结 安装步骤 1. 以管理员的身份运行Anaconda Prompt 2.运行之后按如下操作 注意: 安装步骤 1. 以管理员的身份运行Anaconda Prompt 2.运行之后按如下操作 注意: 会出现不能更新conda或者请求资源不存在的问题。这是时只需要把conda的配置文件改一下就好了如下图: 将.condarc里面的- defaults删除即可,所有问题都不会出现了。就可以使用了。 来源: CSDN 作者: 盈嘉小红砖(同公众号) 链接: https://blog.csdn.net/weixin_45544796/article/details/103820625

GAE Python : dev_appserver.py: error: too few arguments

删除回忆录丶 提交于 2020-01-03 15:59:15
问题 I am trying to run the basic helloworld code described here https://cloud.google.com/appengine/docs/python/. However, whenever I try the dev_appserver.py helloworld/ command, I get a usage error for the dev_appserver.py command. I have installed Python 2.7 and also have Python 2.7 Anaconda installed on my system. Could the Anaconda Python be the cause of the issue? The file structure of my code is as follows: Project helloworld app.yaml helloworld.py README.md I have tried executing the dev