Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Commit c4b095a

Browse files
committed
fix raw_input function renamed in python 3
1 parent 568bdea commit c4b095a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

paperspace/login.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import sys
55

66
import requests
7+
from six.moves import input
78

89
from . import config
910
from .method import *
@@ -38,7 +39,7 @@ def login(email=None, password=None, apiToken=None):
3839
config_data = json.load(open(config_path))
3940

4041
if not email:
41-
email = raw_input('Email: ')
42+
email = input('Email: ')
4243
if not password:
4344
password = getpass.getpass('Password: ')
4445

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
],
2929
keywords='paperspace api development library',
3030
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
31-
install_requires=['requests[security]', 'boto3', 'botocore'],
31+
install_requires=['requests[security]', 'boto3', 'botocore', 'six'],
3232
)

0 commit comments

Comments
 (0)