Comments (7)
Leaving open to discuss logging.
I have same problem #139 and cmd show following info:
Found lockfile
thread 'main' panicked at 'Can't find a valid version for charset-normalizer', src\dep_resolution.rs:396:40
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Because I don't familiar with Rust, fail to show trace about this problem after attempting RUST_BACKTRACE=1
(tested on Windows 10).
In conclusion, I think that we should add some flag (like -v
, -vv
, -vvv
, --debug
, --show-backtrace
or something else) to show backtrace and debug info. This can help user locate problem, and solve or report what they occurred.
from pyflow.
This certainly could be a bug; you're doing nothing wrong. Could you please post the [tool.pyflow.dependencies]
section of pyproject.toml
?
from pyflow.
I doubt its a toml issue (unless it is..) you can recreate with in blank dir with:
pyflow init
pyflow install black
I'll try it out later on win/linux without msys
from pyflow.
Great. Are you able to install other dependencies?
Top pri: Fixing this error.
Secondary: Adding verbose logging. A quick option would be to replace the red error messages with full panic
dumps. A more robust solution would be deliberately choosing what info to show at each failure point.
I'm leaning towards this being an error with the pydeps cache, but am curious why I can't reproduce.
from pyflow.
Third option I like more: Once we knock out the bugs and get things running smooth, I think there's a relatively small surface error of failure points; may be able to just make these errors very descriptive and suggest fixes - it no PCLOADLETTER
s, and no exposed panics
. use custom-written error messages (ie the red text that shows from util::abort
) vice expect
to the max extent.
from pyflow.
Apologies, it was package related, assumed it was any package because bad package was in pyproject.yml
all along, opened #16
from pyflow.
Leaving open to discuss logging.
from pyflow.
Related Issues (20)
- Can't import numpy c-extension on 3.9 HOT 2
- Failed to install: `manylinux_2_17_aarch64.manylinux2014_aarch64` HOT 1
- pyflow init and install error
- Support for editable installs
- propagate Exit Code
- error: invalid command 'bdist_wheel' HOT 1
- pyflow randomizes the order of pyflow.lock every time I run a script through it HOT 2
- stop using system Python to build wheels
- Can't find a compatible package for Req
- "Can't get version info"
- Installing ujson panics
- Maybe use indygreg/python-build-standalone for Python binaries?
- `Aborting graph creation: Problem getting dependency data` issue HOT 5
- establish a communique for users
- Update PEP 582 references
- Pyflow can't get dependency data, thus preventing much of its functionality
- __python__ in script not working
- Problem getting dependency data on init.
- Submit pyflow to Windows Package Manager
- Is this project still under development? 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 pyflow.