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

pip install py-desume doesn't work on Windows #7

Open
Tobs40 opened this issue Dec 31, 2020 · 5 comments
Open

pip install py-desume doesn't work on Windows #7

Tobs40 opened this issue Dec 31, 2020 · 5 comments

Comments

@Tobs40
Copy link

Tobs40 commented Dec 31, 2020

Latest version of pip 20.3.3
Python 3.7.9
Windows 10

pip install py-desume, it says:
ERROR: Could not find a version that satisfies the requirement py-desmume
ERROR: No matching distribution found for py-desmume

@theCapypara
Copy link
Member

It only works on Windows for Python 3.8+ because I don't provide a wheel for Python 3.7. It should still work but would require you to compile it for yourself. Are you able to update?

@Tobs40
Copy link
Author

Tobs40 commented Jan 14, 2021

I'm working with Linux now, haven't tried it yet

@sunburn19
Copy link

Hi,
I'm also trying to install on:
Windows 7 (64 bit)
Python 3.7
pip 20.3.3

I can't seem to be able to compile it, and I get what seems to be a MsBuild error.
This is the whole output of me running "python setup.py install":

running install
running bdist_egg
running egg_info
writing py_desmume.egg-info\PKG-INFO
writing dependency_links to py_desmume.egg-info\dependency_links.txt
writing requirements to py_desmume.egg-info\requires.txt
writing top-level names to py_desmume.egg-info\top_level.txt
reading manifest file 'py_desmume.egg-info\SOURCES.txt'
writing manifest file 'py_desmume.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
running build_ext
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 3/2/2021 2:44:52 AM.
Project "C:\Users\user1\Desktop\project\python\py-desmume-master__build_desmume\desmume\src\frontend\interface\windows\DeSmuME_Interface.vcxproj" on node 1 (default targets).
C:\Users\user1\Desktop\project\python\py-desmume-master__build_desmume\desmume\src\frontend\interface\windows\DeSmuME_Interface.vcxproj(50,3): error MSB4019: The imported project "E:\Visual Studio\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
Done Building Project "C:\Users\user1\Desktop\project\python\py-desmume-master__build_desmume\desmume\src\frontend\interface\windows\DeSmuME_Interface.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\user1\Desktop\project\python\py-desmume-master__build_desmume\desmume\src\frontend\interface\windows\DeSmuME_Interface.vcxproj" (default target) (1) ->
C:\Users\user1\Desktop\project\python\py-desmume-master__build_desmume\desmume\src\frontend\interface\windows\DeSmuME_Interface.vcxproj(50,3): error MSB4019: The imported project "E:\Visual Studio\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.02
BUILDING WINDOWS - msbuild.exe
Could not compile the DeSmuME library.


@theCapypara
Copy link
Member

The current version of the fork doesn't work because of changes made to to DeSmuME. I need to have a look at it.

@Tobs40
Copy link
Author

Tobs40 commented Jun 7, 2021

I just tried pip install py-desmume with 3.9.5 on Windows 10 and it's installing :)
However when I use the following code on the Pokemon Soul Silver.nds file (I've tested three different ones) I can't get past the initial dialogue because the touchscreen is only working during the intro and after that (at least during the initial dialogue as far as I can tell) I can't use the arrow keys. I guess that's because of the changes made to DeSmuME.

EDIT: The buttons are clickable, the touchscreen is shifted I think, You need to click above or the very top of buttons. I'm not 100% sure that it's purely shifted though, the degree of shifting differs from button to button. Curiously the amount of shifting seems to be the same as the height of the top bar of the window, so maybe it's just some GUI issue?

EDIT2: Other buttons seem to work fine, maybe it's just the .nds?

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

3 participants