homebrew

Import "…" could not be resolved MacOs – Environment

Import "…" could not be resolved MacOs – Environment Question: I have a repetitive problems almost in all my projects. I use separate environments for each project, then I install related libraries for them. I used pip or brew for installation. But most of the time I had this error: Import "…" could not be …

Total answers: 3

python runs older version after installing updated version on Mac

python runs older version after installing updated version on Mac Question: I am currently running python 3.6 on my Mac, and installed the latest version of Python (3.11) by downloading and installing through the official python releases. Running python3.11 opens the interpreter in 3.11, and python3.11 –version returns Python 3.11.0, but python -V in terminal …

Total answers: 1

How can I install MacVim on OSX 12.5 and get it to run the REPL for Lisp?

How can I install MacVim on OSX 12.5 and get it to run the REPL for Lisp? Question: Update: Due to a change in the default build of vim and a change in directory structure on MacOS 12.5 no longer having Python frameworks installed, SLIMV initiated REPL doesn’t work with vim of MacVim when installing …

Total answers: 2

Why is not recommended to install poetry with homebrew?

Why is not recommended to install poetry with homebrew? Question: Poetry official documentation strictly recommends sticking with the official installer. However, homebrew has poetry formulae. brew install poetry Usually, I like to keep everything I can in homebrew to manage installations easily. What is the drawback and risks of installing poetry using homebrew instead of …

Total answers: 3

"brew install python" installs 3.9. Why not 3.10?

"brew install python" installs 3.9. Why not 3.10? Question: My understanding is that "brew install python" installs the latest version of python. Why isn’t it pulling 3.10? 3.10 is marked as a stable release. I can install 3.10 with "brew install [email protected] just fine and can update my PATH so that python and pip point …

Total answers: 2

pyenv install: 3.x BUILD FAILED (Ubuntu 20.04 using python-build 20180424)

pyenv install: 3.x BUILD FAILED (Ubuntu 20.04 using python-build 20180424) Question: Trying to install a new Python – version with pyenv on Ubuntu 20.04 WSL for Windows 10 fails with the following output: username@hd1pcms0347:~$ pyenv install 3.9.4 Downloading Python-3.9.4.tar.xz… -> https://www.python.org/ftp/python/3.9.4/Python-3.9.4.tar.xz Installing Python-3.9.4… python-build: use readline from homebrew BUILD FAILED (Ubuntu 20.04 using python-build 20180424) …

Total answers: 2

Pip uses a different python version than the one I installed

Pip uses a different python version than the one I installed Question: I installed Python 3.8.2 on Mac OS with Homebrew. I added the directory to PATH, but it seems to have installed wrong versions. I tried to install pygame with pip3, but when I ran the .py with python3, it told me the module …

Total answers: 2

How to reinstall python@2 from Homebrew?

How to reinstall python@2 from Homebrew? Question: I have been having issues with openssl and python@2 with brew, which have explained here (unresolved). The documented workaround to reinstall Python and openssl was not working, so I decided I would uninstall and reinstall Python. The problem is, when you try to install Python 2 with brew, …

Total answers: 13

"ERROR:root:code for hash md5 was not found" when using any hg mercurial commands

"ERROR:root:code for hash md5 was not found" when using any hg mercurial commands Question: When trying to use any hg Mercurial commands on the console, I keep getting this error. I installed Python using Homebrew and I am running Mac OS Catalina v. 10.15.1. Any reference would be appreciated. Here is the error I’m getting: …

Total answers: 15