Reputation: 396
I try to learn how to create a Python library. But I have a problem with activating a virtual environment. To be more specific: I was told to do this:
code from Realpython: virtual environment .. I opened my console:
![image|510x490](upload://zqb3BdSuq5XipqvbPHZMJND0r3r.png)
and paste the mentioned code:
$ python -m venv env && source ./env/bin/activate
$ python -m pip install -U pip wheel setuptools
Successfully installed pip 20.1 setuptools-46.1.3 wheel-0.34.2
But It was rejected (and I couldn't find on the internet why is that - probably the solution is simple, but I don't even know how to post a proper question to find it):
![image|690x359](upload://oKNbP6ohfVekQpN4wa5NoyKZkrd.png)
I tried to pate this code without dollar sing but it won't work too, also replacing $
with !
won't work.
![image|644x255](upload://rrod0WdZiO64nQAblPebOittice.png)
I don't know why it doesn't work and what version of this code should I use.
can you help me?
Upvotes: 0
Views: 163