I tried to install OpenCV through Homebrew by following the steps given in http://www.pyimagesearch.com/2016/12/05/macos-install-opencv-3-and-python-3-5/ but after installing virtualenv and virtualenvwrapper I updated the path as given. When I source it I get the following
I have macOS Sierra 10.12.6, Xcode 8.3.3. Then I closed the Terminal and reopened it. Since then whenever I open the Terminal I see the same line in the second line of the terminal. I made a small change and installed virtualenv using
grg♦
hareen tejhareen tej
2 AnswersThis is a common stumbling block when editing shell files. I would remove any .bashrc and .bash_profile entries you know you don't need and then get a package manager to help you with managing the bash requirements. There is step by step help and many questions here on how to get homebrew set up. The benefits of homebrew is it makes some decisions about where alternative versions of python and packages live and you can not have to manage those as the software changes.
bmike♦bmike
i solved it by just emptying the bash_profile and save an empty bash_profile . then after you wont see that second line whenever you open the terminal .
nohillside♦
hareen tejhareen tej
You must log in to answer this question.Not the answer you're looking for? Browse other questions tagged macosterminalbashhomebrewpython .I get this error: In Makefile.config I have: And in Makefile I have: I am using virtual environment for running OpenCV3 with Python3.4.3+: However in in the /usr/include I have these Pythons I was not sure which one is actually for Python3.4.3+: I have this for my Virtual Environment in the bashrc: Basically how can I setup Caffe to work with Python3.4.3+?https://github.com/rbgirshick/py-faster-rcnn
Mona JalalMona Jalal
1 AnswerUse this
GQB1226GQB1226
Not the answer you're looking for? Browse other questions tagged pythonpython-3.xubuntumakefilecaffe or ask your own question.I'm a bit of a newbie to Python and definitely to virtual environments and Django. I want to install Django but it first recommends a https://virtualenvwrapper.readthedocs.io/en/latest/install.html#basic-installationandhttps://stackoverflow.com/questions/15101559/terminal-where-is-the-shell-start-up-file I first ran which seemed to work fine. It generated some messages, ending with: I then had to follow the 'shell startup' guidelines which mentioned adding these lines to be shell startup file: I did this. Once I run
After searching online, a forum post recommended that I run:
and this gives me the result:
Note I have Anaconda installed for some (previous) learning. I now want to install/learn Django. Bad Interpreter: No Such File Or DirectorySearching online, one person recommended to copy the I'm super confused - I never was good with server/installing stuff so I'd really appreciate guidance on how/what to install correctly in order to get my virtual environment working, and then hopefully I can use Django. Perhaps you may recommend Errno 2 No Such File Or Directory
or please simply let me know the steps I should follow as I don't want to mess anything up, if I haven't already! UPDATE I copied the file from Anandonda to the main folder as explained above, and then ran this. The following messages were generated, and now I seem to be good, I can use the
rishijd
rishijdrishijd
1 AnswerYou have a mix of pythons on your machine. I would stick to one. In this case I would stick to anaconda. SO edit your path so that anaconda is first on the path before /usr/local/bin and /usr/bin Finding nemo movie free download in hindi 3gp. Test by running You should get If a 2 rather than 3 you have python2,7 and I would switch to 3. You can now use virtulenv etc as they are part of python 3.6 (the current 3.x version) see the python docs You should use venv now not what your tutorial shows https://docs.python.org/3/library/venv.html However as you are using anaconda you can use conda insteaf of venv, You will find most things already installed (I use conda as it provides prebuilt C libraries when needed, pip etc can be more complex and also could require Xcode) https://conda.io/docs/user-guide/getting-started.html The django install is at https://anaconda.org/anaconda/django Usr/local/bin/virtualenvwrapper.sh No Such File Or Directory
MarkMark
You must log in to answer this question.Not the answer you're looking for? Browse other questions tagged macossierrapython .I'm a bit of a newbie to Python and definitely to virtual environments and Django. I want to install Django but it first recommends a https://virtualenvwrapper.readthedocs.io/en/latest/install.html#basic-installationandhttps://stackoverflow.com/questions/15101559/terminal-where-is-the-shell-start-up-file I first ran which seemed to work fine. It generated some messages, ending with: I then had to follow the 'shell startup' guidelines which mentioned adding these lines to be shell startup file: I did this. Once I run
After searching online, a forum post recommended that I run:
and this gives me the result:
Note I have Anaconda installed for some (previous) learning. I now want to install/learn Django. Searching online, one person recommended to copy the I'm super confused - I never was good with server/installing stuff so I'd really appreciate guidance on how/what to install correctly in order to get my virtual environment working, and then hopefully I can use Django. Perhaps you may recommend
or please simply let me know the steps I should follow as I don't want to mess anything up, if I haven't already! UPDATE I copied the file from Anandonda to the main folder as explained above, and then ran this. The following messages were generated, and now I seem to be good, I can use the
rishijd
rishijdrishijd
1 AnswerYou have a mix of pythons on your machine. I would stick to one. In this case I would stick to anaconda. SO edit your path so that anaconda is first on the path before /usr/local/bin and /usr/bin Test by running You should get If a 2 rather than 3 you have python2,7 and I would switch to 3. You can now use virtulenv etc as they are part of python 3.6 (the current 3.x version) see the python docs You should use venv now not what your tutorial shows https://docs.python.org/3/library/venv.html However as you are using anaconda you can use conda insteaf of venv, You will find most things already installed (I use conda as it provides prebuilt C libraries when needed, pip etc can be more complex and also could require Xcode) https://conda.io/docs/user-guide/getting-started.html The django install is at https://anaconda.org/anaconda/django
MarkMark
You must log in to answer this question.Not the answer you're looking for? Browse other questions tagged macossierrapython .Comments are closed.
|