how to update spyder on anaconda

To expand on juanpa.arrivillaga‘s comment: If you want to update Spyder in the root environment, then conda update spyder works for me. If you want to update Spyder for a virtual environment you have created (e.g., for a different version of Python), then conda update -n $ENV_NAME spyder where $ENV_NAME is your environment name. EDIT: In case conda update spyder isn’t working, this post indicates you … Read more

Convert columns to string in Pandas

One way to convert to string is to use astype: However, perhaps you are looking for the to_json function, which will convert keys to valid json (and therefore your keys to strings): Note: you can pass in a buffer/file to save this to, along with some other options…

Opening a .ipynb.txt File

I have got downloaded a file that got downloaded in a format .pynb.txt extension. Can anyone help me to figure how to make it in a readable format? Attaching a screenshot of the file when i tried opening in python notebook.

anaconda/conda – install a specific package version

There is no version 1.3.0 for rope. 1.3.0 refers to the package cached-property. The highest available version of rope is 0.9.4. You can install different versions with conda install package=version. But in this case there is only one version of rope so you don’t need that. The reason you see the cached-property in this listing is because it contains the string “rope”: “cached-p rope erty” py35_0 means that you need python version 3.5 for this … Read more

No module named pkg_resources

July 2018 Update Most people should now use pip install setuptools (possibly with sudo). Some may need to (re)install the python-setuptools package via their package manager (apt-get install, yum install, etc.). This issue can be highly dependent on your OS and dev environment. See the legacy/other answers below if the above isn’t working for you. Explanation This error message is caused … Read more

Can I run Keras model on gpu?

Yes you can run keras models on GPU. Few things you will have to check first. your system has GPU (Nvidia. As AMD doesn’t work yet) You have installed the GPU version of tensorflow You have installed CUDA installation instructions Verify that tensorflow is running with GPU check if GPU is working sess = tf.Session(config=tf.ConfigProto(log_device_placement=True)) for TF … Read more