Closed ping-doctor closed 5 years ago
What are the errors that you see? Could you please copy them here?
First I run ”pip list“ to determine that AFQ-Browser was installed. C:\Users\Lenovo>pip list Package Version
AFQ-Browser 0.2.4 certifi 2019.3.9 chardet 3.0.4 Deprecated 1.2.5 gitdb2 2.0.5 GitPython 2.1.11 idna 2.8 numpy 1.16.3 pandas 0.24.2 pip 19.1 PyGithub 1.43.7 PyJWT 1.7.1 python-dateutil 2.8.0 pytz 2019.1 requests 2.21.0 scipy 1.2.1 setuptools 40.8.0 six 1.12.0 smmap2 2.0.5 urllib3 1.24.2 wrapt 1.11.1 Then when I run : ”afqbrowser-assemble /F:\StudyData\AFQ_data/afq.mat“ in ”windows10 cmd“. As follows: C:\Users\Lenovo>afqbrowser-assemble /F:\StudyData\AFQ_data/afq.mat 'afqbrowser-assemble' is not an internal or external command, nor a runnable program or batch file. So I tried to add the path of "afqbrowser-assemble" (”E:\Python_software\Python37\Scripts“)in the global environment variable and this error still occurs multiple times.
I also tried to run "afqbrowser-assemble" with PyCharm, as follows:
E:\Python_software\Anaconda\python.exe E:/Python_software/Anaconda/Scripts/afqbrowser-assemble
Traceback (most recent call last):
File "E:\Python_software\Anaconda\lib\site-packages\numpy\core__init__.py", line 16, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:/Python_software/Anaconda/Scripts/afqbrowser-assemble", line 4, in git clean -xdf
(removes all
files not under version control). Otherwise reinstall numpy.
Original error was: DLL load failed: The specified module could not be found。
I have solved it.
How did you solve this? Thanks!
On Mon, Apr 29, 2019 at 9:59 AM ping-doctor notifications@github.com wrote:
Closed #277 https://github.com/yeatmanlab/AFQ-Browser/issues/277.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/yeatmanlab/AFQ-Browser/issues/277#event-2307312767, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA46NXRZBUGSM4PDWKWTYLPS4SPVANCNFSM4HJBR4NQ .
I didn't install GIT before; first I successfully installed GIT. Then then started python in ”windows10 cmd“,imported afqbrowser module,run run afqbrowser.assemble and afqbrowser.run. As follows:
C:\Users\Lenovo>python Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
import afqbrowser afqbrowser.assemble(r"F:\StudyData\AFQ_data\afq.mat",target=r"F:\StudyData\AFQ_data") Page title [AFQ Browser]: Page subtitle [None]: Title hyperlink (including http(s)://) [None]: Subtitle hyperlink (including http(s)://) [None]: afqbrowser.run(target=r"F:\StudyData\AFQ_data",port=8080)
Great. Thank you!
AFQ-Browser is successfully installed under windows10 system with "pip install AFQ-Browser". And ”afq.mat“ was downloaded from "https://yeatmanlab.github.io/AFQ-Browser/usage_guide.html" and was save to "F:\StudyData\AFQ_data". Then when I run : ”afqbrowser-assemble /F:\StudyData\AFQ_data/afq.mat“ in ”windows10 cmd“, some errors appear. How to use correctly under windows system?