![]() ![]() ![]() After installed I can execute the command, but got some error message: % virtualenvįile "/usr/local/bin/virtualenv", line 6, in įrom pkg_resources import load_entry_pointįile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/_init_.py", line 3241, in "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/_init_.py", line 3225, in _call_asideįile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/_init_.py", line 3254, in _initialize_master_working_setįile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/_init_.py", line 583, in _build_masterįile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/_init_.py", line 900, in require I searched for this and got a tip to use "easy_install" to install virtualenv. ![]() Requires: six, platformdirs, backports.entry-points-selectable, distlib, filelockīut when I use "virtualenv" I got command not found message then I "pip3 uninstall" it. Location: /Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages Summary: Virtual Python Environment builder I can use "pip3 show virtualenv" to know the info: % pip3 show virtualenv WARNING: Ignoring invalid distribution - (/Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages) Today I want to install virtaulenv: % sudo -H pip3 install virtualenv The pip command cannot not be found but pip3 is ok. Hi I'm a beginner of python, I don't remember when and how I installed python3.8 on my Macbook air, only knew the installed path: % which python ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |