nghung270192 / colorama

Automatically exported from code.google.com/p/colorama
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can't install colorama with 64bit python 3.3 on windows 7 #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Try to install colorama on 64bit python 3.3 on windows 7

What is the expected output? What do you see instead?

The expected output is that it installs perfectly.

What version of the product are you using? On what operating system?
I am using colorama 0.2.4 with 64 bit python on windows 7

Please provide any additional information below.

Original issue reported on code.google.com by starbeam...@gmail.com on 9 Dec 2012 at 10:00

GoogleCodeExporter commented 9 years ago
Thanks for the report. when you say "can't install", what happens? Are you 
installing it using 'pip' or what? Does it display any text while attempting to 
install? Presumably you know it hasn't installed because you can't import it?

Original comment by tart...@gmail.com on 10 Dec 2012 at 11:01

GoogleCodeExporter commented 9 years ago
When I try to install it, the following appears:

C:\Program Files\Python 3>python.exe 
"C:\Users\someuser\Documents\Downloads\colorama
\setup.py" install
running install
running build
running build_py
error: package directory 'colorama' does not exist

Original comment by starbeam...@gmail.com on 12 Dec 2012 at 6:40

GoogleCodeExporter commented 9 years ago
I tested with the 32 and 64 Bit version of Python. Colorama can install but 
fail to work properly.

Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit 
(intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from colorama import init
>>> init ()
>>> from colorama import Fore, Back, Style
>>> print Fore.RED + 'some red text'
  File "<stdin>", line 1
    print Fore.RED + 'some red text'
             ^
SyntaxError: invalid syntax
>>>

Original comment by stuyck@gmail.com on 20 Feb 2013 at 12:36

GoogleCodeExporter commented 9 years ago
My bad, I had a syntax error.

print (Fore.RED + 'some red text')

Works perfect

Original comment by stuyck@gmail.com on 20 Feb 2013 at 12:49

GoogleCodeExporter commented 9 years ago
Thanks for chasing up, stuyck, much appreciated.

Original comment by tart...@gmail.com on 20 Feb 2013 at 1:30

GoogleCodeExporter commented 9 years ago
@starbeamrownbowlabs: What happens if you cd to the project directory before 
running "python setup.py install"?

Perhaps it's looking for the 'colorama' directory that is next to the 
'setup.py' file, but not finding it because you're in a different (i.e. wrong?) 
directory?

Thanks for any info.

Original comment by tart...@gmail.com on 20 Feb 2013 at 1:33

GoogleCodeExporter commented 9 years ago
Do you mean cd ing to the location of colorama when I run setup.py?

I think that I did that.

Original comment by starbeam...@gmail.com on 20 Feb 2013 at 6:03

GoogleCodeExporter commented 9 years ago
Hey. I only ask because the transcript of your command-line you posted above 
doesn't show that. But if you're saying that you did and it behaves just the 
same, then cool, I'll believe you.

Original comment by tart...@gmail.com on 20 Feb 2013 at 6:53

GoogleCodeExporter commented 9 years ago
@starbeamrownbowlabs :

check as well to run the setup.py from an Administrator mode command line 
prompt.

For Project Member :

Correct the Examples on this page https://pypi.python.org/pypi/colorama , to be 
compatible with python 3.3 (i.e. add parenthesis to the print)

Original comment by stuyck@gmail.com on 20 Feb 2013 at 6:59

GoogleCodeExporter commented 9 years ago
@stuyck: Thanks for the heads-up, will do.

Original comment by tart...@gmail.com on 20 Feb 2013 at 7:11

GoogleCodeExporter commented 9 years ago
@stuyck: I'm adding you to the credits/thanks paragraph. Let me know if you 
want me to use anything other than just 'stuyck'. Everyone else in there is a 
real name, but I'm not fussy.

Original comment by tart...@gmail.com on 20 Feb 2013 at 7:13

GoogleCodeExporter commented 9 years ago
You can put Julien Stuyck if you want :)

Original comment by stuyck@gmail.com on 20 Feb 2013 at 8:59

GoogleCodeExporter commented 9 years ago
@#7 Sorry, read the above and realised that I hadn't.

It works now - I am really not very experienced with this kind of thing :)

Original comment by starbeam...@gmail.com on 21 Feb 2013 at 7:01

GoogleCodeExporter commented 9 years ago
@starbeamrainbowlabs: You're doing great: We all overlook things. But you then 
responsibly reported the issue in the right place, had a polite conversation to 
figure out what's going on, and then helpfully reported back when it finally 
worked, rather than just mysteriously going dark. Exactly what makes the open 
source world go around. :-)

Closing as 'invalid'.

Original comment by tart...@gmail.com on 21 Feb 2013 at 12:45

GoogleCodeExporter commented 9 years ago
@#14 Thank you!

Original comment by starbeam...@gmail.com on 21 Feb 2013 at 6:08

GoogleCodeExporter commented 9 years ago
@#11 Thanks for the add !

Original comment by stuyck@gmail.com on 21 Feb 2013 at 6:11