I am using MacM3 Pro, and I am using zsh and pyenv 3.8.10.
:~$ python -m pip show requests
Name: requests
Version: 2.32.4
Summary: Python HTTP for Humans.
Home-page: https://requests.readthedocs.io
Author: Kenneth Reitz
Author-email: me@kennethreitz.org
License: Apache-2.0
Location: /Users/leekiyoung/.pyenv/versions/3.8.10/lib/python3.8/site-packages
Requires: charset-normalizer, certifi, urllib3, idna
Required-by:
The requests module is properly installed in the pyenv environment on my PC.
However, when using the cli command,
Traceback (most recent call last):
File "/Users/leekiyoung/.local/bin/perplexity", line 7, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
The first line of the ~/.local/bin/perplexity file is
#!/usr/bin/python3
The above environment is being used.
Can I use it without modifying the file?
I am using MacM3 Pro, and I am using zsh and pyenv 3.8.10.
:~$ python -m pip show requests
The requests module is properly installed in the pyenv environment on my PC.
However, when using the cli command,
The first line of the ~/.local/bin/perplexity file is
#!/usr/bin/python3The above environment is being used.
Can I use it without modifying the file?