Virtual env: no such file or directory

Hello,
I am Jacob, nice to meet you all and thanks for your work.
I am attending the Python3 for Robotics course but I am stuck at the beginning since when I try to create the virtual environment as reported in the course, the following error is returned:

Could you please help me on this? I cannot figure it out.

Thanks a lot!!

2 Likes

Exact same problem, looks like the link is broken due to a missing folder (catkin_ws_python3 folder is missing). Tried installing updates and virtualenv but it didn’t solved the problem.

source ~/.py3venv/bin/activate
this is the command provided in the instructions, but in forum the updated command is:
source ~/.catkin_ws_python3/bin/activate

updated one also have same problem

Also tried instruction from this thread:

@ralves sir, please look into this

Hello everyone,

Same problem also in the Python 3 for Robotics course.

@potto95 @Robots4Space_Bapt
After learning about virtual environments in python, I was able to create the missing virtual environment using the following sequence of commands:

sudo apt-get update
sudo apt-get install virtualenv
sudo mkdir -p /usr/local/share/venvs
sudo python -m virtualenv py3venv

Then run the command given in the instruction, this should works (worked for me)

source ~/.py3venv/bin/activate

1 Like

Hi @potto95, @irfan.mohd1503, @Robots4Space_Bapt,

I have been investigating and found that the problem is that the notebooks were updated to the wrong version.

I just reverted the notebook changes. Now they should work, not referring to the virtualenvs.

Thank you very much for letting us know about this issue and sorry for the inconvenience we may have caused.

Keep pushing your ROS Learning.

2 Likes