Lesson 1 - cpiickle install

I’m starting lesson 1. The notebook crashes saying that it cannot import pickle from cPickle. I am getting an error when I try to install it though. What’s the next step?

(dlkeras) tensor@All-Series:~/Documents/dlkeras/courses-master/deeplearning1$ pip install cpickle
Collecting cpickle
  Using cached cpickle-0.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/tensor/anaconda3/envs/dlkeras/lib/python3.5/tokenize.py", line 454, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-8jnaac39/cpickle/setup.py'
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8jnaac39/cpickle/

mm, install worked for me okay on python 2. try updating pip: pip install --upgrade pip

1 Like

@borowis python 2, huh? I had just assumed it would be python >= 3.5

Can I verify that the course is written for:

  • Python=2
  • Keras=2
  • Tensorflow-gpu=1.0.1

Ok thanks. Python 2 has it included in the base installation.

Really, I don’t have any idea :slight_smile: I even used different AMI from Amazon called “Deep Learning AMI”, and it has software pre-installed. If you want I can run watermark, just tell me what packages you are interested in?

The course 1 was with Python 2.7 , Keras 1.x

1 Like