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

Conversation

@tetsuyasu
Copy link

I added compatibility with Python3.
I confirmed that it works with Python3.

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

@tetsuyasu
Copy link
Author

I signed it!

@googlebot
Copy link

CLAs look good, thanks!

@yty
Copy link

yty commented Jun 20, 2025

I added compatibility with Python3. I confirmed that it works with Python3.

May I ask which version of Python 3 you are using?
I'm using version 3.5.6, and when I try to install the dependencies, I get the following error:

(E:\AnacondaFiles\Envs\AIDuet) E:\GithubFiles\googlecreativelab\aiexperiments-ai-duet\server>pip install -r requirements.txt
Exception:
Traceback (most recent call last):
  File "E:\AnacondaFiles\Envs\AIDuet\lib\site-packages\pip\_internal\basecommand.py", line 228, in main
    status = self.run(options, args)
  File "E:\AnacondaFiles\Envs\AIDuet\lib\site-packages\pip\_internal\commands\install.py", line 241, in run
    with self._build_session(options) as session:
  File "E:\AnacondaFiles\Envs\AIDuet\lib\site-packages\pip\_internal\basecommand.py", line 78, in _build_session
    if options.cache_dir else None
  File "E:\AnacondaFiles\Envs\AIDuet\lib\ntpath.py", line 113, in join
    genericpath._check_arg_types('join', path, *paths)
  File "E:\AnacondaFiles\Envs\AIDuet\lib\genericpath.py", line 143, in _check_arg_types
    (funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'int'
Traceback (most recent call last):
  File "E:\AnacondaFiles\Envs\AIDuet\Scripts\pip-script.py", line 10, in <module>
    sys.exit(main())
  File "E:\AnacondaFiles\Envs\AIDuet\lib\site-packages\pip\_internal\__init__.py", line 246, in main
    return command.main(cmd_args)
  File "E:\AnacondaFiles\Envs\AIDuet\lib\site-packages\pip\_internal\basecommand.py", line 264, in main
    timeout=min(5, options.timeout)) as session:
  File "E:\AnacondaFiles\Envs\AIDuet\lib\site-packages\pip\_internal\basecommand.py", line 78, in _build_session
    if options.cache_dir else None
  File "E:\AnacondaFiles\Envs\AIDuet\lib\ntpath.py", line 113, in join
    genericpath._check_arg_types('join', path, *paths)
  File "E:\AnacondaFiles\Envs\AIDuet\lib\genericpath.py", line 143, in _check_arg_types
    (funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'int'

@twobob
Copy link

twobob commented Jun 22, 2025

@yty seems obvious but - perhaps check "which pip"
or perhaps python -m pip install -r et cetera in case the pip is spurious - not obvious from that excerpt.
anyway its a total guess but I always do sanity check my pip fwiw - apologies if this sems mansplainy

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants