When I was trying to setup plone as per the documentation : 8. Set up Plone for the Training – Mastering Plone 6 Development — Plone Training 2023 documentation
I am getting this error which says 'venv' is not recognized as an internal or external command when I run "make build"
PS C:\Users\---\Desktop\plone\training\backend> make build
"`tput setaf 2`==> Setup Virtual Env`tput sgr0`"
'venv' is not recognized as an internal or external command,
operable program or batch file.
make: *** [Makefile:30: bin/pip] Error 1
Things I have tried:
- checked the versions of make (version 4.4) and virtualenv
- manually activate the virtual env using venv\Scripts\activate
How should I solve this problem?
Assuming that you have Python 3 installed, even if it is obviously not the default Python, please change in
python3 -m venv venv
have you tried activating tour python virtual env? try changing to that directory and doing a source bin/activate
if that's not working then something's a miss with your environment me thinks.
Yes, I have done that.the problem I am getting after make build command, Its not cloning the repo via ssh
ok if you're having trouble with make then there's something amiss with your dev libraries. Are you using WSL? does it have build-essential installed? do you have any output from the build you can share? try using http://pastie.org and we can get a better idea what's going wrong