linuxserver / docker-code-server

GNU General Public License v3.0
1.63k stars 327 forks source link

Cannot find conda #160

Closed stevenbaert closed 8 months ago

stevenbaert commented 11 months ago

Is there an existing issue for this?

Current Behavior

bash: conda: command not found

Added both paths to the profile via

export PATH="/root/miniconda3/bin:$PATH"

Add the package location to PYTHONPATH

export PYTHONPATH="/config/.local/lib/python3.10/site-packages:$PYTHONPATH”

But it seems there is a permission issue:

abc@linuxserver-code-server-1:/ONEDRIVE-PYTHON$ source /root/miniconda3/bin/activate test bash: /root/miniconda3/bin/activate: Permission denied

Where does this abc user come from? My user01 user should be used, gave those as params in the container, (based upon id).

Thanks for your input!

Expected Behavior

bash: conda: command not found

Added both paths to the profile via

export PATH="/root/miniconda3/bin:$PATH"

Add the package location to PYTHONPATH

export PYTHONPATH="/config/.local/lib/python3.10/site-packages:$PYTHONPATH”

But it seems there is a permission issue:

abc@linuxserver-code-server-1:/ONEDRIVE-PYTHON$ source /root/miniconda3/bin/activate test bash: /root/miniconda3/bin/activate: Permission denied

Where does this abc user come from? My user01 user should be used, gave those as params in the container, (based upon id).

Thanks for your input!

Steps To Reproduce

bash: conda: command not found

Added both paths to the profile via

export PATH="/root/miniconda3/bin:$PATH"

Add the package location to PYTHONPATH

export PYTHONPATH="/config/.local/lib/python3.10/site-packages:$PYTHONPATH”

But it seems there is a permission issue:

abc@linuxserver-code-server-1:/ONEDRIVE-PYTHON$ source /root/miniconda3/bin/activate test bash: /root/miniconda3/bin/activate: Permission denied

Where does this abc user come from? My user01 user should be used, gave those as params in the container, (based upon id).

Thanks for your input!

Environment

- OS:
- How docker service was installed: via https://registry.hub.docker.com/r/linuxserver/code-server/

CPU architecture

x86-64

Docker creation

https://registry.hub.docker.com/r/linuxserver/code-server/

Container logs

not relevant since no errors
github-actions[bot] commented 11 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

github-actions[bot] commented 11 months ago

A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue.

LinuxServer-CI commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 7 months ago

This issue is locked due to inactivity