Skip to content

Not working with python 2 on wdmycloud(debian wheezy, sort of) #5

@retrosapien

Description

@retrosapien

using sources here and at http://www.csclub.uwaterloo.ca:11068/mymc/mymc-pysrc-2.6.zip

this is what i get when i try to run the python script in my terminal.(ssh using putty)
what command is it looking for?

included some info about my system in case it just isn't compatible.

I don't think python 3 can be installed.

$ python --version
Python 2.7.3

$ python -m platform
Linux-3.2.26-armv7l-with-debian-7.1

$ uname -a
Linux WDMyCloud 3.2.26 #1 SMP Thu Jul 9 11:14:15 PDT 2015 wd-2.4-rel armv7l GNU/Linux

$ dpkg --print-architecture
armhf

$ lscpu | grep Endian
Byte Order: Little Endian

$ ./mymc.py -h
./mymc.py: line 7: $'\r': command not found
./mymc.py: line 8: $'A utility for manipulating PS2 memory card images.\r': command not found
./mymc.py: line 9: $'\r': command not found
./mymc.py: line 10: _SCCS_ID: command not found
./mymc.py: line 11: $'\r': command not found
./mymc.py: line 12: import: command not found
./mymc.py: line 13: import: command not found
./mymc.py: line 14: import: command not found
./mymc.py: line 15: import: command not found
./mymc.py: line 16: import: command not found
./mymc.py: line 17: import: command not found
./mymc.py: line 18: import: command not found
from: can't read /var/mail/errno
./mymc.py: line 20: $'\r': command not found
./mymc.py: line 21: import: command not found
./mymc.py: line 22: import: command not found
from: can't read /var/mail/ps2mc_dir
from: can't read /var/mail/round
./mymc.py: line 25: import: command not found
./mymc.py: line 26: $'\r': command not found
./mymc.py: line 27: syntax error near unexpected token (' '/mymc.py: line 27: class subopt_error(Exception):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions