Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning Encountered During pip install cmind on Ubuntu via WSL #1232

Closed
sahilavaran opened this issue Apr 27, 2024 · 4 comments
Closed

Warning Encountered During pip install cmind on Ubuntu via WSL #1232

sahilavaran opened this issue Apr 27, 2024 · 4 comments

Comments

@sahilavaran
Copy link

Hi [Repository/Project Team],

I encountered a warning while installing a Python package using pip install cmind on Ubuntu through Windows Subsystem for Linux (WSL). The solution was to update the PATH variable to resolve the issue. I've attached an image that captures the warning message for your reference.

Could you help me understand why this might have occurred and suggest any best practices for maintaining the correct environment variables? Any insights you provide would be greatly appreciated.

Thank you for your assistance.

Best regards,
sahil
IMG-20240426-WA0021

@gfursin
Copy link
Contributor

gfursin commented Apr 27, 2024

Hi @sahilavaran .

Normally, when you install some python package (not only CM) that uses binaries as a command line, they are created in $HOME/.local/bin . In such case, pip should update your .profile file and add $HOME/.local/bin to your PATH there.

Can you please log out from WSL and log in again? You should normally be able to use CM ...

Can you please also check your .profile file and see if you have $HOME/.local/bin path there?

I use UBUNTU via WSL and have the following lines in my profile (automatically added):

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
    PATH="$HOME/.local/bin:$PATH"
fi

@sahilavaran
Copy link
Author

Hi @gfursin

Sure, I'll log out and back into WSL and check if the .profile file has $HOME/.local/bin in the PATH.

@gfursin
Copy link
Contributor

gfursin commented Apr 28, 2024

Cool! We documented it here but it is in the middle of README and may not be visible to users. Do you think there should be a better way to warn users about this feature?

@gfursin gfursin self-assigned this Apr 28, 2024
@gfursin gfursin removed their assignment Jun 3, 2024
@arjunsuresh
Copy link
Contributor

Closing this for now. Please reopen if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants