About Macports Deployment

Asked 2 years ago, Updated 2 years ago, 40 views

Results of dmg download from official website

eval "$(rbenv init-)"
export PATH="$HOME/.pyenv/shims:$PATH"
export PATH="/Users/k14044kk/.pyenv/versions/anaconda3-4.3.1/envs/opencvtest/lib/python3.5/site-packages/cv2.cpython-35m-darwin.so:$PATH"exportPYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
export PATH="/usr/local/bin:$PATH"
export PATH="$HOME/Users/k14044kk/.rbenv/bin:$PATH"
export PATH="$HOME/Users/k14044kk/.rbenv/plugins/ruby-build/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
event "$(rbenv init-)"
 ##
 #Your previous/Users/k14044kk/.bash_profile file was backed up as/Users/k14044kk/.bash_profile.macports-saved_2017-06-03_at_14:33:49
 ##
 # MacPorts Installer addition on 2017-06-03_at_14:33:49: adding an approve PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH" ← line 16
 # Finished adaptation your PATH environment variable for use with MacPorts.

# and later were added.
Only
If you type source~/.bash_profile,

-bash:/Users/k14044kk/.bash_profile:line16:unexpected EOF while looking for matching`"'
-bash:/Users/k14044kk/.bash_profile:line18:syntax error:unexpected end of file

is returned.How can I solve this problem?By the way, there is no line 18...

macos

2022-09-30 11:59

1 Answers

export PATH="/Users/k14044kk/.pyenv/versions/anaconda3-4.3.1/envs/opencvtest/lib/python3.5/site-packages/cv2.cpython-35m-darwin.so:$PATH"

" was " as shown in .
(There is no mention of the part in the question code)


2022-09-30 11:59

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.