Open RandmTask opened 1 year ago
error in pprofile setup command: use_2to3 is invalid.
use_2to3
is (was) present in setup.py
to convert the syntax automatically from python2 to python3, allowing it to be installed on both version (and in the specific case of this module, the aim was to use the most efficient iteration methods, whose name changed between both language versions). This parameter was implemented by setuptools
, but they dropped support for it. As a result, I did this change, which is in a newer pprofile
version.
I think the most consistent direction which still complies with the constraints you are under would be to install a setuptools
version before 58. But I have no idea of the ramifications of such downgrade (Will miniconda be happy with it ? Are there other conflicting dependencies to newer setuptools
from other installed packages ?...). Maybe you can request the full list of versions, including all dependencies (including install-time dependencies, such as setuptools
), your university wants you to use ? Surely they must have one such setup somewhere and should be able to list all installed packages and their versions.
Yes,
They have provided this to set up the environment:
name: ml4t
channels:
- conda-forge
- defaults
dependencies:
- python=3.6
- cycler=0.10.0
- kiwisolver=1.1.0
- matplotlib=3.0.3
- numpy=1.16.3
- pandas=0.24.2
- pyparsing=2.4.0
- python-dateutil=2.8.0
- pytz=2019.1
- scipy=1.2.1
- seaborn=0.9.0
- six=1.12.0
- joblib=0.13.2
- pytest=5.0
- pytest-json=0.4.0
- future=0.17.1
- pprofile=2.0.2
- pip
- pip:
- jsons==0.8.8
- gradescope-utils
- subprocess32
Thank you for your detailed response.
I don't see setuptools in the above list, so I went ahead and downgraded it and was able to download profile=2.0.2!
Hopefully that doesn't introduce more problems than it solves!
Hi I can install the current version of pprofile just fine. I am trying to install v2.0.2 (for uni they are very specific about the version) and a few of us are having issues
I have an M1 MacBook Air and when trying to install a previous version of pprofile in miniconda I'm running into this error:
I can install the latest version just fine. Would appreciate any help resolving this issue!