python Virtual Environments Error: ‘list’ object has no attribute ‘read’

  python, pyvenv, virtualenv

I’m following this tutorial for create a venv in python (for a flask’s project on windows):
https://docs.python.org/3/tutorial/venv.html

When i execute the following command:

python3 -m venv tutorial-env

the following error is generated:

Error: 'list' object has no attribute 'read'

I don’t understand what the cause is, can you help me?

Source: Python Questions

LEAVE A COMMENT