PyTox icon indicating copy to clipboard operation
PyTox copied to clipboard

install failed via pip

Open randoms opened this issue 9 years ago • 8 comments

pip install pytox failed on windows. details

cl : Command line error D8021 : invalid numeric argument '/Wno-declaration-after-statement'
error: command 'C:\\Users\\newne_000\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2

It seems you setted the wrong compile flag for the cl.

randoms avatar Aug 02 '15 01:08 randoms

@randoms I've got the same problem on Ubuntu

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Adman avatar Aug 25 '15 10:08 Adman

you can try pip install git+https://github.com/kitech/PyTox.git@newapi_tests.

quininer avatar Aug 25 '15 15:08 quininer

@quininer since this repository is broken, shouldn't be branch newapi_tests merged into this repo's master? cc @aitjcize

Adman avatar Aug 25 '15 15:08 Adman

@Adman just use newapi branch is fine, https://github.com/kitech/PyTox.git@newapi

kitech avatar Sep 20 '15 03:09 kitech

@kitech both examples are broken. After I send friend requests it accepts me and throws AttributeError

Accepted.
Traceback (most recent call last):
  File "phone.py", line 321, in <module>
    t.loop()
  File "phone.py", line 288, in loop
    self.iterate()
AttributeError: on_friend_connection_status

Adman avatar Sep 20 '15 10:09 Adman

try again please. should be fixed now.

kitech avatar Sep 25 '15 14:09 kitech

newapi has merge. but need change version and create a new pip package.

kitech avatar Sep 28 '15 14:09 kitech

@aitjcize could you bump the version and upload it to PyPI as @kitech suggests? I do not think anyone else has the rights to do that.

mrshu avatar Oct 02 '15 10:10 mrshu