Daniyal Ahmed

Python Developer since 2020 | Release Manager for Python 3.8 | Creator of Black code formatter | Contributing to Python's growth and adoption.
152 Posts

How to Fix “Cannot Import Name ‘Pivot’ from ‘Scripts’” ImportError in MEL/Python

If you’ve been trying to install Matt Taylor’s mtTools script in Autodesk Maya and got smacked with an error that looks like this: # Error:...

How to Fix Python Black Error When Auto Formatting Selected Code via External Tools

I ran into a frustrating snag while wiring Black into my editor’s External Tools so I could auto format only the selected code. Sometimes...

How to Fix a Python Memory Error When Saving and Splitting CSV Files

When working with large datasets in Python, memory errors can be a common issue, especially when fetching data from external sources like Salesforce. This...

How to Fix a Fatal Python Error While Executing an Application Created in Python

If you've ever used Python to create an application and packaged it using PyInstaller, you might have encountered the dreaded Fatal Python error: initfsencoding...

How to Fix a Conda Environment With Specific Python Version

I recently ran into a tricky situation while trying to set up a Conda environment with a very specific Python version (3.3.0). I thought...