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

future-0.18.3 python37/39/312 install failed #630

Open
xingyun86 opened this issue Nov 24, 2023 · 1 comment
Open

future-0.18.3 python37/39/312 install failed #630

xingyun86 opened this issue Nov 24, 2023 · 1 comment

Comments

@xingyun86
Copy link

xingyun86 commented Nov 24, 2023

future-0.18.3 python37/39/312 install failed

  Using cached http://mirrors.aliyun.com/pypi/packages/8f/2e/cf6accf7415237d6faeeebdc7832023c90e0282aa16fd3263db0eb4715ec/future-0.18.3.tar.gz (840 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\yfpps\AppData\Local\Temp\pip-install-n7thd398\future_9de4fec0af234f9ca6302e0f1d7c0664\setup.py", line 86, in <module>
          import src.future
      ModuleNotFoundError: No module named 'src'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Resolution:

add code in setup.py.

import sys
+ sys.path.append('')
@smrrazavian
Copy link

I have a same issue here for 0.18.3 version.
my python version is 3.18.2.

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

No branches or pull requests

2 participants