Getting Started #5358
Unanswered
marcelamtrucco
asked this question in
Getting started
Getting Started
#5358
Replies: 3 comments 3 replies
-
You should probably install it with pip, not with Homebrew since it's going away soon |
Beta Was this translation helpful? Give feedback.
2 replies
-
Following those instructions:
Suggestions? I'm beginning to think that using Python for anything serious isn't tenable in the long-term. |
Beta Was this translation helpful? Give feedback.
1 reply
-
It can be solved as follows.
One inconvenience is that you'll need to reactivate the virtual environment each time you restart the terminal:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I have installed Python 3.12.3 using Homebrew in MacOs. I am trying now to install the module requests, using brew install python-requests, and I got the message: Warning: python-requests has been deprecated because it does not meet homebrew/core's requirements for Python library formulae!
==> Downloading https://ghcr.io/v2/homebrew/core/python-requests/manifests/2.31.0
Already downloaded: /Users/marcelamartinez/Library/Caches/Homebrew/downloads/6cb16fa127bf8c35117bb20414003d8bdbd6c27bc2fffc417ad4285eac476f69--python-requests-2.31.0.bottle_manifest.json
==> Fetching python-requests
==> Downloading https://ghcr.io/v2/homebrew/core/python-requests/blobs/sha256:ef53ca288c1f15629dd76ec733aea0111d
Already downloaded: /Users/marcelamartinez/Library/Caches/Homebrew/downloads/cc55a77bc3c7a50965cebcf3134ce59e46f92f0b8a7f9e399dd0f21efbe6b84b--python-requests--2.31.0.arm64_ventura.bottle.tar.gz
==> Reinstalling python-requests
==> Pouring python-requests--2.31.0.arm64_ventura.bottle.tar.gz
==> Caveats
Additional details on upcoming formula removal are available at:
==> Summary
🍺 /opt/homebrew/Cellar/python-requests/2.31.0: 58 files, 457.3KB
==> Running
brew cleanup python-requests
...Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see
man brew
).I am confused if the module is not available from Homebrew? when I run import requests in Phyton env, I got the error that the module is not found.
Any help would be appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions