-
Notifications
You must be signed in to change notification settings - Fork 21
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
Question about pip package #7
Comments
What version of Python are you using? The namespace in Python is totally separate from the namespace in pip. Unfortunately I had written most of the code and pushed it to Github before I checked Pip only to find out that The packaging manager doesn't really have much say in how the imports work, however depending on your Python version and maybe IDE they may be identifying the package based on the directory name and not the contents of that directory. What do you get if you run: Presumably that won't work given your experience in VSCode, so maybe also try |
Sorry for not answering, I got really busy and didn't have much time lately.
So, when I was trying to run script with
And when I did just
Also just in case my
|
Hmm, well that definitely sounds like a problem with VSCode's code completion and not really anything to do with the library. Python searches site-packages for installed libraries, and we can see in your filename that it's properly named pydactyl there: So although the pip package is named I don't think there's anything wrong here, but let me know if you still have questions. |
Hello, I'm fairly new to Python and I think my question in really stupid but I hope you can help me. In README.md it is advised to install pydactyl package using
pip install py-dactyl
but in examples package referenced as 'pydactyl'. More to that, after installingpy-dactyl
, VSCode do not recognizepydactyl
module infrom ... import ...
line. I guess this is just my lack of Python knowledge but it is still confuses me.The text was updated successfully, but these errors were encountered: