Importing Pandas gives error AttributeError: module ‘pandas’ has no attribute ‘core’ in iPython Notebook

Apparently the error I got when trying to import pandas for the first time was ValueError: unknown locale: UTF-8 Trying to import again afterwards, gave another error as described in my question above. I found the solution to solve the ValueError on IPython Notebook locale error After updating my bash profile, the error AttributeError: module ‘pandas’ has no attribute ‘core’ did … Read more

Conda activate not working?

As of conda 4.4, the command is the same on all platforms. The procedure to add conda to the PATH environment variable for non-Windows platforms (on Windows you should use the Anaconda Prompt), as well as the change in environment activation procedure, is detailed in the release notes for conda 4.4.0. For conda versions older than 4.4, command is either on … Read more

Installation of pygame with Anaconda

The easiest way to install Python using conda is: conda install -c https://conda.binstar.org/krisvanneste pygame Edit (03/2016): It seems like the package is unavailable, but you can use this instead: conda install -c https://conda.anaconda.org/tlatorre python Edit (01/2017) The command has changed, now you can use: conda install -c tlatorre pygame=1.9.2 Edit (07/2018) tlatorre’s repo is still … Read more

Conda command is not recognized on Windows 10

In Windows, you will have to set the path to the location where you installed Anaconda3 to. For me, I installed anaconda3 into C:\Anaconda3. Therefore you need to add C:\Anaconda3 as well as C:\Anaconda3\Scripts\ to your path variable, e.g. set PATH=%PATH%;C:\Anaconda3;C:\Anaconda3\Scripts\. You can do this via powershell (see above, https://msdn.microsoft.com/en-us/library/windows/desktop/bb776899(v=vs.85).aspx ), or hit the windows … Read more

Install Plotly in Anaconda

If you don’t care which version of Plotly you install, just use pip. pip install plotly is an easy way to install the latest stable package for Plotly from PyPi. pip is a useful package and dependency management tool, which makes these things easy, but it should be noted that Anaconda’s conda tool will do the same thing. pip will install … Read more

Anaconda / Python: Change Anaconda Prompt User Path

In Windows, if you have the shortcut in your taskbar, right-click the “Anaconda Prompt” icon, you’ll see: Anaconda Prompt Unpin from taskbar (if pinned) Close window Right-click on “Anaconda Prompt” again. Click “Properties” Add the path you want your anaconda prompt to open up into in the “Start In:” section. Note – you can also … Read more