Skip to content
New issue

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

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

Already on GitHub? # to your account

error in 'egg_base' option: 'src.tmp' does not exist or is not a directory #26

Closed
dpinol opened this issue Jun 10, 2022 · 3 comments
Closed

Comments

@dpinol
Copy link

dpinol commented Jun 10, 2022

https://github.com/VirtusLab/pandas-stubs suggests to install the new stubs with
pip install git+https://github.com/pandas-dev/pandas-stubs

But I get this error. thanks

pip install "git+https://github.com/pandas-dev/pandas-stubs"
Collecting git+https://github.com/pandas-dev/pandas-stubs
  Cloning https://github.com/pandas-dev/pandas-stubs to /tmp/pip-req-build-9xsaj4f8
  Running command git clone --filter=blob:none --quiet https://github.com/pandas-dev/pandas-stubs /tmp/pip-req-build-9xsaj4f8
  Resolved https://github.com/pandas-dev/pandas-stubs to commit 2eba4d4e512421927a4ba2e6d0ac7bbd4e934afe
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [4 lines of output]
      /tmp/pip-build-env-02ltw3m2/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
        warnings.warn(msg, warning_class)
      running egg_info
      error: error in 'egg_base' option: 'src.tmp' does not exist or is not a directory
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

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

@breno-jesus-fernandes
Copy link
Contributor

Looks like #25 fix this.

I tried it on my branch and works fine.
pip install "git+https://github.com/BrenoJesusFernandes/pandas-stubs.git@feature/poetry"

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Jun 11, 2022

Since with #25 we'll use poetry, and it seems to address this issue, let's wait until that is merged in, which should happen pretty soon.

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Jun 22, 2022

pip install git+https://github.com/pandas-dev/pandas-stubs now works since we have merged in #25

@Dr-Irv Dr-Irv closed this as completed Jun 22, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants