0

I have some issue about create python venv.

Is there any way to make fresh venv without using Docker.

I already try pip uninstall -r requirements.txt -y but result I got back is

Not uninstalling rospy at /opt/ros/noetic/lib/python3/dist-packages, outside environment /home/micls/PECOM/rpi-playground/.venv 
Can't uninstall 'rospy'. No files were found to uninstall.

Or using virtualenv --no-site-packages .venv and result I got

virtualenv: error: unrecognized arguments: --no-site-packages
SystemExit: 2
2
  • 2
    Why not just rm -rf .venv and then python -m venv .venv ? Commented Mar 1, 2022 at 10:10
  • @md2perpe I already do that but it still clone back my local package Commented Mar 3, 2022 at 6:43

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.