When I run the pip and jupyter notebook command in base environment everything works fine. But when I activate env using source activate fyp then try pip and jupyter notebook the following error is happening. I am on Macbook M1

screenshot of terminal

Tried the following solution from https://github.com/pypa/virtualenv/issues/2023

cd venv/bin
mkdir bk; cp python bk; mv -f bk/python .;rmdir bk
codesign -s - --preserve-metadata=identifier,entitlements,flags,runtime -f python```

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.