Errors when trying to contribute new extras feature
See original GitHub issueDescription
Hi! I am trying to create new extras feature by following these steps. However I am encountering the following issues and I wonder if any them is going to stop me from correctly contributing a feature. In the docs it is specified that these commands need to run successfully. If they are going to be an issue, does anyone know how I could solve them? Thanks
Steps to Reproduce
- Created new python 3.8 (also tried 3.7) virtual environment in anaconda.
- Forked and cloned kedro repository
- Ran: “make install-test-requirements”
- Got first error message
- Manually installed geopandas through “conda install geopandas”. Based on this answer.
- Reran “make install-test-requirements”
- Got second error message
- Nonetheless ran: “make install-pre-commit”
- Got 3rd error message
- Nonetheless ran “make test-no-spark”
- Got the third error message
- Nonetheless ran “make build-docs”
- Got the fourth error message
Actual Result
After step 3 I got the following message
ERROR: Command errored out with exit status 1:
command: 'C:\Users\lucas\anaconda3\envs\kedro-37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\lucas\\AppData\\Local\\Temp\\pip-install-ury96kq4\\fiona\\setup.py'"'"'; __file__='"'"'C:\\Users\\lucas\\AppData\\Local\\Temp\\pip-install-ury96kq4\\fiona\\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\lucas\AppData\Local\Temp\pip-pip-egg-info-lmd0rg07'
cwd: C:\Users\lucas\AppData\Local\Temp\pip-install-ury96kq4\fiona\
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Which seems to have been solved with step 5. However, after running step 6, I get the following dependency issues:
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
adlfs 0.2.5 requires fsspec<0.6.3,>=0.6.0, but you'll have fsspec 0.6.3 which is incompatible.
docker 4.3.1 requires pywin32==227; sys_platform == "win32", but you'll have pywin32 228 which is incompatible.
tensorflow 2.3.1 requires numpy<1.19.0,>=1.16.0, but you'll have numpy 1.19.2 which is incompatible.
trufflehog 2.1.11 requires GitPython==3.0.6, but you'll have gitpython 3.1.11 which is incompatible.
After step 8 I get:
An unexpected error has occurred: CalledProcessError: command: ('c:\\users\\lucas\\anaconda3\\envs\\kedro-37\\python.exe', '-mvirtualenv', 'C:\\home\\lucas\\.cache\\pre-commit\\repoo06rby0h\\py_env-python3.7', '-p', 'c:\\users\\lucas\\anaconda3\\envs\\kedro-37\\python.exe')
return code: 1
expected return code: 0
stdout:
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\users\\lucas\\anaconda3\\envs\\kedro-37\\Lib\\venv\\scripts\\nt\\python.exe'
stderr: (none)
Check the log at C:\home\lucas/.cache\pre-commit\pre-commit.log
make: *** [Makefile:51: install-pre-commit] Error 1
After step 10 I get:
ERROR tests/extras/datasets/tensorflow/test_tensorflow_model_dataset.py::TestTensorFlowModelDatasetVersioned::test_version_str_repr[None-None-None-None-None]
FAILED tests/tools/ipython/test_ipython_loader.py::TestIpythonStartupDir::test_locate_no_project - AssertionError: as...
After step 12 I get:
./docs/build-docs.sh
make: ./docs/build-docs.sh: Command not found
make: *** [Makefile:39: build-docs] Error 127
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
- Conda version used: conda 4.9.0
- Python version used: Python 3.7.9 but also 3.8
- Operating system and version: Windows 10 Pro
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
How to Add Extra Information to Errors in Go - DigitalOcean
In Go 1.13, new features were added to make it easier to add extra information to errors: fmt.Errorf, errors.Is , and errors.
Read more >Fix error messages with Uploaded ads - Google Ads Help
When uploading creatives in Google Ads, you may receive an error message. In most situations, the problem can be fixed by altering your...
Read more >5 Surprising and Sneaky Ways Errors Impact Your Business
If these errors are fixed when the feature is first created, there will be fewer problems to deal with down the road for...
Read more >Understanding Common Errors In Java - Mimir Classroom
Common errors that students encounter when programming in Java and tips on how to resolve them.
Read more >Preventing User Errors: Avoiding Unconscious Slips
One solution is to let users type in a way that's natural to them, rather than forcing them to use the format that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You can use Circle CI configuration as a guidance for how to set up Windows environment.
@lucasjamar Do you have any problems with the Windows env setup? If no, could you please close the issue?