![]() ![]() Any ideas? error: command 'x86_64-linux-gnu-gcc' failed with exit status 1. ![]() Việc đầu tiên đó là bạn cần tìm ra file Python.h để xử lý lỗi này. However since I installed it, every time I fire up the terminal I get: bash: WORKON_HOME=~/.virtualenvs: No such file or directory I checked if the environment variable WORKON_HOME is set correctly by typing: echo $WORKON_HOME and I get as output: Python.h chỉ là 1 file header, được sử dụng bởi chương trình compile gcc để xây dựng chương trình/ ứng Python h no such file or directory. USR/LOCAL/BIN/VIRTUALENVWRAPPER.SH NO SUCH FILE OR DIRECTORY INSTALLsudo apt-get install python-dev python3-dev. python-3.The missing header file Python.h is in the python-dev package, first check that you have it installed: $ dpkg -get-selections |grep python-dev libboost-mpi-python-dev install libboost-python-dev install python-dev install. VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 and that PATH is If Python could not import the module virtualenvwrapper.hook_loader,Ĭheck that virtualenvwrapper has been installed for Virtualenvwrapper.sh: There was a problem running the initialization hooks. Кроме того, когда я запускаю /bin/bash -login, я получаю следующее: bash: /path/to/virtualenvwrapper.sh: No such file or directoryīash: /Users/anarenault/.local/bin/virtualenvwrapper.sh: No such file or directoryīash: /usr/bin/python3: No such file or directory Requirement already satisfied: six>=1.10.0 in /Library/Frameworks/amework/Versions/3.7/lib/python3.7/site-packages (from stevedore->virtualenvwrapper) (1.12.0) Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in /Library/Frameworks/amework/Versions/3.7/lib/python3.7/site-packages (from stevedore->virtualenvwrapper) (5.2.0) ![]() Requirement already satisfied: virtualenv-clone in /Library/Frameworks/amework/Versions/3.7/lib/python3.7/site-packages (from virtualenvwrapper) (0.5.3) Requirement already satisfied: stevedore in /Library/Frameworks/amework/Versions/3.7/lib/python3.7/site-packages (from virtualenvwrapper) (1.30.1) Requirement already satisfied: virtualenvwrapper in /Library/Frameworks/amework/Versions/3.7/lib/python3.7/site-packages (4.8.4) Requirement already satisfied: virtualenv in /Library/Frameworks/amework/Versions/3.7/lib/python3.7/site-packages (16.6.0) If executing pip with sudo, you may want sudo's -H flag. check the permissions and owner of that directory. Когда я запускаю команду, я получаю следующее: WARNING: The directory '/Users/anarenault/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |