Hello everyone,
I have been researching and investing in Bitcoin the last 3 years, but have more recently been interested in learning programming for Bitcoin. I recently bought Jimmy Song's book, Programming Bitcoin: Learn How to Program Bitcoin from Scratch.
I am working on installing all the necessary programs and environment to do the exercises for the book (as listed on pages xv and xvi in the preface). I copied and pasted the code as listed in the book and on the github website:
https://github.com/jimmysong/programmingbitcoinI was able to successfully complete steps 1-6 on my MacOs, but when I tried to do step 7, I got the following in my Terminal:
Andrews-MacBook-Air:~ andrew$ pip install virtualenv --user
Requirement already satisfied: virtualenv in ./Library/Python/3.6/lib/python/site-packages (20.14.1)
Requirement already satisfied: importlib-metadata>=0.12 in ./Library/Python/3.6/lib/python/site-packages (from virtualenv) (4.8.3)
Requirement already satisfied: filelock<4,>=3.2 in ./Library/Python/3.6/lib/python/site-packages (from virtualenv) (3.4.1)
Requirement already satisfied: distlib<1,>=0.3.1 in ./Library/Python/3.6/lib/python/site-packages (from virtualenv) (0.3.4)
Requirement already satisfied: importlib-resources>=1.0 in ./Library/Python/3.6/lib/python/site-packages (from virtualenv) (5.4.0)
Requirement already satisfied: platformdirs<3,>=2 in ./Library/Python/3.6/lib/python/site-packages (from virtualenv) (2.4.0)
Requirement already satisfied: six<2,>=1.9.0 in ./Library/Python/3.6/lib/python/site-packages (from virtualenv) (1.16.0)
Requirement already satisfied: typing-extensions>=3.6.4 in ./Library/Python/3.6/lib/python/site-packages (from importlib-metadata>=0.12->virtualenv) (4.1.1)
Requirement already satisfied: zipp>=0.5 in ./Library/Python/3.6/lib/python/site-packages (from importlib-metadata>=0.12->virtualenv) (3.6.0)
Andrews-MacBook-Air:~ andrew$ virtualenv -p python3 .venv
-bash: virtualenv: command not found
Andrews-MacBook-Air:~ andrew$
I don't know much about programming and would appreciate any feedback for troubleshooting with this so I can progress through the rest of the book. I searched on my web browser and youtube, but didn't find any troubleshooting advice specific to this problem.
I primarily need help with steps 7 and 8 for setting up my laptop to do the chapters and assignments. Any assistance is greatly appreciated.