Pfeature icon indicating copy to clipboard operation
Pfeature copied to clipboard

installation and import issue

Open GhsJahanmir opened this issue 1 year ago • 2 comments

Hi,

I faced two different errors when trying to import pfeature in both anaconda prompt and jupyter notebook on Windows.

1-Error on jupyter

ModuleNotFoundError: No module named 'Pfeature'

2- Error in anaconda prompt:

from Pfeature.pfeature import aac_wp Traceback (most recent call last): File "", line 1, in File "C:\Users\myusername\Anaconda3\lib\site-packages\Pfeature\pfeature.py", line 31, in PCP= pd.read_csv(paths_2+'./PhysicoChemical.csv', header=None) File "C:\Users\myusername\Anaconda3\lib\site-packages\pandas\io\parsers\readers.py", line 912, in read_csv return _read(filepath_or_buffer, kwds) File "C:\Users\myusername\Anaconda3\lib\site-packages\pandas\io\parsers\readers.py", line 577, in _read parser = TextFileReader(filepath_or_buffer, **kwds) File "C:\Users\myusername\Anaconda3\lib\site-packages\pandas\io\parsers\readers.py", line 1407, in init self._engine = self._make_engine(f, self.engine) File "C:\Users\myusername\Anaconda3\lib\site-packages\pandas\io\parsers\readers.py", line 1661, in _make_engine self.handles = get_handle( File "C:\Users\myusername\Anaconda3\lib\site-packages\pandas\io\common.py", line 859, in get_handle handle = open( FileNotFoundError: [Errno 2] No such file or directory: '/PhysicoChemical.csv'

has anyone faced the same issue or any suggestions? Thanks in advance,

GhsJahanmir avatar May 04 '23 09:05 GhsJahanmir