Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to install #6

Closed
RTanner18 opened this issue Nov 17, 2021 · 5 comments · Fixed by #7
Closed

Error when trying to install #6

RTanner18 opened this issue Nov 17, 2021 · 5 comments · Fixed by #7

Comments

@RTanner18
Copy link

Using pip 21.3.1 from /opt/homebrew/Cellar/pros-cli/3.2.2/libexec/lib/python3.9/site-packages/pip (python 3.9)
Processing /private/tmp/pros-cli--rfc6266-parser-20211117-5347-fj38d2/rfc6266-parser-0.0.6
  Preparing metadata (setup.py): started
  Running command python setup.py egg_info
  Warning: 'classifiers' should be a list, got type 'tuple'
  error in rfc6266-parser setup command: use_2to3 is invalid.
  Preparing metadata (setup.py): finished with status 'error'
WARNING: Discarding file:///private/tmp/pros-cli--rfc6266-parser-20211117-5347-fj38d2/rfc6266-parser-0.0.6. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
@FoRJu
Copy link

FoRJu commented Nov 19, 2021

I have faced the same issue. On two different mac platforms, 2020 MacBook Air with M1 and 2016 MacBookPro with intel processor.

After following instructions here:https://pros.cs.purdue.edu/v5/getting-started/macos.html
Did the following:

  1. brew tap osx-cross/arm && brew install arm-gcc-bin
  2. brew tap purduesigbots/pros
  3. brew install pros-cli

Got this message:

Using pip 21.3.1 from /usr/local/Cellar/pros-cli/3.2.2/libexec/lib/python3.9/site-packages/pip (python 3.9)
Processing /private/tmp/pros-cli--rfc6266-parser-20211119-13721-pqn3ka/rfc6266-parser-0.0.6
Preparing metadata (setup.py): started
Running command python setup.py egg_info
Warning: 'classifiers' should be a list, got type 'tuple'
error in rfc6266-parser setup command: use_2to3 is invalid.
Preparing metadata (setup.py): finished with status 'error'
WARNING: Discarding file:///private/tmp/pros-cli--rfc6266-parser-20211119-13721-pqn3ka/rfc6266-parser-0.0.6. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/purduesigbots/homebrew-pros/issues

@kunwarsahni01
Copy link
Member

This has been fixed and will be released soon purduesigbots/pros-cli#182.

@FoRJu
Copy link

FoRJu commented Nov 19, 2021

This has been fixed and will be released soon purduesigbots/pros-cli#182.

Thanks, kunwarsahni01. Do we know when it will be coming out? 3.2.2 is released in June.

If we are in a rush (always is during the season), would you recommend the alternative methods to instal pros-cli as below? I can only find the whl file for version 3.1.3.

Install the CLI
Install Python 3.6 or higher from the Python website.
Install the CLI by downloading the latest version of the Python Wheel file (.whl) from here. Once downloaded, run python3 -m pip install ~/Downloads/pros-cli-v5_3.X.X-py3-none-any.whl (replacing that path with the path to which you downloaded the file).

@kunwarsahni01
Copy link
Member

I'm working on the release process right now so should see the new version in the upcoming hours

@FoRJu
Copy link

FoRJu commented Nov 19, 2021

Thanks a lot, Kunwar. Appreciate! We will be excitingly waiting for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants