I'm having an issue while trying to install django 2.1 on terminal in pycharm. I've tried to add it to path on advanced settings by right-clicking on computer. Not worked.
Any solutions highly appreciated.
I'm having an issue while trying to install django 2.1 on terminal in pycharm. I've tried to add it to path on advanced settings by right-clicking on computer. Not worked.
Any solutions highly appreciated.
What's the output of the PATH variable when you do echo $PATH
?
You can also invoke pip as a module through the python interpreter itself, which sometimes resolves path issues if things aren't linked correctly:
python -m pip install django==2.1
See the man page for more information on the m
switch: https://linux.die.net/man/1/python, or this comprehensive answer.
EDIT
As carcigenicate pointed out, the issue was the manual insertion of the $
character into the prompt.
I drafted this answer shortly after it had been posted. By the time I'd finished writing it and posted the answer, the solution had been found in the comments.
Being new to answering questions on SO, I turned to the Meta site to determine what to do in this situation (should I a) delete my answer, b) edit my answer to include the solution discovered in the comments, or c) do something else?)
Based on this answer, the question should probably be voted to close, as the problem was typographical. I don't currently have enough reputation to do so, so I opted to edit my answer and leave it up, instead. :)