For posterity: I had the same problem and fixed it using,
sed -i 's/\x0//g' FILENAME
The file seemed to be messed up in numerous ways (wrong endings, etc); no idea how…
See https://stackoverflow.com/a/2399817/230468
Related Contents:
- bash: pip: command not found
- How to set Python’s default version to 3.x on OS X? [duplicate]
- How to install PIL with pip on Mac OS?
- Virtualenv Command Not Found
- Broken references in Virtualenvs
- Cannot install Lxml on Mac OS X 10.9
- Why is the apt-get function not working in the terminal on Mac OS X v10.9 (Mavericks)?
- How to uninstall Anaconda completely from macOS
- pip or pip3 to install packages for Python 3?
- How to change default Python version?
- How to install 2 Anacondas (Python 2 and 3) on Mac OS
- Where is virtualenvwrapper.sh after pip install?
- Mac OS X – EnvironmentError: mysql_config not found
- Can’t install PIL after Mac OS X 10.9
- pip installation /usr/local/opt/python/bin/python2.7: bad interpreter: No such file or directory
- How to run Python script on terminal?
- How can I fix the “zsh: command not found: python” error? (macOS Monterey 12.3, Python 3.10, Atom IDE, and atom-python-run 0.9.7)
- Could not install packages due to a “Environment error :[error 13]: permission denied : ‘usr/local/bin/f2py'”
- Mac OSX python ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)
- Getting “cannot write mode P as JPEG” while operating on JPG image
- Docker process killed with cryptic `Killed` message
- Why am I getting “Permission denied” when activating a venv?
- when installing pyaudio, pip cannot find portaudio.h in /usr/local/include
- What version of Python is on my Mac?
- ImportError: No module named ‘selenium’
- How to make Python use CA certificates from Mac OS TrustStore?
- Error installing Python Image Library using pip on Mac OS X 10.9
- SSL error downloading NLTK data
- Cross-platform space remaining on volume using python
- pip install pygraphviz: No package ‘libcgraph’ found
- How to link home brew python version and set it as default
- env: python\r: No such file or directory
- How to uninstall pip on OSX?
- Segmentation fault: 11 in OS X
- Big Sur clang “invalid version” error due to MACOSX_DEPLOYMENT_TARGET
- IOError: [Errno 24] Too many open files:
- Can’t install virtualenvwrapper on OSX 10.11 El Capitan
- What is the safest way to removing Python framework files that are located in different place than Brew installs
- Using virtualenv with spaces in a path
- How to change the foreground or background colour of a Tkinter Button on Mac OS X?
- Error when installing mpi4py
- How to switch Python versions in Terminal?
- Selenium gives “selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary” on Mac
- Python: ImportError: lxml not found, please install it
- How to make Mac OS use the python installed by Homebrew
- How to find all python installations on mac os x and uninstall all but the native OS X installation
- ERROR: Failed building wheel for numpy , ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
- Unexpected output of ‘arch’ on OSX (using Mac M1 installing elastic beans)
- “This package should not be accessible on Python 3” when running python3
- How to build a SystemTray app for Windows?