Skip to content Skip to sidebar Skip to footer

Import Issue For Setproctitle On Mac Os,

In python, If I try to import setproctitle I get the following import error: ImportError: dlopen(/Users/xxx/.local/share/virtualenvs/airflow_gg-F_Vv1Po_/lib/python3.7/site-package

Solution 1:

Works fine for Python 3.8 installed directly from Python page.

> python3.8 -m pip install virtualenv
> python3.8 -m virtualenv -p \
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 proctest
> source proctest/bin/activate
> python3.8 -m pip install setproctitle
> python3.8
...
...
>>> import setproctitle
>>>

Post a Comment for "Import Issue For Setproctitle On Mac Os,"