Skip to main content
Formatting + English
Source Link
tripleee
  • 8k
  • 2
  • 37
  • 45

this is my first question here and also a total absolute newb in Linux.so please be kind:)

I've spent the last week of my life trying to set up a development environment so I can learn machine learning. I have less hair now, not that I had too much before. NevermindNever mind.

I am using WSL 2 Ubuntu 20.04 on Windows 10.0.19054

afterAfter installing Cuda Toolkit and doing export path iI now have this message when iI log in

"-bash: /home/me/.profile: line 28: syntax error near unexpected token (' -bash: /home/me/.profile: line 28: export PATH=/usr/local/cuda-11.8/bin:/home/me/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Python27/:/mnt/c/Python27/Scripts:"

-bash: /home/me/.profile: line 28: syntax error near unexpected token `('
-bash: /home/me/.profile: line 28: `export PATH=/usr/local/cuda-11.8/bin:/home/me/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Python27/:/mnt/c/Python27/Scripts:

theThe path it'sis much longer but iI didn't put anything in it so I presume there are no errors there. I cut it so it wouldn't show the user name (is that correct to do?)

andAnd I'm stuck. There's no `(' anywhere.

Notes:

  • iI am trying to export the path for Cuda toolkit, which for the 18.8 version looks different from other versions. For instance the the "cuda" folder i'veI've seen in other examples is now "cuda-11.8"

  • theThe PATH has a lot of paths in "mnt/c" ... why?! iI haven't installed anything there? Are they installed by Windows?

I am not a complete idiot. I know a bit of DOS and iI understand Environment and Paths and syntax and stuff like. But my goal is not to learn Linux, i'mI'm not a coder. I'm a 3d generalist trying to run some apps. Please fell free to educate me in how iI should make posts here and iI really hope someone will help me.

This is my first question here and also a total absolute newb in Linux. So please be kind :)

this is my first question here and also a total absolute newb in Linux.so please be kind:)

I've spent the last week of my life trying to set up a development environment so I can learn machine learning. I have less hair now, not that I had too much before. Nevermind.

I am using WSL 2 Ubuntu 20.04 on Windows 10.0.19054

after installing Cuda Toolkit and doing export path i now have this message when i log in

"-bash: /home/me/.profile: line 28: syntax error near unexpected token (' -bash: /home/me/.profile: line 28: export PATH=/usr/local/cuda-11.8/bin:/home/me/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Python27/:/mnt/c/Python27/Scripts:"

the path it's much longer but i didn't put anything in it so I presume there are no errors there. I cut it so it wouldn't show the user name (is that correct to do?)

and I'm stuck. There's no `(' anywhere.

Notes:

  • i am trying to export the path for Cuda toolkit, which for the 18.8 version looks different from other versions. For instance the the "cuda" folder i've seen in other examples is now "cuda-11.8"

  • the PATH has a lot of paths in "mnt/c" ... why?! i haven't installed anything there? Are they installed by Windows?

I am not a complete idiot. I know a bit of DOS and i understand Environment and Paths and syntax and stuff like. But my goal is not to learn Linux, i'm not a coder. I'm a 3d generalist trying to run some apps. Please fell free to educate me in how i should make posts here and i really hope someone will help me :)

I've spent the last week of my life trying to set up a development environment so I can learn machine learning. I have less hair now, not that I had too much before. Never mind.

I am using WSL 2 Ubuntu 20.04 on Windows 10.0.19054

After installing Cuda Toolkit and doing export path I now have this message when I log in

-bash: /home/me/.profile: line 28: syntax error near unexpected token `('
-bash: /home/me/.profile: line 28: `export PATH=/usr/local/cuda-11.8/bin:/home/me/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Python27/:/mnt/c/Python27/Scripts:

The path is much longer but I didn't put anything in it so I presume there are no errors there. I cut it so it wouldn't show the user name (is that correct to do?)

And I'm stuck. There's no `(' anywhere.

Notes:

  • I am trying to export the path for Cuda toolkit, which for the 18.8 version looks different from other versions. For instance the the "cuda" folder I've seen in other examples is now "cuda-11.8"

  • The PATH has a lot of paths in "mnt/c" ... why?! I haven't installed anything there? Are they installed by Windows?

I am not a complete idiot. I know a bit of DOS and I understand Environment and Paths and syntax and stuff like. But my goal is not to learn Linux, I'm not a coder. I'm a 3d generalist trying to run some apps. Please fell free to educate me in how I should make posts here and I really hope someone will help me.

This is my first question here and also a total absolute newb in Linux. So please be kind :)

Source Link

-bash: /home/me/.profile: line 28: syntax error near unexpected token `('

this is my first question here and also a total absolute newb in Linux.so please be kind:)

I've spent the last week of my life trying to set up a development environment so I can learn machine learning. I have less hair now, not that I had too much before. Nevermind.

I am using WSL 2 Ubuntu 20.04 on Windows 10.0.19054

after installing Cuda Toolkit and doing export path i now have this message when i log in

"-bash: /home/me/.profile: line 28: syntax error near unexpected token (' -bash: /home/me/.profile: line 28: export PATH=/usr/local/cuda-11.8/bin:/home/me/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Python27/:/mnt/c/Python27/Scripts:"

the path it's much longer but i didn't put anything in it so I presume there are no errors there. I cut it so it wouldn't show the user name (is that correct to do?)

and I'm stuck. There's no `(' anywhere.

Notes:

  • i am trying to export the path for Cuda toolkit, which for the 18.8 version looks different from other versions. For instance the the "cuda" folder i've seen in other examples is now "cuda-11.8"

  • the PATH has a lot of paths in "mnt/c" ... why?! i haven't installed anything there? Are they installed by Windows?

I am not a complete idiot. I know a bit of DOS and i understand Environment and Paths and syntax and stuff like. But my goal is not to learn Linux, i'm not a coder. I'm a 3d generalist trying to run some apps. Please fell free to educate me in how i should make posts here and i really hope someone will help me :)