Skip to content

Running into functools32 requirement error for requirements.txt on python3.4 #14

Closed

Description

@sangmeshcp

Heads up! Edited on October 24, 2018

This issue comes up on google searches when folks haven't installed the necessary packages to run Dash.
If you find yourself here, then please visit the official installation instructions here: https://dash.plot.ly/installation
Thank you 🙇

hi ,

I'm trying to install the requirements.txt and running into functools32 .. I see tox.ini for python3 and python2.7 .. So , I'm assuming it is suppose to work .. any issues here ??
OS : Mac
Python Version: python 3.4
Collecting functools32==3.2.3.post2 (from -r requirements.txt (line 14))
Using cached functools32-3.2.3-2.zip
Complete output from command python setup.py egg_info:
This backport is for Python 2.7 only.

Activity

  1. chriddyp commented on Jun 21, 2017

    @chriddyp
    Member

    thanks for reporting @sangmeshcp ! The requirements.txt file is just for developing on the package locally. Can you confirm that pip install plotly works on Python 3.4?

    Perhaps we should make the requirements.txt more explicit for each version: requirements-27.txt and requirements-3.txt?

  2. jackluo commented on Jun 21, 2017

    @jackluo
    Contributor
  3. chriddyp commented on Jun 21, 2017

    @chriddyp
    Member

    @jackwluo - Can you confirm that pip install plotly works on Python 3.4? The requirements.txt is only used (by me) for development for now, so the end-users shouldn't need to install this. I can update the file for the contributors though.

  4. stephen-hoover commented on Jun 21, 2017

    @stephen-hoover

    pip install plotly and pip install dash work under Python 3.6.0 (OS X)!

    You can use environment markers for requirements.txt to do conditional installations: https://www.python.org/dev/peps/pep-0508/#environment-markers .

  5. jackluo commented on Jun 21, 2017

    @jackluo
    Contributor

    @stephen-hoover yup, just tested that both pip installs on python 3.6 (and 3.4) are working. It seems like the only issue is for the requirements.txt file for contributors, I'll update a version for py 3.x

    PR here #18

  6. chriddyp commented on Jun 22, 2017

    @chriddyp
    Member

    Thanks folks!

  7. rmarren1 commented on Aug 1, 2018

    @rmarren1
    Contributor

    I just got this error too, might be useful to have requirement markers

  8. toddyc commented on Feb 17, 2020

    @toddyc

    ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'appdirs==1.4.3'
    PS C:\Users\Chidembot\Desktop\PROJECTS\TRACY\ITS_Smart\smart-tutor-master> pip install -r requirements.txt
    Collecting appdirs==1.4.3
    Using cached appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
    Collecting certifi==2017.1.23
    Using cached certifi-2017.1.23-py2.py3-none-any.whl (382 kB)
    Collecting functools32==3.2.3.post2
    Using cached functools32-3.2.3-2.tar.gz (31 kB)
    ERROR: Command errored out with exit status 1:
    command: 'C:\Users\Chidembot\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\CHIDEM1\AppData\Local\Temp\pip-install-zb6z6oby\functools32\setup.py'"'"'; file='"'"'C:\Users\CHIDEM1\AppData\Local\Temp\pip-install-zb6z6oby\functools32\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\CHIDEM1\AppData\Local\Temp\pip-install-zb6z6oby\functools32\pip-egg-info'
    cwd: C:\Users\CHIDEM
    1\AppData\Local\Temp\pip-install-zb6z6oby\functools32
    Complete output (1 lines):
    This backport is for Python 2.7 only.
    ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

  9. toddyc commented on Feb 17, 2020

    @toddyc

    ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'appdirs==1.4.3'
    PS C:\Users\Chidembot\Desktop\PROJECTS\TRACY\ITS_Smart\smart-tutor-master> pip install -r requirements.txt
    Collecting appdirs==1.4.3
    Using cached appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
    Collecting certifi==2017.1.23
    Using cached certifi-2017.1.23-py2.py3-none-any.whl (382 kB)
    Collecting functools32==3.2.3.post2
    Using cached functools32-3.2.3-2.tar.gz (31 kB)
    ERROR: Command errored out with exit status 1:
    command: 'C:\Users\Chidembot\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\CHIDEM1\AppData\Local\Temp\pip-install-zb6z6oby\functools32\setup.py'"'"'; file='"'"'C:\Users\CHIDEM1\AppData\Local\Temp\pip-install-zb6z6oby\functools32\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\CHIDEM1\AppData\Local\Temp\pip-install-zb6z6oby\functools32\pip-egg-info' cwd: C:\Users\CHIDEM1\AppData\Local\Temp\pip-install-zb6z6oby\functools32
    Complete output (1 lines):
    This backport is for Python 2.7 only.

    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

    Getting this error on trying to pip install requirements.txt. Any workaround?

  10. added a commit that references this issue on Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions