Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import quarry.net.proxy could not be resolved #188

Open
Capyblapy opened this issue Dec 8, 2022 · 1 comment
Open

import quarry.net.proxy could not be resolved #188

Capyblapy opened this issue Dec 8, 2022 · 1 comment

Comments

@Capyblapy
Copy link

Capyblapy commented Dec 8, 2022

Im trying to have this in my python script:
from quarry.net.proxy import DownstreamFactory, Bridge
image
although my code editor (VSC) is telling me
"Import "quarry.net.proxy" could not be resolvedPylance[reportMissingImports]"
image
I have done pip install quarry and I have tried uninstalling and re-installing it and restarting my VSC and such and nothing has worked.

@Misjudgments
Copy link

@Capyblapy
not sure if you still need help with it, since you hasn't close the issue. but the issue is that you are trying to import a local python script to your own python script, "from quarry.net.proxy import ..." means from quarry folder, from net folder open the file proxy.py and import the methods...
to fix this error you can just put your python script into the main folder of the quarry project.
(p.s english is not my first language and i'm not an expert in python so please forgive me if i have mistakes of some sort.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants