Description
Installation check
-
I have read the installation guide.
-
I have read the creating a development environment guide
Platform
Windows-10-10.0.22000-SP0
Installation Method
Built from source
pandas Version
Updated master version
Python Version
conda 4.11.0, python - 3.9.7
Installation Logs
Pip subprocess error:
The system cannot find the path specified.
The system cannot find the path specified.
Running command git clone --filter=blob:none -q https://github.com/pydata/pydata-sphinx-theme.git 'C:\Users\prith\AppData\Local\Temp\pip-req-build-2p3sh5ga'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\prith\anaconda3\envs\pandas-dev-test\python.exe' 'C:\Users\prith\anaconda3\envs\pandas-dev-test\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' build_wheel 'C:\Users\prith\AppData\Local\Temp\tmp3qno97ki'
cwd: C:\Users\prith\AppData\Local\Temp\pip-req-build-2p3sh5ga
Complete output (16 lines):
[stb] # nodeenv does not exist.
[stb] # Generating new nodeenv with NodeJS 14.18.1!
[stb] # Could not find a node
executable.
[stb] $ python -m nodeenv --node=14.18.1
C:\Users\prith\AppData\Local\Temp\pip-req-build-2p3sh5ga.nodeenv
- Install prebuilt node (14.18.1) ..... done.
symbolic link created for C:\Users\prith\AppData\Local\Temp\pip-req-build-2p3sh5ga.nodeenv\Scripts\nodejs.exe <<===>> node.exe
[stb] (nodeenv) $ node --version
error: nodeenv-unhealthy-file-not-found
× The nodeenv
for this project is unhealthy.
╰─> None
hint: Deleting the .nodeenv directory and trying again may work.
Link: https://sphinx-theme-builder.rtfd.io/errors/#nodeenv-unhealthy-file-not-found
ERROR: Failed building wheel for pydata-sphinx-theme
ERROR: Could not build wheels for pydata-sphinx-theme, which is required to install pyproject.toml-based projects
failed
CondaEnvException: Pip failed
I am following the instructions to build environment from https://pandas.pydata.org/docs/development/contributing_environment.html
I'm creating a build environment with
conda env create -f environment.yml
line 123 in environment.yml
- pip:
- git+https://github.com/pydata/pydata-sphinx-theme.git@master
From what I can tell, this seems to be with the latest version of pydata-sphinx-theme@master. I created an environment in conda using earlier versions of pydata-sphinx-them. It works fine till 23rd Nov 2021 commit with
pydata/pydata-sphinx-theme@41764f5
as well as
pydata/pydata-sphinx-theme@56d5621
After which it seems to fail with the above mentioned error.
The issue starts from pydata/pydata-sphinx-theme@579d7ce
Can somebody else confirm this? Maybe modifying the environment.yml file to an earlier commit of pydata-sphinx-theme?
Update: I've used
- git+https://github.com/pydata/pydata-sphinx-theme.git@41764f5
to create the conda environment and built pandas-dev but cannot create environment with - git+https://github.com/pydata/pydata-sphinx-theme.git@master
>>> import pandas
>>> pandas.__version__
'1.4.0.dev0+1520.gaf76bd5476'