Comments (9)
The requests problem might be a dupe of this issue:
microsoft/vscode#199800
Meaning we don't know which kernel is selected.
The log should show that though.
from pylance-release.
sounds like our
tokenzier/parser
is not ignoring%
statement properly in ipython mode.for
requests
, it is complaining that you didn't installrequests
packages in theopenvino
env.
It seems to be that it doesn't detect my openvino environment correctly. I'm using a virtual python environment under conda.
from pylance-release.
sounds like our tokenzier/parser
is not ignoring %
statement properly in ipython mode.
for requests
, it is complaining that you didn't install requests
packages in the openvino
env.
from pylance-release.
sounds like our
tokenzier/parser
is not ignoring%
statement properly in ipython mode.for
requests
, it is complaining that you didn't installrequests
packages in theopenvino
env.
I have install requests and it can running success.
from pylance-release.
I have install requests and it can running success.
how about providing us a log to see what python paths (libraries) we got? if you are using latest pylance (104), then there should be Pylance: start logging/stop logging
command.
can you provide us the log produced by the command to us?
from pylance-release.
so, it probably is the dup of the bug Rich linked, then.
from pylance-release.
@heejaechang @rchiodo After reading your reply, it may have been caused by a kernel link error, so I tried switching the kernel multiple times and restarted VSCode and Windows 11. The error regarding import has disappeared now, it seems that the link is correct. But the first mistake still exists.
pyright-18848-KKlrxNNpgVLY.zip
from pylance-release.
I put %pip install -q "matplotlib>=3.4"
outside and it won't report any errors.
from pylance-release.
ya, first issue looks like this
sounds like our tokenzier/parser is not ignoring % statement properly in ipython mode.
looks like there is a bug around this - https://github.com/microsoft/pyright/blob/main/packages/pyright-internal/src/parser/tokenizer.ts#L450
from pylance-release.
Related Issues (20)
- issue HOT 1
- Pylance doesn't honor VSCode display language HOT 4
- Docs should include guidance on using Pylance on low power devices HOT 5
- `Files to analyze` count doesn't stack in multi-workspace scenarios HOT 1
- Copying and pasting code from function body messes up with indentation HOT 4
- This popped up on vscode HOT 1
- Pylance does not report @abstractmethod not being implemented HOT 3
- It would be much better DX if missing abstract methods show up in class definition HOT 2
- a subclass member variable is not recognized as the same variable in superclass unless it has an explicit type hint HOT 1
- Pylance has collapsed. Want to try using the Node.js executable to run the language server? HOT 9
- Multiple libraries not recognized with errors is not a known attribute of module HOT 6
- Type inference causing problems when is_dataclass() is tested in decorator HOT 4
- `Import could not be resolved` with `[tool.setuptools.package-dir]` HOT 15
- Pylance reports import Missing in inexistent file when git enabled HOT 21
- Pylance still report problems in excluded or ignored directories, even in a closed file HOT 8
- Report HOT 1
- Pylance 2024.5.1 and 2024.4.1 crashes regularly, reverting back to 2024.3.2 runs stable HOT 8
- ReportUnnecessaryComparison False Positive HOT 1
- Warnings for unbound variables? HOT 3
- Cell magics disable parsing of python code HOT 8
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 pylance-release.