Comments (7)
Thanks for the suggestions @alxmrs 😃
- I've tried both global installation and installation in an Anaconda env (weather-tools is showing up when I run
conda list
from the env). - I can't seem to see a
/bin
folder anywhere in/site-packages
(weather-tools related folders/files look the same in global installation and anaconda env installation) - I also came across those docs earlier and tried adding
.py
to the PATHEXT environment variable with no luck. Runningweather-dl.py .....
andpython weather-dl.py .....
was also unsuccessful.
I'm reluctant to spend more time on this but happy to be your guinea pig if Windows compatibility is a need/want on your end. Seeing as pytype is not compatible with Windows and recommends using WSL, I'm thinking of going down that route as an alternative.
Something that I'm conscious of is having no reference to weather-tools anywhere in my environment variables so maybe I just need to point my Path
in the right direction. I'll try a few things and get back to you here.
from weather-tools.
check this out
[https://stackoverflow.com/questions/44272416/how-to-add-a-folder-to-path-environment-variable-in-windows-10-with-screensho]link
from weather-tools.
Some more findings...
-
Bin
folders do not exist insite-packages
on Windows.Bin
folder contents are stored inScripts
See commit message / code -> pypa/virtualenv@993ba13 -
When looking in the
Scripts
folder, there areweather-dl
etc. files of typefile
, but they do not have an executable (attempted adding this file path toPath
with no luck.
-
Found similar issue, which was solved by updating
setup.py
to use console scripts entry points instead ofscripts
. Hoping this solves the issue!
from weather-tools.
I can see the following under c:\users\cillian\appdata\local\programs\python\python38\lib\site-packages (0.1.dev176+g7faf96c)
from weather-tools.
Thanks for catching this. Let's see if we can debug your installation. A couple of thoughts & questions:
- Is this a global install of weather-tools? What would happen if we installed it inside a virtual env or an Anaconda env?
weather-dl
should be in abin/
folder inside site-packages. See if you can locate it. Can you run that file directly? What are the permissions on that file? Is this directory in your path?- These docs indicate that the lack of a
.py
extension could be a problem on windows. Can you follow up with their recommendation to see if it helps? If this is the culprit, then I think the fix will be to add back the extension.
I hope these debugging starting points help.
from weather-tools.
I've explored using console scripts entry points, but preferred scripts
mainly to have our beam pipelines act as pip-installable CLIs. I think it's possible to update our setup.py to use console script entry points, but I want to warn you now: this will be tricker than is initially appears.
Cillian, are you planning on investigating (or currently implementing) this fix?
from weather-tools.
@alxmrs thanks! I plan on continuing investigating with this but haven't gotten around to it yet.
from weather-tools.
Related Issues (20)
- `gcloud alpha commands` used but not installed in enviroment
- ruff not used in CI pipeline
- Missing ruff checks
- Don't keep NULLs in the CSVs for feature collection
- Provide support to give time range while opening zarr HOT 1
- weather-mv rg gave data with offset by 180 degree longitude.
- weather-sp: Provide an option to append the filename with the splitted filename.
- weather-mv bq raster issue while reading ecmwf grib file HOT 2
- Find a way to exclude test data when building docker image. HOT 2
- All tools should make use of public runtime container image to manage dependencies
- weather-mv ee: Add a couple of time-metrics to asset attributes
- Deprecated Apache Beam Version Causing Error in weather-dl tool.
- Make use of secret-manager while using weather-dl for license keys. HOT 1
- Enhanced support in weather-dl for downloading data across month ranges spanning multiple years. HOT 1
- Add new functionality (--async) in weather-dl to terminate tool after dataflow job launched.
- Strengthen feature collection ingestion logic in weather-mv
- [CI/CD failing] Ruff version deprecated. HOT 2
- Add a feature in weather-mv to extract specific date's data from any files.
- Faster ingestion into BQ by converting the chunk into pd.Dataframe
- Pangeo Showcase talk on weather-tools/xql? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weather-tools.